| | |
| | | }; |
| | | dispalyView.AddChidren(contentView); |
| | | |
| | | if (DB_ResidenceData.residenceData.floors.Count < 2) |
| | | if (Floor.InsFloor.Floors.Count < 2) |
| | | { |
| | | } |
| | | else if (DB_ResidenceData.residenceData.floors.Count < 3) |
| | | else if (Floor.InsFloor.Floors.Count < 3) |
| | | { |
| | | dispalyView = new FrameLayout() |
| | | { |
| | |
| | | contentView.Height = Application.GetRealHeight(45 * 3); |
| | | dispalyView.AddChidren(contentView); |
| | | } |
| | | else if (DB_ResidenceData.residenceData.floors.Count < 4) |
| | | else if (Floor.InsFloor.Floors.Count < 4) |
| | | { |
| | | dispalyView = new FrameLayout() |
| | | { |
| | |
| | | |
| | | List<string> chooseList = new List<string>(); |
| | | chooseList.Add(Language.StringByID(StringId.All)); |
| | | foreach (var f in DB_ResidenceData.residenceData.floors) |
| | | foreach (var f in Floor.InsFloor.Floors) |
| | | { |
| | | chooseList.Add(f.name); |
| | | chooseList.Add(f.roomName); |
| | | } |
| | | |
| | | foreach (var floor in chooseList) |