S7AddressData 类 |
命名空间: HslCommunication.Core.Address
S7AddressData 类型公开以下成员。
名称 | 说明 | |
---|---|---|
S7AddressData |
实例化一个默认的对象 Instantiate a default object | |
S7AddressData(S7AddressData) |
从另一个 S7AddressData 对象进行实例化 Instantiate from another S7AddressData object |
名称 | 说明 | |
---|---|---|
AddressStart |
数字的起始地址,也就是偏移地址 (继承自 DeviceAddressDataBase。)The starting address of the number, which is the offset address | |
DataCode |
获取或设置等待读取的数据的代码 Get or set the code of the data waiting to be read | |
DbBlock |
获取或设置PLC的DB块数据信息 Get or set PLC DB data information | |
Length |
读取的数据长度,单位是字节还是字取决于设备方 (继承自 DeviceAddressDataBase。)The length of the data read, the unit is byte or word depends on the device side |
名称 | 说明 | |
---|---|---|
CalculateAddressStarted |
计算特殊的地址信息 Calculate Special Address information | |
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。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
Parse |
从指定的地址信息解析成真正的设备地址信息
(重写 DeviceAddressDataBaseParse(String, UInt16).) | |
ParseFrom(String) |
从实际的西门子的地址里面解析出地址对象 Resolve the address object from the actual Siemens address | |
ParseFrom(String, UInt16) |
从实际的西门子的地址里面解析出地址对象 Resolve the address object from the actual Siemens address | |
ToString | Returns a string that represents the current object. (重写 DeviceAddressDataBaseToString.) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |