From 2e74672eff6b971bd15b4783d43cc5c1c680d3ee Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 14 九月 2023 11:21:50 +0800
Subject: [PATCH] 删除离线状态

---
 OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs |   14 ++------------
 1 files changed, 2 insertions(+), 12 deletions(-)

diff --git a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
index 3cc6d11..fbc9ecc 100644
--- a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
+++ b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs
@@ -193,6 +193,7 @@
                 UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
                 IsSelected = function.collect
             };
+            bodyDiv.AddChidren(btnCollectionIcon);
 
         }
 
@@ -246,19 +247,8 @@
                 UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
                 IsSelected = function.collect
             };
+            bodyDiv.AddChidren(btnCollectionIcon);
 
-            bodyDiv.BackgroundColor = CSS_Color.PromptingColor2;
-            btnOffline = new Button()
-            {
-                X = Application.GetRealWidth(8 + 10 + 32),
-                Y = Application.GetRealHeight(28 + 24),
-                Height = Application.GetRealHeight(30),
-                TextID = StringId.DeviceOffline,
-                TextColor = CSS_Color.WarningColor,
-                TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
-                TextAlignment = TextAlignment.CenterLeft
-            };
-            bodyDiv.AddChidren(btnOffline);
         }
 
         /// <summary>

--
Gitblit v1.8.0