From ec5a167e0366a75642e45dbd30817c1c8ae57e79 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 11 九月 2023 15:34:29 +0800 Subject: [PATCH] 备份 --- OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs | 34 ---------------------------------- 1 files changed, 0 insertions(+), 34 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs index 45d8975..d7b87d4 100644 --- a/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs +++ b/OnPro/HDL_ON/UI/UI2/2-Classification/FunctionControlZoneBLL.cs @@ -9,20 +9,6 @@ { public partial class FunctionControlZone { - /// <summary> - /// 鏇存柊鍦ㄧ嚎鐘舵�� - /// </summary> - public void UpdataOnline(bool online) - { - if (bodyDiv != null) - { - Application.RunOnMainThread(() => - { - bodyDiv.BackgroundColor = online ? CSS_Color.MainBackgroundColor : CSS_Color.PromptingColor2; - bodyDiv.btnOffline.Visible = !online; - }); - } - } /// <summary> /// 鍔犺浇鍔熻兘鏀惰棌鎸夐挳浜嬩欢 @@ -44,16 +30,6 @@ btnSwitch.MouseUpEventHandler = (sender, e) => { - if (!function.isOnline())//绂荤嚎涓嶅厑璁告搷浣� - { - new Tip() - { - CloseTime = 1, - Text = Language.StringByID(StringId.DeviceOfflineCannotOption), - Direction = AMPopTipDirection.None, - }.Show(MainPage.BaseView); - return; - } btnSwitch.IsSelected = !btnSwitch.IsSelected; @@ -82,16 +58,6 @@ /// </summary> void LoadEvent_LightDimming(DiyImageSeekBar dimmerControlBar) { - if (!function.isOnline())//绂荤嚎涓嶅厑璁告搷浣� - { - //new Tip() - //{ - // CloseTime = 1, - // Text = Language.StringByID(StringId.DeviceOfflineCannotOption), - // Direction = AMPopTipDirection.None, - //}.Show(MainPage.BaseView); - return; - } if (function.spk == SPK.LightDimming || function.spk == SPK.LightRGB || function.spk == SPK.LightCCT) { dimmerControlBar.OnStartTrackingTouchEvent = (sender, e) => { -- Gitblit v1.8.0