From 92dee3a1617d8021dd0629a0f8429f6a14ff3f95 Mon Sep 17 00:00:00 2001 From: fyf Date: Fri, 6 May 2022 13:14:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=98=BF=E9=87=8C=E4=BA=91?= =?UTF-8?q?=E8=BF=9E=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataVAPI.Tools/IOT/IOTDevServer.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/DataVAPI.Tools/IOT/IOTDevServer.cs b/DataVAPI.Tools/IOT/IOTDevServer.cs index 16b292e..207a22b 100644 --- a/DataVAPI.Tools/IOT/IOTDevServer.cs +++ b/DataVAPI.Tools/IOT/IOTDevServer.cs @@ -46,10 +46,6 @@ namespace DataVAPI.Tool.IOT /// 客户端 /// public static MqttClient client { get; set; } - /// - /// 连接事件 - /// - public static Action 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)