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