wxr
2024-09-30 dc9a1b15bb69227e19afc070adf58156a362d2a2
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)
            {