PanasonicHelperBuildReadCommand 方法 |
创建批量读取触点的报文指令
Create message instructions for batch reading contacts
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<List<byte[]>> BuildReadCommand(
byte station,
string address,
ushort length,
bool isBit
)
Public Shared Function BuildReadCommand (
station 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 station,
String^ address,
unsigned short length,
bool isBit
)
static member BuildReadCommand :
station : byte *
address : string *
length : uint16 *
isBit : bool -> OperateResult<List<byte[]>>
参数
- station
- 类型:SystemByte
站号信息 - address
- 类型:SystemString
地址信息 - length
- 类型:SystemUInt16
数据长度 - isBit
- 类型:SystemBoolean
是否进行位为单位
返回值
类型:
OperateResultListByte包含是否成功的结果对象
参见