PanasonicMewtocolReadBoolAsync 方法 (String) |
读取单个的地址信息的bool值,地址举例:SR0.0 X0.0 Y0.0 R0.0 L0.0
Read the bool value of a single address, for example: 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<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读取结果对象
实现
IReadWriteNetReadBoolAsync(String)参见