| | |
| | | using System.Collections.Generic; |
| | | using System.Timers; |
| | | using Shared.Common; |
| | | using Shared.Phone.Device.AC; |
| | | using Shared.Phone.Device.CommonForm; |
| | | using Shared.Phone.Device.DeviceLogic; |
| | | using Shared.Phone.UserCenter; |
| | |
| | | roomPageView.Height = Application.GetRealHeight(478); |
| | | this.AddChidren(roomPageView); |
| | | //突出边距 |
| | | roomPageView.TCBJ = Application.GetRealWidth(112); |
| | | roomPageView.TCBJ = Application.GetRealWidth(124); |
| | | //两个page之间的间距 |
| | | roomPageView.JMBJ = Application.GetRealWidth(69); |
| | | roomPageView.JMBJ = Application.GetRealWidth(58); |
| | | |
| | | //当前房间 |
| | | var rList = HdlRoomLogic.Current.GetRoomsByCurrentFloorIdAppendLoveRoom(); |
| | |
| | | roomPageView.AddChidren(roomView); |
| | | roomView.Init(room); |
| | | roomView.HideName(true); |
| | | roomView.action += () => |
| | | { |
| | | this.ShowForm(); |
| | | }; |
| | | } |
| | | //设置房间的初始选择 |
| | | var curIndex = rList.FindIndex((obj) => obj.Id == HdlRoomLogic.Current.CurrentRoom.Id); |