DLT645HelperWriteAsync 方法 (IDlt645, String, String, String, String) |
将指定的数据写入到仪表中,,地址标识根据手册来,从高位到地位,例如 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.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult> WriteAsync(
IDlt645 dlt,
string password,
string opCode,
string address,
string[] value
)
Public Shared Function WriteAsync (
dlt As IDlt645,
password As String,
opCode As String,
address As String,
value As String()
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ WriteAsync(
IDlt645^ dlt,
String^ password,
String^ opCode,
String^ address,
array<String^>^ value
)
static member WriteAsync :
dlt : IDlt645 *
password : string *
opCode : string *
address : string *
value : string[] -> Task<OperateResult>
参数
- dlt
- 类型:HslCommunication.Instrument.DLT.HelperIDlt645
DLT通信对象 - password
- 类型:SystemString
密钥信息 - opCode
- 类型:SystemString
操作者代码 - address
- 类型:SystemString
地址信息 - value
- 类型:SystemString
写入的数据值
返回值
类型:
TaskOperateResult是否写入成功的结果对象
参见