def __init__(self, id, location=None, value=0, thresh=100):
     Sensor.__init__(self, id, location, thresh)
     self.value = value
예제 #2
0
 def _init_(self):
     Sensor.__init__(self)
     self.limit = 2.5
     self.tolerance = 0.5
예제 #3
0
 def _init_(self):
     Sensor.__init__(self)
     self.cur_measure = False
예제 #4
0
 def __init__(self):
     Sensor.__init__(self)
     self.limit = 1600.0
     self.tolerance = 5.0