From 1abb88e79c293770474017a4b0b7bc4b7d95c53d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 23 三月 2022 15:14:00 +0800 Subject: [PATCH] 去掉在离线状态 --- HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs index df24dfd..cff1381 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionControlZone.cs @@ -230,21 +230,21 @@ bodyDiv.AddChidren(btnCollectionIcon); } - if (!function.online2d) - { - 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); - } + //if (!function.online) + //{ + // 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