Browse Source

更新阿里云连接

master
fyf 2 years ago
parent
commit
92dee3a161
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      DataVAPI.Tools/IOT/IOTDevServer.cs

+ 0
- 5
DataVAPI.Tools/IOT/IOTDevServer.cs View File

@@ -46,10 +46,6 @@ namespace DataVAPI.Tool.IOT
/// 客户端
/// </summary>
public static MqttClient client { get; set; }
/// <summary>
/// 连接事件
/// </summary>
public static Action<string> ConnectMqtt { get; set; }
#endregion

#region 发布或订阅主题或URL地址
@@ -364,7 +360,6 @@ namespace DataVAPI.Tool.IOT
client.Subscribe(new string[] { par }, new byte[] { 0 });
});
UNConnectMqtt?.Invoke("重新连接阿里云MQTT成功!");
}
}
catch (Exception ce)


Loading…
Cancel
Save