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):
|
2022-08-17 02:41:49 +02:00
|
|
|
zones.append(Zone(number=i+1, name="Zone " + str(i+1), actualHumidity=50, desiredHumidity=70, autoMode=True, state=False, setState=0, endTimeSetState=0, planedDuration=0))
|
2022-08-15 23:58:07 +02:00
|
|
|
return zones
|