Exemple #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'
     ]
Exemple #2
0
 def __init__(self):
     TaskBase.__init__(self, 'Screen')
Exemple #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"))
Exemple #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'))
Exemple #5
0
 def __init__(self):
     TaskBase.__init__(self, 'Connect')
     self.db = WorkshopDb()