From bfb3d0d4879dca8c59ff287c92f5113162f3a33a Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 27 八月 2024 15:22:48 +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