Sfoglia il codice sorgente

更新阿里云连接

master
fyf 2 anni fa
parent
commit
92dee3a161
1 ha cambiato i file con 0 aggiunte e 5 eliminazioni
  1. +0
    -5
      DataVAPI.Tools/IOT/IOTDevServer.cs

+ 0
- 5
DataVAPI.Tools/IOT/IOTDevServer.cs Vedi 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)


Caricamento…
Annulla
Salva