wxr
2020-11-23 d4160d80c79245c1d7d0cd450ba48cb7850e411d
HDL_ON/DAL/DriverLayer/Packet.cs
@@ -8,7 +8,7 @@
namespace HDL_ON
{
    /// <summary>
    /// Udp数据包
    /// bus数据包
    /// </summary>
    public class Packet
    {
@@ -593,13 +593,12 @@
        string ByteToHex16(byte b)
        {
            string s = Convert.ToString(b, 16).ToUpper();
            if(s.Length<=1)
            if (s.Length <= 1)
            {
                return "0" +s;
                return "0" + s;
            }
            return s;
        }
        /// <summary>
        /// 处理接收回来的数据