Bewaesserungsanlage/FileIO/__init__.py

13 lines
402 B
Python
Raw Normal View History

2022-08-15 01:10:34 +02:00
from Zone import Zone
2022-08-15 23:58:07 +02:00
class FileIO:
def __init__(self, systemSettings):
self.systemSettings = systemSettings
2022-08-15 01:10:34 +02:00
2022-08-15 23:58:07 +02:00
def loadZones(self):
zones = []
for i in range(12):
zones.append(Zone(number=i+1, name="Zone " + str(i+1), actualHumidity=100, desiredHumidity=0, autoMode=False, state=False, setState=0, endTimeSetState=0, planedDuration=0))
return zones