mac
2024-07-25 3f6685c77beeb12baf840733fb890860f4c26e7c
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);
@@ -166,6 +174,7 @@
                            inValue = "alarm";
                            break;
                        case SPK.SensorPir:
                        case SPK.SensorPirHold:
                            inKey = "people_status";
                            break;
                        case SPK.SensorSmoke: