9 lines
165 B
Python
9 lines
165 B
Python
from components.sensor.tempSensorSim import TempSensorSim
|
|
|
|
|
|
class TempSensorFactory:
|
|
@staticmethod
|
|
def create(name):
|
|
if "sim" in name:
|
|
return TempSensorSim()
|