From eb5ac0ec2d6e262add607a7c4c7dfaeb7d59ca7f Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 08 四月 2022 10:14:29 +0800 Subject: [PATCH] 2022年04月08日10:14:24 --- HDL_ON/UI/UI2/2-Classification/FunctionPage.cs | 27 +-------------------------- 1 files changed, 1 insertions(+), 26 deletions(-) diff --git a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs index 0d410f0..82dbf52 100644 --- a/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs +++ b/HDL_ON/UI/UI2/2-Classification/FunctionPage.cs @@ -70,32 +70,7 @@ #if DEBUG - Button testBtn = new Button() - { - X = Application.GetRealWidth(80), - Height = Application.GetRealHeight(64), - BackgroundColor = 0xFFFF0000 - }; - bodyView.AddChidren(testBtn); - int ddd = 0; - testBtn.MouseUpEventHandler = (sender, e) => { - ddd++; - - Function function_online = FunctionList.List.GetLightList().Find((obj) => obj.sid == "0001017DB92D2602020100010101"); - if (ddd % 2 == 0) - { - function_online.online = true; - } - else - { - function_online.online = false; - } - HomePage.LoadEvent_RefreshDevcieOnline(function_online); - FunctionPage.UpdataOnline(function_online); - RoomPage.UpdataOnline(function_online); - - - }; + #endif /// <summary> -- Gitblit v1.8.0