wxr
2019-12-06 9aa32bd5ed75d54b2141b6c91f163d43216a3643
HDL_ON/DAL/Net/MqttCommon.cs
@@ -338,7 +338,7 @@
        /// <param name="message">附加数据包</param>
        /// <param name="optionType">操作类型:0=网关控制;1=订阅网关数据;2=订阅网关上线数据</param>
        /// <returns></returns>
        public static async System.Threading.Tasks.Task MqttRemoteSend(byte[] message, int optionType = 0)
        public static async Task MqttRemoteSend(byte[] message, int optionType = 0)
        {
            try
            {
@@ -350,7 +350,7 @@
                {
                    return;
                }
                var topicName = @"/" + MainPage.LoginUser.AccountString.ToLower() + @"/" + UserConfig.Instance.CurrentRegion.MAC.Replace(".", "") + @"/" + currentGuid;
                var topicName = "";//@"/" + MainPage.LoginUser.AccountString.ToLower() + @"/" + currentGuid;//+ @"/" + UserConfig.Instance.CurrentRegion.MAC.Replace(".", "")
                switch (optionType)
                {
                    case 0: