wxr
2020-07-15 9dcd17ee7578c5a06bfcd960cc72ea2995716004
HDL_ON/DriverLayer/Packet.cs
@@ -62,6 +62,8 @@
            }
            else
            {
                try
                {
                //对于操作数据库的时间比较长的,可以创建另一个线程处理
                if (!"HDLMIRACLE".Equals(System.Text.Encoding.ASCII.GetString(Bytes, 4, 10)))
                {
@@ -116,7 +118,11 @@
                }
                //处理是否要重发数据
                Control.ManagerReceive(subnetID, deviceID, command, targetSubnetID, targetDeviceID, usefulBytes, RemoteEndPoint);
                }
                catch (Exception ex)
                {
                    MainPage.Log($"packet {ex.Message} ");
                }
            }
        }
    }