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