HDL_ON/Entity/DB_ResidenceData.cs
@@ -1,4 +1,4 @@ using System; using System; using System.Collections.Generic; using System.IO; using System.Threading; @@ -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 (HDL_ON.DriverLayer.Control.Ins.IsRemote) { DriverLayer.Control.Ins.IsRemote = false; DAL.Mqtt.MqttClient.DisConnectRemote("退出登录,或者切换住宅"); } } @@ -418,4 +422,4 @@ #endregion } } }