Example #1
0
 def __init__(self):
     TaskBase.__init__(self, 'Light Control')
     self.db = WorkshopDb()
     self.subnet = self.db.get_config_item("subnet_ip")
     self.static_ip_start = int(self.db.get_config_item("base_ip"))
     self.response_keys = [
         'name', 'number', 'temperature', 'time', 'lights'
     ]
Example #2
0
 def __init__(self):
     TaskBase.__init__(self, 'Screen')
Example #3
0
 def __init__(self):
     TaskBase.__init__(self, 'Web Server')
     self.db = WorkshopDb()
     self.subnet = self.db.get_config_item("subnet_ip")
     self.static_ip_start = int(self.db.get_config_item("base_ip"))
Example #4
0
 def __init__(self):
     TaskBase.__init__(self, 'Static IP')
     self.db = WorkshopDb()
     self.static_ip_start = int(self.db.get_config_item('base_ip'))
Example #5
0
 def __init__(self):
     TaskBase.__init__(self, 'Connect')
     self.db = WorkshopDb()