1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| package com.sandu.ximon.admin.entity.main;
|
| /**
| * 主协议帧
| */
| public interface MainFrame {
|
| // // 功能码(1)
| // private FunctionCode functionCode;
| // // 命令类型(1)
| // private OrderType orderType;
| // // 负荷长度(2)
| // private Integer payloadLength;
| // // 负荷数据
| // private InnerFrame payload;
| // // 帧校验(4)
| // private String crc32;
|
| // 获取协议帧
| String getFrame();
|
| }
|
|