米厂码垛修改
This commit is contained in:
@ -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)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user