Bewaesserungsanlage/SystemSettings.py

11 lines
670 B
Python
Raw Permalink Normal View History

2022-08-15 23:58:07 +02:00
class SystemSettings:
2022-08-25 15:37:54 +02:00
def __init__(self, cronJobFrequency=2, dataDir="/Data", multiZoneIrrigation=False, defaultAutoIrrigationDuration=10, defaultManualIrrigationDuration=10, defaultManualOffDuration=10, webDurationOptions=[5, 10, 15, 20, 25, 30, 45, 60]):
self.cronJobFrequency = cronJobFrequency
2022-08-15 23:58:07 +02:00
self.dataDir = dataDir
2022-08-16 03:13:10 +02:00
self.multiZoneIrrigation = multiZoneIrrigation
self.defaultAutoIrrigationDuration = defaultAutoIrrigationDuration
self.defaultManualIrrigationDuration = defaultManualIrrigationDuration
self.defaultManualOffDuration = defaultManualOffDuration
self.webDurationOptions = webDurationOptions