YokogawaLinkTcpBuildWriteBoolCommand 方法 |
构建批量写入Bool数组的命令,需要指定CPU Number信息和设备地址信息
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteBoolCommand(
byte cpu,
string address,
bool[] value
)
Public Shared Function BuildWriteBoolCommand (
cpu As Byte,
address As String,
value As Boolean()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteBoolCommand(
unsigned char cpu,
String^ address,
array<bool>^ value
)
static member BuildWriteBoolCommand :
cpu : byte *
address : string *
value : bool[] -> OperateResult<byte[]>
参数
- cpu
- 类型:SystemByte
Cpu Number - address
- 类型:SystemString
设备地址数据 - value
- 类型:SystemBoolean
实际的bool数组
返回值
类型:
OperateResultByte构建的写入指令
参见