| | |
| | | }); |
| | | #endregion |
| | | |
| | | #region 组号 |
| | | //var grounpView = new FrameLayout() |
| | | //{ |
| | | // Height = Application.GetRealWidth(50), |
| | | //}; |
| | | //contentView.AddChidren(grounpView); |
| | | |
| | | //Button btnGroupTitle = new Button() |
| | | //{ |
| | | // X = Application.GetRealWidth(16), |
| | | // //Width = Application.GetRealWidth(90), |
| | | // TextAlignment = TextAlignment.CenterLeft, |
| | | // TextColor = CSS_Color.FirstLevelTitleColor, |
| | | // TextSize = CSS_FontSize.TextFontSize, |
| | | // Text = "组号" |
| | | //}; |
| | | //grounpView.AddChidren(btnGroupTitle); |
| | | |
| | | //var etGroup = new EditText() |
| | | //{ |
| | | // TextAlignment = TextAlignment.CenterRight, |
| | | // Width = Application.GetRealWidth(350), |
| | | // Text = scene.group, |
| | | // TextColor = CSS_Color.PromptingColor1, |
| | | // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, |
| | | // IsNumberKeyboardType = true |
| | | //}; |
| | | //grounpView.AddChidren(etGroup); |
| | | //etGroup.TextChangeEventHandler = (sender, e) => { |
| | | // scene.group = e; |
| | | //}; |
| | | |
| | | |
| | | //Button btnGroupLine = new Button() |
| | | //{ |
| | | // Y = Application.GetRealWidth(49), |
| | | // Gravity = Gravity.CenterHorizontal, |
| | | // Height = Application.GetRealHeight(1), |
| | | // Width = Application.GetRealWidth(343), |
| | | // BackgroundColor = CSS_Color.DividingLineColor, |
| | | //}; |
| | | //grounpView.AddChidren(btnGroupLine); |
| | | |
| | | #endregion |
| | | |
| | | #region 场景延时row |
| | | if (DB_ResidenceData.Instance.GatewayType == 1) |
| | | { |
| | |
| | | var tempScene = sceneList.Find((obj) => obj.userSceneId == scene.userSceneId); |
| | | if (tempScene != null) |
| | | { |
| | | scene.functions = tempScene.functions; |
| | | scene = tempScene; |
| | | } |
| | | Application.RunOnMainThread(() => |
| | | { |
| | | btnSceneName.Text = scene.name; |
| | | //etGroup.Text = scene.group; |
| | | LoadFunctionRow(); |
| | | waitPage.Hide(); |
| | | waitPage.RemoveFromParent(); |