JLChen
2020-12-16 d724f7f21c5cc8c5dd5aa0cf7345a62a662eb2bf
HDL_ON/Entity/DB_ResidenceData.cs
@@ -123,6 +123,8 @@
            HomeGateway = null;
            SpatialInfo.CurrentSpatial.Clear();
            FunctionList.List.Clear();
            ///切换住宅清空前住宅缓存自动化列表;
            HDL_ON.UI.UI2.Intelligence.Automation.Logic.LogicList.Clear();
            if (MainPage.IsRemote)
            {
                DAL.Mqtt.MqttClient.DisConnectRemote("退出登录,或者切换住宅");
@@ -157,7 +159,10 @@
                }
            }
        }
        /// <summary>
        /// 记录窗帘全开全关状态
        /// </summary>
        public bool GlobalCurtainStatus = false;
        /// <summary>
        /// 检测住宅是否绑定了网关
        /// gatewayId 判空