| MqttRpcDevice 构造函数 (String, Int32, String) | 
 
            通过指定的ip地址及端口来实例化一个同步的MQTT客户端
            Instantiate a synchronized MQTT client with the specified IP address and port
            
 
        命名空间: 
     HslCommunication.MQTT
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public MqttRpcDevice(
	string ipAddress,
	int port,
	string topic = null
)
Public Sub New ( 
	ipAddress As String,
	port As Integer,
	Optional topic As String = Nothing
)
public:
MqttRpcDevice(
	String^ ipAddress, 
	int port, 
	String^ topic = nullptr
)
new : 
        ipAddress : string * 
        port : int * 
        ?topic : string 
(* Defaults:
        let _topic = defaultArg topic null
*)
-> MqttRpcDevice参数
- ipAddress
- 类型:SystemString
 IP地址信息
- port
- 类型:SystemInt32
 端口号信息
- topic (Optional)
- 类型:SystemString
 设备关联的主题信息
 参见
参见