11 lines
670 B
Python
11 lines
670 B
Python
|
|
|
|
class SystemSettings:
|
|
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
|
|
self.dataDir = dataDir
|
|
self.multiZoneIrrigation = multiZoneIrrigation
|
|
self.defaultAutoIrrigationDuration = defaultAutoIrrigationDuration
|
|
self.defaultManualIrrigationDuration = defaultManualIrrigationDuration
|
|
self.defaultManualOffDuration = defaultManualOffDuration
|
|
self.webDurationOptions = webDurationOptions |