update 完成所有投料逻辑,IO点位控制,急停控制
This commit is contained in:
@ -9,12 +9,13 @@ from Util.util_log import log
|
||||
|
||||
class RobotClient(TCPClient):
|
||||
|
||||
def __init__(self, ip, port, photo_locs,command_quene, status_model:DataAddress):
|
||||
def __init__(self, ip, port, photo_locs,command_quene, status_model:DataAddress,con_ios):
|
||||
super().__init__(ip, port)
|
||||
self.command_quene = command_quene
|
||||
self.status_model = status_model
|
||||
self.errorCommands = {}
|
||||
self.photo_locs = photo_locs
|
||||
self.con_ios = con_ios
|
||||
def add_sendQuene(self,command): #后面 命令分等级,紧急命令直接执行
|
||||
self.command_quene.put(command)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user