wei
2020-12-11 680d96f157e4609af3e7af6f8d01ee0bf3f55063
HDL_ON/Entity/DB_ResidenceData.cs
@@ -142,10 +142,11 @@
        public void EixtAccount()
        {
            instance = null;
            Rooms = null;
            ins_OidList = null;
            functionList = null;
            HomeGateway = null;
            SpatialInfo.CurrentSpatial.ClearRooms();
            UserInfo.Current.ClearUserInfo();
            if (MainPage.IsRemote)
            {
                DAL.Mqtt.MqttClient.DisConnectRemote("退出登录,或者切换住宅");
@@ -251,11 +252,11 @@
        /// </summary>
        public string CurFoor = Language.StringByID(StringId.All);
        /// <summary>
        /// 房间列表
        /// </summary>
        [Newtonsoft.Json.JsonIgnore]
        public List<Room> Rooms = SpatialInfo.CurrentSpatial.RoomList;
        ///// <summary>
        ///// 房间列表
        ///// </summary>
        //[Newtonsoft.Json.JsonIgnore]
        //public List<Room> Rooms = SpatialInfo.CurrentSpatial.RoomList;
        #region 功能数据
        static FunctionList _functionList;