修改判定脚本
This commit is contained in:
@@ -380,6 +380,8 @@ class protu(QObject):
|
||||
self.cmd_no+=1
|
||||
# print("send:",data.hex(","))
|
||||
self.ser.write(self.encode(data))
|
||||
def send_str(self,txt:str):
|
||||
self.ser.write(txt)
|
||||
def start_recv(self):
|
||||
self.thread_ = threading.Thread(target=self.recv, args=())
|
||||
self.thread_.start()
|
||||
|
Reference in New Issue
Block a user