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