| | |
| | | /// </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]; |
| | | |
| | |
| | | /// </summary> |
| | | public Command Command; |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 发送数据缓冲区 |
| | | /// </summary> |
| | | public byte[] SendBytesGetGatewayIP |
| | | { |
| | | get |
| | | { |
| | | return AddData; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |