MelsecFxSerialOverTcpWriteAsync 方法 (String, Boolean) |
强制写入位数据的通断,支持的类型参考文档说明
The on-off of the forced write bit data, please refer to the document description for the supported types
命名空间:
HslCommunication.Profinet.Melsec
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override Task<OperateResult> WriteAsync(
string address,
bool value
)
Public Overrides Function WriteAsync (
address As String,
value As Boolean
) As Task(Of OperateResult)
public:
virtual Task<OperateResult^>^ WriteAsync(
String^ address,
bool value
) override
abstract WriteAsync :
address : string *
value : bool -> Task<OperateResult>
override WriteAsync :
address : string *
value : bool -> Task<OperateResult>
参数
- address
- 类型:SystemString
地址信息 - value
- 类型:SystemBoolean
是否为通
返回值
类型:
TaskOperateResult是否写入成功的结果对象
实现
IReadWriteNetWriteAsync(String, Boolean)IReadWriteNetWriteAsync(String, Boolean)参见