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/FuntionControlView/Curtain/CurtainModulePageBLL.cs | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) diff --git a/OnPro/HDL_ON/UI/UI2/FuntionControlView/Curtain/CurtainModulePageBLL.cs b/OnPro/HDL_ON/UI/UI2/FuntionControlView/Curtain/CurtainModulePageBLL.cs index 11f09af..f571b61 100644 --- a/OnPro/HDL_ON/UI/UI2/FuntionControlView/Curtain/CurtainModulePageBLL.cs +++ b/OnPro/HDL_ON/UI/UI2/FuntionControlView/Curtain/CurtainModulePageBLL.cs @@ -72,16 +72,6 @@ void LoadEvent_ControlEvent() { btnCurtainClose.MouseUpEventHandler = (sender, e) => { - if (!function.isOnline()) - { - new Tip() - { - CloseTime = 1, - Text = Language.StringByID(StringId.DeviceOfflineCannotOption), - Direction = AMPopTipDirection.None, - }.Show(MainPage.BaseView); - return; - } new System.Threading.Thread(() => { System.Threading.Thread.Sleep(2000); Application.RunOnMainThread(() => { @@ -117,16 +107,6 @@ btnCurtainStop.MouseUpEventHandler = (sender, e) => { - if (!function.isOnline()) - { - new Tip() - { - CloseTime = 1, - Text = Language.StringByID(StringId.DeviceOfflineCannotOption), - Direction = AMPopTipDirection.None, - }.Show(MainPage.BaseView); - return; - } new System.Threading.Thread(() => { System.Threading.Thread.Sleep(2000); Application.RunOnMainThread(() => { @@ -141,16 +121,6 @@ }; btnCurtainOpen.MouseUpEventHandler = (sender, e) => { - if (!function.isOnline()) - { - new Tip() - { - CloseTime = 1, - Text = Language.StringByID(StringId.DeviceOfflineCannotOption), - Direction = AMPopTipDirection.None, - }.Show(MainPage.BaseView); - return; - } new System.Threading.Thread(() => { System.Threading.Thread.Sleep(2000); Application.RunOnMainThread(() => { -- Gitblit v1.8.0