From 0827ab8fb6eb60354a080b86616ffc0e8538fc54 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 03 三月 2021 09:34:01 +0800 Subject: [PATCH] 2021-3-3-1 --- 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