MelsecFxLinksHelperBuildWriteBoolCommand 方法 |
创建一条别入bool数据的指令信息,需要指定一些参数
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteBoolCommand(
byte station,
string address,
bool[] value,
byte waitTime = 0
)
Public Shared Function BuildWriteBoolCommand (
station As Byte,
address As String,
value As Boolean(),
Optional waitTime As Byte = 0
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteBoolCommand(
unsigned char station,
String^ address,
array<bool>^ value,
unsigned char waitTime = 0
)
static member BuildWriteBoolCommand :
station : byte *
address : string *
value : bool[] *
?waitTime : byte
(* Defaults:
let _waitTime = defaultArg waitTime 0
*)
-> OperateResult<byte[]>
参数
- station
- 类型:SystemByte
站号 - address
- 类型:SystemString
地址 - value
- 类型:SystemBoolean
数组值 - waitTime (Optional)
- 类型:SystemByte
等待时间
返回值
类型:
OperateResultByte是否创建成功
参见