| | |
| | | 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("退出登录,或者切换住宅"); |
| | |
| | | /// </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; |