From 0e32900c194227f07731bc6b81e79a37f9047ae8 Mon Sep 17 00:00:00 2001 From: zhangxy Date: Mon, 28 Jul 2025 15:03:06 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=B1=8F=E8=94=BD=E5=BF=83=E8=B7=B3=E6=8C=81?= =?UTF-8?q?=E7=BB=AD=E5=88=B7=E6=96=B0=E4=BF=A1=E6=81=AF=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SocketExample/TCPWindowV2.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SocketExample/TCPWindowV2.xaml.cs b/SocketExample/TCPWindowV2.xaml.cs index fef4552..ae8dae6 100644 --- a/SocketExample/TCPWindowV2.xaml.cs +++ b/SocketExample/TCPWindowV2.xaml.cs @@ -234,7 +234,7 @@ namespace SocketExample string dataLength = readStateString.Substring(4, 2);//获取字符串中内容长度 string commandState = readStateString.Substring(6, 2);//获取命令 - //if(commandState != "81") + if(commandState != "81") Infotext += $"({currentTime})客户端接收到信息:\n{hexString}\n\n"; int i = Convert.ToInt32(dataLength, 16);