MqttRpcDevice.ReadBool 方法 (String) |
读取单个的Boolean数据信息
Read a single Boolean data message
命名空间:
HslCommunication.MQTT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public virtual OperateResult<bool> ReadBool(
string address
)
Public Overridable Function ReadBool (
address As String
) As OperateResult(Of Boolean)
public:
virtual OperateResult<bool>^ ReadBool(
String^ address
)
abstract ReadBool :
address : string -> OperateResult<bool>
override ReadBool :
address : string -> OperateResult<bool>
参数
- address
- 类型:System.String
数据地址
返回值
类型:
OperateResult<Boolean>带有成功标识的 bool 值
实现
IReadWriteNet.ReadBool(String)参见