Exemplo n.º 1
0
 def __init__(self, periphery_controller, index, name, parameter_type, precision, minimum, maximum):
     Hardware.__init__(self, periphery_controller, index, name, '')
     self.parameter_type = parameter_type
     self.precision = precision
     self.minimum = minimum
     self.maximum = maximum
     self.last_measured = datetime.now()
Exemplo n.º 2
0
 def __init__(self, periphery_controller, index, name, device_type, default_value):
     Hardware.__init__(self, periphery_controller, index, name, '')
     self.device_type = device_type
     self.default_value = default_value
Exemplo n.º 3
0
 def __init__(self, periphery_controller, index, name, device_type,
              default_value):
     Hardware.__init__(self, periphery_controller, index, name, '')
     self.device_type = device_type
     self.default_value = default_value