예제 #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()
예제 #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
예제 #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