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