McAddressDataParseMelsecRFrom 方法 |
从实际三菱的地址里面解析出我们需要的地址类型
Resolve the type of address we need from the actual Mitsubishi address
命名空间:
HslCommunication.Core.Address
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<McAddressData> ParseMelsecRFrom(
string address,
ushort length,
bool isBit
)
Public Shared Function ParseMelsecRFrom (
address As String,
length As UShort,
isBit As Boolean
) As OperateResult(Of McAddressData)
public:
static OperateResult<McAddressData^>^ ParseMelsecRFrom(
String^ address,
unsigned short length,
bool isBit
)
static member ParseMelsecRFrom :
address : string *
length : uint16 *
isBit : bool -> OperateResult<McAddressData>
参数
- address
- 类型:SystemString
三菱的地址数据信息 - length
- 类型:SystemUInt16
读取的数据长度 - isBit
- 类型:SystemBoolean
是否读写bool的操作
返回值
类型:
OperateResultMcAddressData是否成功的结果对象
参见