| | |
| | | |
| | | foreach (var housePath in Config.Instance.HomeFilePathList) |
| | | { |
| | | var home = House.GetHouseByFilePath(housePath); |
| | | var home = UserCenter.HdlResidenceLogic.Current.GetHouseByFilePath(housePath); |
| | | if (home == null) |
| | | { |
| | | continue; |
| | |
| | | private void SelectFloor_MouseUpEvent(object sender, MouseEventArgs mouseEventArgs) |
| | | { |
| | | (sender as Device.CommonForm.LeftIconButtonRow).IsSelected = true; |
| | | var home = House.GetHouseByFilePath((sender as Device.CommonForm.LeftIconButtonRow).Tag.ToString()); |
| | | var home = UserCenter.HdlResidenceLogic.Current.GetHouseByFilePath((sender as Device.CommonForm.LeftIconButtonRow).Tag.ToString()); |
| | | RemoveView(); |
| | | HouseAction?.Invoke(home.Id); |
| | | } |