DLT645OverTcpWriteAsync 方法 (String, Int16) |
将指定的数据写入到仪表中,,地址标识根据手册来,从高位到地位,例如 00-00-00-00,分割符可以任意特殊字符或是没有分隔符。
Write the data to the gauge, address identification according to the manual, from high bit to position,
such as 00-00-00-00, the separator can be any special character or no delimiter.
命名空间:
HslCommunication.Instrument.DLT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override Task<OperateResult> WriteAsync(
string address,
short[] values
)
Public Overrides Function WriteAsync (
address As String,
values As Short()
) As Task(Of OperateResult)
public:
virtual Task<OperateResult^>^ WriteAsync(
String^ address,
array<short>^ values
) override
abstract WriteAsync :
address : string *
values : int16[] -> Task<OperateResult>
override WriteAsync :
address : string *
values : int16[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
地址信息 - values
- 类型:SystemInt16
[缺少 "M:HslCommunication.Instrument.DLT.DLT645OverTcp.WriteAsync(System.String,System.Int16[])" 的 <param name="values"/> 文档]
返回值
类型:
TaskOperateResult是否写入成功的结果对象
实现
IReadWriteNetWriteAsync(String, Int16)IReadWriteNetWriteAsync(String, Int16)参见