wxr
2020-12-22 7ddc5830cc495d69119b9b0ae33353397bd0521f
Merge branch 'CJL' into NewFilePath
3个文件已修改
19 ■■■■■ 已修改文件
HDL_ON/Common/HDLCommon.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/Entity/DB_ResidenceData.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/UI/MainPage.cs 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
HDL_ON/Common/HDLCommon.cs
@@ -450,9 +450,16 @@
            //网络状态变化 重置网关状态重新搜索
            Control.Ins.GatewayOnline = false;
            //网络变化,断开重连一次
            if (Control.Ins.IsRemote)
            {
                Control.Ins.IsRemote = false;
                DAL.Mqtt.MqttClient.DisConnectRemote("UpdateInternetStatus", false);
            }
            if (internetStatus == 0)//没有网络连接 0
            {
                //Control.Ins.GatewayOnline = false;
                Control.Ins.GatewayOnline = false;
                Control.Ins.IsRemote = false;
                MainPage.InternetStatus = 0;
            }
HDL_ON/Entity/DB_ResidenceData.cs
@@ -126,7 +126,7 @@
            
            ///切换住宅清空前住宅缓存自动化列表;
            HDL_ON.UI.UI2.Intelligence.Automation.Logic.LogicList.Clear();
            if (MainPage.IsRemote)
            if (HDL_ON.DriverLayer.Control.Ins.IsRemote)
            {
                DAL.Mqtt.MqttClient.DisConnectRemote("退出登录,或者切换住宅");
            }
HDL_ON/UI/MainPage.cs
@@ -44,10 +44,10 @@
        /// 无登录模式
        /// </summary>
        public static bool NoLoginMode = false;
        /// <summary>
        /// 远程模式
        /// </summary>
        public static bool IsRemote = false;
        ///// <summary>
        ///// 远程模式
        ///// </summary>
        //public static bool IsRemote = false;
        /// <summary>
        /// 网络连接状态
        /// 0:无网络