From 87e614af0fa31d7fd632136d95c0c7e584c28477 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期五, 26 二月 2021 13:36:10 +0800
Subject: [PATCH] 20210226-1

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index a7fbccd..22cb762 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -831,6 +831,38 @@
                     };
                 }
 
+                else if (function.spk == SPK.ClothesHanger)
+                {
+                    btnIcon.UnSelectedImagePath = "FunctionIcon/Electrical/ClothesHanger/ClothesHangerBlueIcon.png";
+                    btnIcon.SelectedImagePath = "FunctionIcon/Electrical/Curtain/ClothesHangerBlueIcon.png";
+                    Button btnUp;
+                    btnUp = new Button()
+                    {
+                        X = Application.GetRealWidth(84),
+                        Y = Application.GetRealWidth(89),
+                        Width = Application.GetRealWidth(44),
+                        Height = Application.GetRealWidth(44),
+                        UnSelectedImagePath = "FunctionIcon/Electrical/ClothesHanger/ClothesHangerUpIcon2.png",
+                        SelectedImagePath = "FunctionIcon/Electrical/ClothesHanger/ClothesHangerUpIcon2On.png",
+                    };
+                    view.AddChidren(btnUp);
+
+                    Button btnDown;
+                    btnDown = new Button()
+                    {
+                        X = btnUp.Right,
+                        Y = Application.GetRealWidth(89),
+                        Width = Application.GetRealWidth(44),
+                        Height = Application.GetRealWidth(44),
+                        UnSelectedImagePath = "FunctionIcon/Electrical/ClothesHanger/ClothesHangerDownIcon2.png",
+                        SelectedImagePath = "FunctionIcon/Electrical/ClothesHanger/ClothesHangerDownIcon2On.png",
+                    };
+                    view.AddChidren(btnDown);
+
+
+                    LoadEvent_ControlClothesHanger(function, btnUp, btnDown);
+
+                }
 
                 else
                 {

--
Gitblit v1.8.0