| | |
| | | return new RegionInfoRes(); |
| | | } |
| | | } |
| | | |
| | | //if (curRegion == null) |
| | | //{ |
| | | // CurReginID = UserInfo.Current.regionList[0].RegionID; |
| | | // return UserInfo.Current.regionList[0]; |
| | | //} |
| | | return curRegion; |
| | | } |
| | | } |
| | |
| | | }); |
| | | instance.SaveResidenceData(); |
| | | } |
| | | |
| | | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | Rooms = null; |
| | | ins_OidList = null; |
| | | functionList = null; |
| | | HomeGateway = null; |
| | | if (MainPage.IsRemote) |
| | | { |
| | | DAL.Mqtt.MqttClient.DisConnectRemote("退出登录,或者切换住宅"); |
| | |
| | | |
| | | #region 功能数据 |
| | | static FunctionList _functionList; |
| | | public static FunctionList functionList { |
| | | public static FunctionList functionList |
| | | { |
| | | get |
| | | { |
| | | if(_functionList == null) |
| | | if (_functionList == null) |
| | | { |
| | | _functionList = FunctionList.List; |
| | | } |