From 23ad902a6844438966d48deb25a89614c6ee5477 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 26 十月 2022 13:18:24 +0800
Subject: [PATCH] 金茂绿建科技系统更新

---
 HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs |   47 +++++++++++++++++++++++------------------------
 1 files changed, 23 insertions(+), 24 deletions(-)

diff --git a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
index acbc6c3..68485bc 100644
--- a/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
+++ b/HDL_ON/UI/UI2/2-Classification/ClassificationPage.cs
@@ -1073,30 +1073,29 @@
                         };
                         functionView.AddChidren(btnJMLogo);
 
-                        Button btnAcstPower = new Button()
-                        {
-                            X = Application.GetRealWidth(120),
-                            Y = specialList.Contains(index) ? Application.GetRealWidth(160) : Application.GetRealWidth(117),
-                            Width = Application.GetRealWidth(32),
-                            Height = Application.GetRealWidth(32),
-                            SelectedImagePath = "Public/PowerOpen.png",
-                            UnSelectedImagePath = "Public/PowerClose.png",
-                            IsSelected = functionOnCount > 0,
-                            Tag = item + "_AllControl",
-                        };
-                        functionView.AddChidren(btnAcstPower);
-                        btnAcstPower.MouseUpEventHandler = (sender, e) =>
-                        {
-                            btnAcstPower.IsSelected = !btnAcstPower.IsSelected;
-                            string onoff = btnAcstPower.IsSelected ? "on" : "off";
-                            Dictionary<string, string> d = new Dictionary<string, string>();
-                            d.Add(FunctionAttributeKey.OnOff, onoff);
-
-                            foreach (var temp in FunctionList.List.GetAcstParentList())
-                            {
-                                Control.Ins.SendWriteCommand(temp, d);
-                            }
-                        };
+                        //Button btnAcstPower = new Button()
+                        //{
+                        //    X = Application.GetRealWidth(120),
+                        //    Y = specialList.Contains(index) ? Application.GetRealWidth(160) : Application.GetRealWidth(117),
+                        //    Width = Application.GetRealWidth(32),
+                        //    Height = Application.GetRealWidth(32),
+                        //    SelectedImagePath = "Public/PowerOpen.png",
+                        //    UnSelectedImagePath = "Public/PowerClose.png",
+                        //    IsSelected = functionOnCount > 0,
+                        //    Tag = item + "_AllControl",
+                        //};
+                        //functionView.AddChidren(btnAcstPower);
+                        //btnAcstPower.MouseUpEventHandler = (sender, e) =>
+                        //{
+                        //    btnAcstPower.IsSelected = !btnAcstPower.IsSelected;
+                        //    string onoff = btnAcstPower.IsSelected ? "on" : "off";
+                        //    Dictionary<string, string> d = new Dictionary<string, string>();
+                        //    d.Add(FunctionAttributeKey.OnOff, onoff);
+                        //    foreach (var temp in FunctionList.List.GetAcstParentList())
+                        //    {
+                        //        Control.Ins.SendWriteCommand(temp, d);
+                        //    }
+                        //};
 
 
                         btnFunctionViewBg.MouseUpEventHandler = (sender, e) =>

--
Gitblit v1.8.0