LSCnetOverTcpWriteCoilAsync 方法 |
WriteCoil
命名空间:
HslCommunication.Profinet.LSIS
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteCoilAsync(
string address,
bool value
)
Public Function WriteCoilAsync (
address As String,
value As Boolean
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteCoilAsync(
String^ address,
bool value
)
member WriteCoilAsync :
address : string *
value : bool -> Task<OperateResult>
参数
- address
- 类型:SystemString
Start Address - value
- 类型:SystemBoolean
value for write
返回值
类型:
TaskOperateResultwhether write is success
参见