SecsMessage 类 |
命名空间: HslCommunication.Secs.Types
SecsMessage 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| SecsMessage |
实例化一个默认的对象
| |
| SecsMessage(Byte) |
通过原始的报文信息来实例化一个默认的对象
| |
| SecsMessage(Byte, Int32) |
通过原始的报文信息来实例化一个默认的对象
|
| 名称 | 说明 | |
|---|---|---|
| BlockNo |
获取或设置区块号信息
| |
| Data |
消息数据对象
| |
| DeviceID |
设备的ID信息
| |
| E |
E=false, 尚有Block; E=true, 此为最后一个Block
| |
| FunctionNo |
Function功能码
| |
| MessageID |
获取或设置消息ID信息
| |
| R |
R=false, Host → Equipment; R=true, Host ← Equipment
| |
| StreamNo |
Stream功能码
| |
| StringEncoding |
获取或设置用于字符串解析的编码信息
| |
| W |
W=false, 不必回复讯息;W=true, 必须回复讯息
|
| 名称 | 说明 | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
| GetHashCode | Serves as the default hash function. (继承自 Object。) | |
| GetItemValues |
获取当前消息的所有对象信息
| |
| GetItemValues(Encoding) |
使用指定的编码获取当前消息的所有对象信息
| |
| GetType | Gets the Type of the current instance. (继承自 Object。) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
| ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
| 名称 | 说明 | |
|---|---|---|
| ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |