CnetAddressData 类 |
命名空间: HslCommunication.Core.Address
CnetAddressData 类型公开以下成员。
名称 | 说明 | |
---|---|---|
CnetAddressData | 初始化 CnetAddressData 类的一个新实例 |
名称 | 说明 | |
---|---|---|
AddressStart |
数字的起始地址,也就是偏移地址 (继承自 DeviceAddressDataBase。)The starting address of the number, which is the offset address | |
DataCode |
数据的代号,通常是 'P', 'M', 'L', 'K', 'F', 'T', 'C', 'D', 'S', 'Q', 'I', 'N', 'U', 'Z', 'R'
| |
DataType |
数据的类型,通常是 X,B,W,D,L
| |
Length |
读取的数据长度,单位是字节还是字取决于设备方 (继承自 DeviceAddressDataBase。)The length of the data read, the unit is byte or word depends on the device side |
名称 | 说明 | |
---|---|---|
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 |
从指定的地址信息解析成真正的设备地址信息 (继承自 DeviceAddressDataBase。)Parsing from the specified address information into real device address information | |
ParseFrom(String) |
从实际的PLC的地址里面解析出地址对象 Resolve the address object from the actual PLC address | |
ParseFrom(String, UInt16) |
从实际的PLC的地址里面解析出地址对象 Resolve the address object from the actual PLC address | |
ToString | Returns a string that represents the current object. (继承自 DeviceAddressDataBase。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |