注码工具更新雷管厂企业代码

This commit is contained in:
ranchuan
2023-11-06 19:08:56 +08:00
parent eb922ee1aa
commit fb3334d844
3 changed files with 43 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ class myudp(QObject):
# print ("收到的信息为:", recv_msg.decode("utf-8")) # 默认从windows发出的数据解码要用”gbk”保证中文不乱码
# print ("发送方地址为:", str(send_addr)) # 强转为字符串输出地址,保证不乱码
str=recv_msg.decode("utf-8").replace("\n","|")
print("test_comm",str)
list=str.split(",")
str=list[1].replace(":","_")
self.dst_ip_list.append((send_addr[0],str))