From c0c734d7a84cf7105401878ffc4b64cbb67621d1 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 01 十一月 2024 15:02:24 +0800 Subject: [PATCH] 更新极光Sdk531 --- HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddInputPage.cs | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddInputPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddInputPage.cs index 4f83b31..24ad0c6 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddInputPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddInputPage.cs @@ -29,12 +29,14 @@ public void LoadPage() { bodyView.BackgroundColor = CSS_Color.BackgroundColor; - new TopViewDiv(bodyView, Language.StringByID(StringId.AddDefenseFunction)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddDefenseFunction)); + topView.maginY = 10; + topView.LoadTopView(); #region 鏄剧ず鐨勫姛鑳界被鍨嬪垏鎹㈠尯鍩� var showdFunctionTypeRow = new FrameLayout() { - Y = Application.GetRealHeight(64), + Y = Application.GetRealHeight(64+10), Height = Application.GetRealHeight(53), BackgroundColor = CSS_Color.MainBackgroundColor, }; @@ -81,13 +83,19 @@ }, nowSelectId); }; + showdFunctionTypeRow.AddChidren(new Button() { + Height = 1, + Y = Application.GetRealHeight(52), + BackgroundColor = CSS_Color.DividingLineColor + }); + #endregion functionListView = new VerticalScrolViewLayout() { Y = showdFunctionTypeRow.Bottom, - Height = Application.GetRealHeight(530-60), + Height = Application.GetRealHeight(530-60-10), BackgroundColor = CSS_Color.BackgroundColor, }; bodyView.AddChidren(functionListView); @@ -182,6 +190,10 @@ inKey = "contact_status"; inValue = "open"; break; + case SPK.SensorPirHold: + inKey = "people_status"; + inValue = "true"; + break; } input.condition = new List<SecurityInputCondition>() { -- Gitblit v1.8.0