YokogawaLinkTcpBuildReadCommand 方法 |
构建读取命令的原始报文信息
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<List<byte[]>> BuildReadCommand(
byte cpu,
string address,
ushort length,
bool isBit
)
Public Shared Function BuildReadCommand (
cpu As Byte,
address As String,
length As UShort,
isBit As Boolean
) As OperateResult(Of List(Of Byte()))
public:
static OperateResult<List<array<unsigned char>^>^>^ BuildReadCommand(
unsigned char cpu,
String^ address,
unsigned short length,
bool isBit
)
static member BuildReadCommand :
cpu : byte *
address : string *
length : uint16 *
isBit : bool -> OperateResult<List<byte[]>>
参数
- cpu
- 类型:SystemByte
Cpu Number - address
- 类型:SystemString
地址数据信息 - length
- 类型:SystemUInt16
数据长度信息 - isBit
- 类型:SystemBoolean
是否位访问
返回值
类型:
OperateResultListByte实际的读取的报文信息
参见