米厂码垛修改

This commit is contained in:
2025-09-10 09:16:57 +08:00
parent 2f45c4c38f
commit 65dde435c8
47 changed files with 11258 additions and 10485 deletions

View File

@ -43,7 +43,7 @@ class TCPClient:
except Exception as e:
self.error_count += 1
if self.error_count> 5:
print("Error: TCPClient is not connected")
print("Error: 机械臂控制程序中TCPClient is not connected")
log.log_message(logging.ERROR,Constant.str_tcp_connect_no_reply)
try:
self.CreatConnect()
@ -51,7 +51,7 @@ class TCPClient:
except OSError as e1:
if e1.errno == 10056:
self.client_socket.close()
print("Error: TCPClient is not connected_1")
print("Error: 机械臂控制程序中TCPClient is not connected_1")
log.log_message(logging.ERROR,Constant.str_tcp_connect_error)
except Exception as e2:
print(e2)