equal
deleted
inserted
replaced
29 |
29 |
30 class LPCAppObject(LPCObject): |
30 class LPCAppObject(LPCObject): |
31 def connect(self,comport): |
31 def connect(self,comport): |
32 self.SerialConnection = LPCAppProto(comport,#number |
32 self.SerialConnection = LPCAppProto(comport,#number |
33 115200, #speed |
33 115200, #speed |
34 2) #timeout |
34 5) #timeout |
35 |
35 |
36 def StartPLC(self, debug=False): |
36 def StartPLC(self, debug=False): |
37 self.HandleSerialTransaction(STARTTransaction()) |
37 self.HandleSerialTransaction(STARTTransaction()) |
38 |
38 |
39 def StopPLC(self): |
39 def StopPLC(self): |