Closedown
This commit is contained in:
@@ -60,12 +60,17 @@ class Esera(TcpDevice):
|
||||
raise
|
||||
|
||||
def doUpdate(self):
|
||||
#if not self.self.complete:
|
||||
# if len(take()) == 30:
|
||||
# self.complete = True
|
||||
# self.start()
|
||||
print "OK"
|
||||
#self.req_data()
|
||||
if not self.complete:
|
||||
init = True
|
||||
for det in self.detectors:
|
||||
if det.id == None:
|
||||
init = False
|
||||
break
|
||||
if init:
|
||||
self.complete = True
|
||||
self.start()
|
||||
|
||||
self.req_data()
|
||||
#def onByte(self, rx):
|
||||
# print rx
|
||||
|
||||
|
||||
Reference in New Issue
Block a user