##// END OF EJS Templates
ABS Monitoring changes
imanay -
r146:147
parent child
Show More
@@ -69,9 +69,16
69 69 data = self.__ConnectionWithCentralControl(cmd = "ANST", data = data) No newline at end of file
70 70 self.__writeFile("report.txt", data) No newline at end of file
71 71
72 No newline at end of file
72 def getControlModulePhase(self, data): No newline at end of file
73 73
74 No newline at end of file
74 data = self.__ConnectionWithCentralControl(cmd = "ANPH", data = data) No newline at end of file
No newline at end of file
75 data = self.__ConnectionWithCentralControl(cmd = "LWPH", data = u + '/' + pw + '/')
No newline at end of file
76 elif opt == '1':
No newline at end of file
77 data = self.__ConnectionWithCentralControl(cmd = "BGPH", data = u + '/' + pw + '/')
No newline at end of file
78 elif opt == '2':
No newline at end of file
79 data = self.__ConnectionWithCentralControl(cmd = "cBPH", data = u + '/' + pw + '/')
No newline at end of file
80 else:
No newline at end of file
81 data = self.__ConnectionWithCentralControl(cmd = "cLPH", data = u + '/' + pw + '/') No newline at end of file
75 82 # self.__writeFile("report.txt", data) No newline at end of file
76 83 No newline at end of file
77 84 def getConnectionStatus(self): No newline at end of file
@@ -43,8 +43,13
43 43 #Using tx buffer No newline at end of file
44 44 datarpta = self.tx_buffer No newline at end of file
45 45
46 No newline at end of file
46 if cmd == "ANPH":
No newline at end of file
47 No newline at end of file
47 self.__getControlModulePhase(cmd = cmd) No newline at end of file
No newline at end of file
48 #Using tx buffer
No newline at end of file
49 datarpta = self.tx_buffer
No newline at end of file
50
No newline at end of file
51 if cmd == "LWPH":
No newline at end of file
52 self.__getControlModuleLowPhase(cmd = cmd) No newline at end of file
48 53 #Using tx buffer No newline at end of file
49 54 datarpta = self.tx_buffer No newline at end of file
50 55 No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now