CrabtreeOn,印度客户定制APP,迁移2.0平台版本
JLChen
2021-02-25 c0379d078e7919c9934085da038e8e3c20dee85a
Crabtree/SmartHome/UI/SimpleControl/MqttCommon.cs
@@ -1,7 +1,6 @@
/*
更新了EMQ连接方式
*/
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) {