Exemplo n.º 1
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._is_closed = {}
     self._is_enabled = {}
     self._callbacks = {}
     self._led_state = {}
Exemplo n.º 2
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._cur = None
     self._min = None
     self._max = None
     self._callbacks = []
Exemplo n.º 3
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address, controller)
     self._is_closed = {}
     self._is_enabled = {}
     self._pulses = {}
     self._counter = {}
     self._delay = {}
     self._is_counter = []
     self._unit = {}
     self._counter_unit = {}
     self._callbacks = {}
Exemplo n.º 4
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._is_closed = {}
     self._is_enabled = {}
     self._led_state = {}
     self._cur = None
     self._min = None
     self._max = None
     self._callbacks = {}
     self._controllable_channels = 8
     self._temperature_channel = 33
Exemplo n.º 5
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._callbacks = {}
     self._class = {}
     self._units = {}
     self._cur = {}
     self._cur["light"] = -1
     self._availablechannels = ["light"]
     #        if "light" not in self._cur:
     #            self._cur["light"] = -1
     self._class["light"] = "light"
     self._units["light"] = "N/A"
Exemplo n.º 6
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._dimmer_state = {}
     self._callbacks = {}
Exemplo n.º 7
0
 def __init__(self, module_type, module_name, module_address, controller):
     Module.__init__(self, module_type, module_name, module_address,
                     controller)
     self._is_on = {}
     self._callbacks = {}