- refactored
- created TempSensorFactory
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
from components.sensor.tempSensorSim import TempSensorSim
|
||||
|
||||
|
||||
class TempSensorFactory:
|
||||
@staticmethod
|
||||
def create(name):
|
||||
if "sim" in name:
|
||||
return TempSensorSim()
|
||||
Reference in New Issue
Block a user