From 8aa777aedd7492b7f2e28a172c2874f4ee7366a1 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 18 三月 2022 10:46:27 +0800
Subject: [PATCH] 暂时移除离线功能

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index d93097d..15e8fd4 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -210,11 +210,11 @@
                     Function function_online = FunctionList.List.GetLightList().Find((obj) => obj.sid == "0001017DB92D2602020100010101");
                     if(ddd%2 == 0)
                     {
-                        function_online.online = true;
+                        function_online.online2d = true;
                     }
                     else
                     {
-                        function_online.online = false;
+                        function_online.online2d = false;
                     }
                     HomePage.LoadEvent_RefreshDevcieOnline(function_online);
                     
@@ -953,7 +953,7 @@
                     index++;
 
 
-                    if (!function.online)
+                    if (!function.online2d)
                     {
                         btnbg.UnSelectedImagePath = "Collection/FunctionOfflineBg.png";
                     }
@@ -1350,7 +1350,7 @@
                     TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                     TextAlignment = TextAlignment.CenterLeft,
                     Tag = "OnlineTag",
-                    Visible = !function.online
+                    Visible = !function.online2d
                 };
                 view.AddChidren(btnOffline);
 

--
Gitblit v1.8.0