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' ]
def __init__(self): TaskBase.__init__(self, 'Screen')
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"))
def __init__(self): TaskBase.__init__(self, 'Static IP') self.db = WorkshopDb() self.static_ip_start = int(self.db.get_config_item('base_ip'))
def __init__(self): TaskBase.__init__(self, 'Connect') self.db = WorkshopDb()