10 lines
601 B
Python
10 lines
601 B
Python
|
|
|
|
class SystemSettings:
|
|
def __init__(self, dataDir="/Data", multiZoneIrrigation=False, defaultAutoIrrigationDuration=10, defaultManualIrrigationDuration=10, defaultManualOffDuration=10, webDurationOptions=[5, 10, 15, 20, 25, 30, 45, 60]):
|
|
self.dataDir = dataDir
|
|
self.multiZoneIrrigation = multiZoneIrrigation
|
|
self.defaultAutoIrrigationDuration = defaultAutoIrrigationDuration
|
|
self.defaultManualIrrigationDuration = defaultManualIrrigationDuration
|
|
self.defaultManualOffDuration = defaultManualOffDuration
|
|
self.webDurationOptions = webDurationOptions |