DLT645WriteAsync 方法 (String, Int32) |
将指定的数据写入到仪表中,,地址标识根据手册来,从高位到地位,例如 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,
int[] values
)
Public Overrides Function WriteAsync (
address As String,
values As Integer()
) As Task(Of OperateResult)
public:
virtual Task<OperateResult^>^ WriteAsync(
String^ address,
array<int>^ values
) override
abstract WriteAsync :
address : string *
values : int[] -> Task<OperateResult>
override WriteAsync :
address : string *
values : int[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
地址信息 - values
- 类型:SystemInt32
[缺少 "M:HslCommunication.Instrument.DLT.DLT645.WriteAsync(System.String,System.Int32[])" 的 <param name="values"/> 文档]
返回值
类型:
TaskOperateResult是否写入成功的结果对象
实现
IReadWriteNetWriteAsync(String, Int32)IReadWriteNetWriteAsync(String, Int32)参见