IEC104WriteIec 方法 (Byte, UInt16, UInt16, Boolean) |
指定类型标识,传送原因,数据地址,数据值信息来写入到IEC的仪表中去
命名空间:
HslCommunication.Instrument.IEC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteIec(
byte type,
ushort reason,
ushort address,
bool value
)
Public Function WriteIec (
type As Byte,
reason As UShort,
address As UShort,
value As Boolean
) As OperateResult
public:
OperateResult^ WriteIec(
unsigned char type,
unsigned short reason,
unsigned short address,
bool value
)
member WriteIec :
type : byte *
reason : uint16 *
address : uint16 *
value : bool -> OperateResult
参数
- type
- 类型:SystemByte
类型标识 - reason
- 类型:SystemUInt16
传送原因 - address
- 类型:SystemUInt16
信息对象地址 - value
- 类型:SystemBoolean
值信息
返回值
类型:
OperateResult是否发送到仪表成功
参见