CnetAddressDataParseFrom 方法 (String, UInt16) |
从实际的PLC的地址里面解析出地址对象
Resolve the address object from the actual PLC address
命名空间:
HslCommunication.Core.Address
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<CnetAddressData> ParseFrom(
string address,
ushort length
)
Public Shared Function ParseFrom (
address As String,
length As UShort
) As OperateResult(Of CnetAddressData)
public:
static OperateResult<CnetAddressData^>^ ParseFrom(
String^ address,
unsigned short length
)
static member ParseFrom :
address : string *
length : uint16 -> OperateResult<CnetAddressData>
参数
- address
- 类型:SystemString
PLC的地址数据信息 - length
- 类型:SystemUInt16
读取的数据长度
返回值
类型:
OperateResultCnetAddressData是否成功的结果对象
参见