MelsecFxSerialOverTcpBuildReadBoolCommand 方法 |
根据类型地址长度确认需要读取的指令头
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:10.2.1.0 (10.2.1.0)
语法public static OperateResult<byte[], int> BuildReadBoolCommand(
string address,
ushort length
)
Public Shared Function BuildReadBoolCommand (
address As String,
length As UShort
) As OperateResult(Of Byte(), Integer)
public:
static OperateResult<array<unsigned char>^, int>^ BuildReadBoolCommand(
String^ address,
unsigned short length
)
static member BuildReadBoolCommand :
address : string *
length : uint16 -> OperateResult<byte[], int>
参数
- address
- 类型:SystemString
起始地址 - length
- 类型:SystemUInt16
bool数组长度
返回值
类型:
OperateResultByte,
Int32带有成功标志的指令数据
参见