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