S7Object 方法 |
S7Object 类型公开以下成员。
名称 | 说明 | |
---|---|---|
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。) | |
GetNumberOfFields |
获取字段的数量
| |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
GetValueUint32 |
从缓存中获取动态长度的uint类型数据
| |
GetValueUint64 |
从缓存中获取动态长度的ulong类型数据
| |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
ToString | Returns a string that represents the current object. (重写 ObjectToString.) | |
WriteMessgae |
将对象写入报文消息的方法
| |
WriteUint32 |
写入一个uint类型的数据,使用动态长度表示方式,写入到字节流里去
| |
WriteUint64 |
写入一个ulong类型的数据,使用动态长度表示方式,写入到字节流里去
|
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |