PanasonicHelperBuildWriteOneCoil 方法 |
创建写入离散触点的报文指令
Create message instructions to write discrete contacts
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteOneCoil(
byte station,
string address,
bool value
)
Public Shared Function BuildWriteOneCoil (
station As Byte,
address As String,
value As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteOneCoil(
unsigned char station,
String^ address,
bool value
)
static member BuildWriteOneCoil :
station : byte *
address : string *
value : bool -> OperateResult<byte[]>
参数
- station
- 类型:SystemByte
站号信息 - address
- 类型:SystemString
地址信息 - value
- 类型:SystemBoolean
bool值数组
返回值
类型:
OperateResultByte包含是否成功的结果对象
参见