From c406a2bb214bd693ecc9c62b8c592c8b3537144d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 31 三月 2021 13:31:36 +0800 Subject: [PATCH] 2021-03-31 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