wxr
2020-06-08 b71dfb3ca100340005d56e1298292807da82322d
HDL_ON/DriverLayer/Target.cs
@@ -42,12 +42,18 @@
        /// </summary>
        public byte DeviceID;
        public byte[] GetGatewayIp_SendBytes;
        /// <summary>
        /// 发送数据缓冲区
        /// </summary>
        public byte [] SendBytes {
            get {
                if(GetGatewayIp_SendBytes!=null)
                {
                    byte[] bytes = GetGatewayIp_SendBytes;
                    return bytes;
                }
                if (2 + 9 + AddData.Length + 2 <= 81&&Command!=Command.SuperGatewayAgent) {
                    byte [] bytes = new byte [16 + 9 + AddData.Length + 2];
@@ -151,5 +157,19 @@
        /// </summary>
        public Command Command;
        /// <summary>
        /// 发送数据缓冲区
        /// </summary>
        public byte[] SendBytesGetGatewayIP
        {
            get
            {
                return AddData;
            }
        }
    }
}