PanasonicMewtocolWriteAsync 方法 (String, Boolean) |
往指定的地址写入bool数据,地址举例:SR0.0 X0.0 Y0.0 R0.0 L0.0
Write bool data to the specified address. Example address: SR0.0 X0.0 Y0.0 R0.0 L0.0
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
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)参见