修改判定脚本

This commit is contained in:
ranchuan
2023-07-26 18:13:25 +08:00
parent f713dd35b8
commit 649e5b8f11
6 changed files with 794 additions and 11 deletions

View File

@@ -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()