SiemensPPIReadBoolAsync 方法 (String) |
异步读取单个的Boolean数据信息
Asynchronously read a single Boolean data message
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override Task<OperateResult<bool>> ReadBoolAsync(
string address
)
Public Overrides Function ReadBoolAsync (
address As String
) As Task(Of OperateResult(Of Boolean))
public:
virtual Task<OperateResult<bool>^>^ ReadBoolAsync(
String^ address
) override
abstract ReadBoolAsync :
address : string -> Task<OperateResult<bool>>
override ReadBoolAsync :
address : string -> Task<OperateResult<bool>>
参数
- address
- 类型:SystemString
数据地址
返回值
类型:
TaskOperateResultBoolean带有成功标识的byte[]数组
实现
IReadWriteNetReadBoolAsync(String)IReadWriteNetReadBoolAsync(String)参见