From b71dfb3ca100340005d56e1298292807da82322d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 08 六月 2020 15:04:21 +0800 Subject: [PATCH] 20200608 --- HDL_ON/DriverLayer/Target.cs | 22 +++++++++++++++++++++- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/HDL_ON/DriverLayer/Target.cs b/HDL_ON/DriverLayer/Target.cs index f374e38..c7ae958 100644 --- a/HDL_ON/DriverLayer/Target.cs +++ b/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; + } + } + + } } \ No newline at end of file -- Gitblit v1.8.0