From f16fd06aa226e9f97a27858624d4ea7cf8975d25 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 07 五月 2024 17:24:38 +0800 Subject: [PATCH] 增加了萤石摄像头 --- HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs index 86b8c59..3088b95 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs @@ -41,14 +41,16 @@ contentView = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(64), - Height = Application.GetRealHeight(527), + Y = Application.GetRealHeight(64+10), + Height = Application.GetRealHeight(527-10), }; bodyView.AddChidren(contentView); if (string.IsNullOrEmpty(title)) { - new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity)); + topView.maginY = 10; + topView.LoadTopView(); #region 甯冮槻淇℃伅 var deploymentTitleRow = new FrameLayout() { @@ -166,7 +168,9 @@ } else { - new TopViewDiv(bodyView, title).LoadTopView(); + var topView = new TopViewDiv(bodyView, title); + topView.maginY = 10; + topView.LoadTopView(); securityAlarm.status = "enable"; } @@ -315,7 +319,6 @@ { var tip = new Tip() { - MaxWidth = Application.GetRealWidth(300), Text = Language.StringByID(StringId.PleaseEnterSecurityName),// = "璇疯緭鍏ュ畨闃插悕绉�", CloseTime = 3, Direction = AMPopTipDirection.None @@ -328,7 +331,6 @@ { var tip = new Tip() { - MaxWidth = Application.GetRealWidth(300), Text = Language.StringByID(StringId.PleaseSelectTheDeploymentTarget),// "璇烽�夋嫨甯冮槻鐩爣", CloseTime = 3, Direction = AMPopTipDirection.None @@ -701,7 +703,6 @@ CloseTime = 1, Text = Language.StringByID(StringId.NameCannotBeEmpty), Direction = AMPopTipDirection.None, - MaxWidth = Application.GetRealWidth(300), }.Show(bodyView); return; } -- Gitblit v1.8.0