From 07c91e3b27d10bad17ad2f805aab7b74e24fad2b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 06 十一月 2023 14:58:48 +0800 Subject: [PATCH] 场景增加配置自动化使能;安防增加干接点触发条件 --- HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListChoosePage.cs | 41 +++++++++++++---------------------------- 1 files changed, 13 insertions(+), 28 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListChoosePage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListChoosePage.cs index c0f6581..2278e48 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListChoosePage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneFunctionListChoosePage.cs @@ -57,14 +57,15 @@ public void LoadPage() { bodyView.BackgroundColor = CSS_Color.BackgroundColor; - new TopViewDiv(bodyView, Language.StringByID(StringId.AddFunction)).LoadTopView(); - //new PublicAssmebly().LoadTopView(bodyView, Language.StringByID(StringId.AddFunction)); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddFunction)); + topView.maginY = 10; + topView.LoadTopView(); #region 鏄剧ず鐨勫姛鑳界被鍨嬪垏鎹㈠尯鍩� showdFunctionTypeRow = new FrameLayout() { - Y = Application.GetRealHeight(64), - Height = Application.GetRealHeight(62), + Y = Application.GetRealHeight(64+10), + Height = Application.GetRealHeight(50), BackgroundColor = CSS_Color.MainBackgroundColor, }; bodyView.AddChidren(showdFunctionTypeRow); @@ -93,30 +94,14 @@ }; showdFunctionTypeRow.AddChidren(btnFloor); - - //btnScreenIcon = new Button() - //{ - // Width = Application.GetMinRealAverage(16), - // Height = Application.GetMinRealAverage(16), - // X = Application.GetRealWidth(122), - // Y = Application.GetRealHeight(18), - // UnSelectedImagePath = "Public/DownIcon.png", - //}; - //showdFunctionTypeRow.AddChidren(btnScreenIcon); - - //btnScreenText = new Button() - //{ - // X = btnScreenIcon.Right, - // Y = Application.GetRealHeight(18), - // Width = Application.GetRealWidth(200), - // Height = Application.GetMinRealAverage(16), - // TextColor = CSS_Color.FirstLevelTitleColor, - // TextSize = CSS_FontSize.PromptFontSize_FirstLevel, - // TextAlignment = TextAlignment.CenterLeft, - // TextID = StringId.Screen - //}; - //showdFunctionTypeRow.AddChidren(btnScreenText); - + showdFunctionTypeRow.AddChidren(new Button() + { + Y = Application.GetRealHeight(49), + Gravity = Gravity.CenterHorizontal, + Width = Application.GetRealWidth(343), + Height = Application.GetRealWidth(1), + BackgroundColor = CSS_Color.DividingLineColor, + }); #endregion -- Gitblit v1.8.0