AllenBradleySLCAddress 类 |
命名空间: HslCommunication.Core.Address
AllenBradleySLCAddress 类型公开以下成员。
名称 | 说明 | |
---|---|---|
AllenBradleySLCAddress | 初始化 AllenBradleySLCAddress 类的一个新实例 |
名称 | 说明 | |
---|---|---|
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 |
名称 | 说明 | |
---|---|---|
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) |
从实际的罗克韦尔的地址里面解析出地址对象,例如 A9:0 Parse the address object from the actual Rockwell address, such as A9:0 | |
ParseFrom(String, UInt16) |
从实际的罗克韦尔的地址里面解析出地址对象,例如 A9:0 Parse the address object from the actual Rockwell address, such as A9:0 | |
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. |