From f16e7e4df7e7813e4a3052dae752aae3e6937b30 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 08 七月 2022 16:53:12 +0800 Subject: [PATCH] 自研可视对讲、毫米波 --- HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs | 68 ++++++++++++++++++++++++++++----- 1 files changed, 57 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs index feb241d..7b0dd8e 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs @@ -107,15 +107,15 @@ }; nameView.AddChidren(btnEditName); - nameView.AddChidren( - new Button() - { - Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(49), - BackgroundColor = CSS_Color.DividingLineColor, - Width = Application.GetRealWidth(343), - Height = Application.GetRealHeight(1) - }); + //nameView.AddChidren( + // new Button() + // { + // Gravity = Gravity.CenterHorizontal, + // Y = Application.GetRealHeight(49), + // BackgroundColor = CSS_Color.DividingLineColor, + // Width = Application.GetRealWidth(343), + // Height = Application.GetRealHeight(1) + // }); #endregion if (locationSetting) @@ -164,7 +164,6 @@ new Button() { Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(54), BackgroundColor = CSS_Color.DividingLineColor, Width = Application.GetRealWidth(343), Height = Application.GetRealHeight(1) @@ -284,7 +283,7 @@ new Button() { Gravity = Gravity.CenterHorizontal, - Y = Application.GetRealHeight(54), + //Y = Application.GetRealHeight(54), BackgroundColor = CSS_Color.DividingLineColor, Width = Application.GetRealWidth(343), Height = Application.GetRealHeight(1) @@ -365,6 +364,53 @@ #endregion } + + else if (function.spk == SPK.HvacCac) + { + #region 闇茬偣娓╁害 + if (function.GetAttribute(FunctionAttributeKey.dew_point_temp) != null) + { + contentView.AddChidren(new Button + { + Height = Application.GetRealHeight(10), + }); + + var row = new FrameLayout() + { + Height = Application.GetRealHeight(55), + BackgroundColor = CSS_Color.MainBackgroundColor, + }; + contentView.AddChidren(row); + + var btnText = new Button() + { + X = Application.GetRealWidth(16), + Width = Application.GetRealWidth(160), + TextAlignment = TextAlignment.CenterLeft, + TextColor = CSS_Color.FirstLevelTitleColor, + TextSize = CSS_FontSize.SubheadingFontSize, + TextID = StringId.DewPointTemp, + }; + row.AddChidren(btnText); + + var btnValue = new Button() + { + Width = Application.GetRealWidth(355), + TextAlignment = TextAlignment.CenterRight, + TextColor = CSS_Color.PromptingColor1, + TextSize = CSS_FontSize.TextFontSize, + Text = function.GetAttrState(FunctionAttributeKey.dew_point_temp) + "掳C", + }; + row.AddChidren(btnValue); + } + #endregion + + + + + } + + LoadEventList(); } -- Gitblit v1.8.0