| | |
| | | using System; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.IO; |
| | | using System.Threading; |
| | |
| | | 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("退出登录,或者切换住宅"); |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 记录窗帘全开全关状态 |
| | | /// </summary> |
| | | public bool GlobalCurtainStatus = false; |
| | | /// <summary> |
| | | /// 检测住宅是否绑定了网关 |
| | | /// gatewayId 判空 |
| | |
| | | |
| | | #endregion |
| | | } |
| | | } |
| | | } |