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/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