From 4e95d87dec43de5f7e8bd6ef579053c1fb44414d Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期日, 22 九月 2024 22:09:54 +0800 Subject: [PATCH] 西墨可视对讲 --- HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs | 46 +++------------------------------------------- 1 files changed, 3 insertions(+), 43 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs index dc884e4..0311623 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/FunctionBaseInfoSetPage.cs @@ -53,12 +53,6 @@ actionRefresh = action; } - public FunctionBaseInfoSetPage() - { - bodyView = this; - - } - public override void RemoveFromParent() { new System.Threading.Thread(() => @@ -90,10 +84,10 @@ ScrollEnabled = false, }; bodyView.AddChidren(contentView); - //鍙瀵硅 - if(function == null) - { + //鍙瀵硅 + if (function.spk == SPK.LinphoneXiMo) + { var linphoneConnectView = new FrameLayout() { Height = Application.GetRealHeight(55), @@ -250,8 +244,6 @@ return; } - - #region name view @@ -741,38 +733,6 @@ } #endregion -#if stage2 - #region 娣诲姞鍒版闈� - var addToDesktopView = new FrameLayout() - { - Height = Application.GetRealHeight(55), - BackgroundColor = CSS_Color.MainBackgroundColor, - }; - contentView.AddChidren(addToDesktopView); - - var btnAddToDesktopText = new Button() - { - X = Application.GetRealWidth(16), - Width = Application.GetRealWidth(160), - TextAlignment = TextAlignment.CenterLeft, - TextColor = CSS_Color.FirstLevelTitleColor, - TextSize = CSS_FontSize.SubheadingFontSize, - TextID = StringId.AddToDesktop, - }; - addToDesktopView.AddChidren(btnAddToDesktopText); - - var btnAddToDesktopRight = new Button() - { - X = Application.GetRealWidth(339), - Gravity = Gravity.CenterVertical, - Width = Application.GetMinRealAverage(16), - Height = Application.GetMinRealAverage(16), - UnSelectedImagePath = "Public/RightIcon.png", - }; - addToDesktopView.AddChidren(btnAddToDesktopRight); - - #endregion -#endif if (function.spk == SPK.ElectricEnergy) { -- Gitblit v1.8.0