update 通信方式

This commit is contained in:
hjw
2024-09-03 20:11:48 +08:00
parent 228040a6e9
commit 051de571a8
5 changed files with 28 additions and 13 deletions

View File

@ -31,7 +31,7 @@ class TCPClient:
self.connected = self.error_count > 0
try:
#time.sleep(30)
if (self.send_Command() and self.send_Status()):
if (self.send_Status() and self.send_Command()):
self.error_count = 0
except:
self.error_count += 1