McAddressData 类 |
命名空间: HslCommunication.Core.Address
McAddressData 类型公开以下成员。
| 名称 | 说明 | |
|---|---|---|
| McAddressData |
实例化一个默认的对象
|
| 名称 | 说明 | |
|---|---|---|
| AddressStart |
数字的起始地址,也就是偏移地址 (继承自 DeviceAddressDataBase。)The starting address of the number, which is the offset address | |
| Length |
读取的数据长度,单位是字节还是字取决于设备方 (继承自 DeviceAddressDataBase。)The length of the data read, the unit is byte or word depends on the device side | |
| McDataType |
三菱的数据类型及地址信息
|
| 名称 | 说明 | |
|---|---|---|
| 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).) | |
| ParseKeyenceFrom |
从实际基恩士的地址里面解析出我们需要的地址信息 Resolve the address information we need from the actual Keyence address | |
| ParseMelsecFrom |
从实际三菱的地址里面解析出我们需要的地址类型 Resolve the type of address we need from the actual Mitsubishi address | |
| ParseMelsecRFrom |
从实际三菱的地址里面解析出我们需要的地址类型 Resolve the type of address we need from the actual Mitsubishi address | |
| ParsePanasonicFrom |
从实际松下的地址里面解析出MC协议标准的地址对象
| |
| 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. |