OmronFinsNetBuildReadCommand 方法 |
根据类型地址长度确认需要读取的指令头
Confirm the instruction header to be read according to the type address length
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:9.8.0.0 (9.8.0.0)
语法 public OperateResult<List<byte[]>> BuildReadCommand(
string address,
ushort length,
bool isBit
)
Public Function BuildReadCommand (
address As String,
length As UShort,
isBit As Boolean
) As OperateResult(Of List(Of Byte()))
public:
OperateResult<List<array<unsigned char>^>^>^ BuildReadCommand(
String^ address,
unsigned short length,
bool isBit
)
member BuildReadCommand :
address : string *
length : uint16 *
isBit : bool -> OperateResult<List<byte[]>>
参数
- address
- 类型:SystemString
起始地址 - length
- 类型:SystemUInt16
长度 - isBit
- 类型:SystemBoolean
是否是位读取
返回值
类型:
OperateResultListByte带有成功标志的报文数据
参见