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