TemperatureControllerOverTcpWriteAsync 方法 (String, Double) |
将Double类型的数据写入到RKC设备中去,地址示例:M1,M2,M3,AA,AB,B1,ER等,更详细的地址及具体含义需要参考API文档
Write Double type data to the RKC device. Examples of addresses: M1, M2, M3, AA, AB, B1, ER, etc.
For more detailed addresses and specific meanings, please refer to the API documentation
命名空间:
HslCommunication.Instrument.RKC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override Task<OperateResult> WriteAsync(
string address,
double[] values
)
Public Overrides Function WriteAsync (
address As String,
values As Double()
) As Task(Of OperateResult)
public:
virtual Task<OperateResult^>^ WriteAsync(
String^ address,
array<double>^ values
) override
abstract WriteAsync :
address : string *
values : float[] -> Task<OperateResult>
override WriteAsync :
address : string *
values : float[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
数据的地址信息,地址示例:M1,M2,M3,AA,AB,B1,ER等 - values
- 类型:SystemDouble
[缺少 "M:HslCommunication.Instrument.RKC.TemperatureControllerOverTcp.WriteAsync(System.String,System.Double[])" 的 <param name="values"/> 文档]
返回值
类型:
TaskOperateResult是否写入成功
实现
IReadWriteNetWriteAsync(String, Double)参见