S7Message 属性 |
S7Message 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| CheckMessage |
是否检查消息的合法性,默认为true,如果设置为false,则不检查消息的合法性,直接返回接收的数据内容,适用于一些特殊的协议解析需求
| |
| ContentBytes |
消息内容字节 (继承自 NetMessageBase。)Message content byte | |
| HeadBytes |
消息头字节 (继承自 NetMessageBase。)Message header byte | |
| ProtocolHeadBytesLength |
消息头的指令长度,第一次接受数据的长度 Instruction length of the message header, the length of the first received data | |
| SendBytes |
发送的字节信息 (继承自 NetMessageBase。)Byte information sent |