wei
2020-11-27 e53a1951d6aa07ad22aad9816da4703496fcbccd
HDL_ON/DAL/DriverLayer/Target.cs
@@ -6,7 +6,8 @@
namespace HDL_ON.DriverLayer
{
    /// <summary>
    /// 控制数据
    /// 控制数据包头
    /// bus数据包头
    /// </summary>
    public class Target
    {
@@ -71,7 +72,7 @@
                    bytes [15] = 0xAA;
                    bytes [16] = (byte)(11 + AddData.Length);
                    bytes [17] = 252; //源子网号
                    bytes [17] = 0; //源子网号
                    bytes [18] = 252; //源设备号
                    bytes [19] = (byte)(deviceType/256);
                    bytes [20] = (byte)(deviceType%256);
@@ -113,7 +114,7 @@
                    bytes [15] = 0xAA;
                    bytes [16] = 0xFF;//数据包长度
                    bytes [17] = 252;//源子网号
                    bytes [17] = 0;//源子网号
                    bytes [18] = 252;//源设备号
                    bytes [19] = (byte)(deviceType/256);
                    bytes [20] = (byte)(deviceType%256);