| | |
| | | } |
| | | }); |
| | | runCount++; |
| | | System.Threading.Thread.Sleep(8); |
| | | System.Threading.Thread.Sleep(12); |
| | | } |
| | | Application.RunOnMainThread(() => |
| | | { |
| | |
| | | Height = Application.GetRealWidth(192 + 20),//2020-12-01 房间图片比例改回16:9 |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | Tag = room.roomId, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | roomListView.AddChidren(roomView); |
| | | |
| | |
| | | Height = Application.GetRealWidth(70 + 20), |
| | | Radius = (uint)Application.GetRealWidth(12), |
| | | Tag = room.roomId, |
| | | BackgroundColor = CSS_Color.BackgroundColor, |
| | | BackgroundColor = CSS_Color.MainBackgroundColor, |
| | | }; |
| | | roomListView.AddChidren(roomView); |
| | | LoadSmallPirtureRoomRow(roomView, room); |
| | |
| | | roomView.RemoveAll(); |
| | | roomFloorChangeView.BackgroundColor = roomListView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | roomView.BackgroundColor = CSS_Color.BackgroundColor; |
| | | //roomView.BackgroundColor = CSS_Color.MainBackgroundColor; |
| | | |
| | | |
| | | var viewbg = new ImageView() |
| | | var viewbg = new Button() |
| | | { |
| | | Width = Application.GetRealWidth(343), |
| | | Height = Application.GetRealWidth(70), |
| | |
| | | |
| | | var btnAllClose = new Button() |
| | | { |
| | | X = Application.GetRealWidth(288), |
| | | Y = Application.GetRealWidth(10), |
| | | Width = Application.GetMinRealAverage(58), |
| | | Height = Application.GetMinRealAverage(58), |
| | | X = Application.GetRealWidth(278), |
| | | Y = Application.GetRealWidth(15), |
| | | Width = Application.GetMinRealAverage(50), |
| | | Height = Application.GetMinRealAverage(50), |
| | | UnSelectedImagePath = "Classification/Room/AllCloseIcon2.png", |
| | | Tag = "AllClose", |
| | | Visible = false |
| | |
| | | functionOnCount = FunctionList.List.GetAirFreshList().FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | break; |
| | | case ShowFunction.Music: |
| | | //functionCount = Music.A31MusicModel.A31MusicModelList.Count; |
| | | //functionOnCount = Music.A31MusicModel.A31MusicModelList.FindAll((obj) => obj.trait_on_off.curValue.ToString() == "on").Count; |
| | | //if(functionCount == 0) |
| | | //{ |
| | | // functionCount = FunctionList.List.GetMusicList().Count; |
| | | //} |
| | | functionCount = 1; |
| | | functionCount = FunctionList.List.GetMusicList().Count; |
| | | break; |
| | | case ShowFunction.Panel: |
| | | break; |