wxr
2020-12-22 a56a485926a8927f904d7f4795c371c25b35753a
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("退出登录,或者切换住宅");
            }
        }
@@ -157,7 +161,10 @@
                }
            }
        }
        /// <summary>
        /// 记录窗帘全开全关状态
        /// </summary>
        public bool GlobalCurtainStatus = false;
        /// <summary>
        /// 检测住宅是否绑定了网关
        /// gatewayId 判空
@@ -415,4 +422,4 @@
        #endregion
    }
}
}