From 502d4ff743c1645adb469ab89c24826c4ec38f28 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期五, 05 二月 2021 15:40:47 +0800 Subject: [PATCH] 2021-2-5-2 --- Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs b/Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs index 761d256..1d20d0c 100644 --- a/Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs +++ b/Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs @@ -1,7 +1,6 @@ 锘�/* 鏇存柊浜咵MQ杩炴帴鏂瑰紡 */ -using System.Collections.Generic; using System; using MQTTnet.Client; using System.Threading.Tasks; @@ -10,7 +9,6 @@ using MQTTnet; using System.Text; using System.Security.Cryptography; -using System.IO; namespace SmartHome { @@ -68,7 +66,7 @@ /// <summary> /// 鏂紑杩滅▼Mqtt鐨勯摼鎺� /// </summary> - static async System.Threading.Tasks.Task DisConnectRemoteMqttClient (string s = "") + public static async System.Threading.Tasks.Task DisConnectRemoteMqttClient (string s = "") { try { if (remoteIsConnected) { -- Gitblit v1.8.0