SiemensWebApiWriteAsync 方法 (String, Byte) |
写入Byte数组数据,返回是否成功
Write Byte array data, return whether the write was successful
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteAsync(
string address,
byte value
)
Public Function WriteAsync (
address As String,
value As Byte
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteAsync(
String^ address,
unsigned char value
)
member WriteAsync :
address : string *
value : byte -> Task<OperateResult>
参数
- address
- 类型:SystemString
标签的地址信息,例如 "全局DB".Static_21 - value
- 类型:SystemByte
写入值
返回值
类型:
TaskOperateResult是否写入成功
参见