From 6992dfd5cd06481ee251e72b6d28e0221ea9276b Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期五, 04 十二月 2020 16:04:45 +0800
Subject: [PATCH] 2020-12-04-3

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
index c706c8c..13f658b 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TargetDeviceFunList.cs
@@ -81,6 +81,12 @@
                         LogicView.FunTypeView curtainSwitchView = new LogicView.FunTypeView();
                         curtainSwitchView.btnText.TextID = StringId.switchLogic;
                         fLayout.AddChidren(curtainSwitchView.FLayoutView());
+
+                        ///妯″紡
+                        LogicView.FunTypeView acModehView = new LogicView.FunTypeView();
+                        acModehView.frameLayout.Y = curtainSwitchView.frameLayout.Bottom;
+                        acModehView.btnText.TextID = StringId.switchLogic;
+                        fLayout.AddChidren(acModehView.FLayoutView());
                         #endregion
                         #region 鐐瑰嚮浜嬩欢
                         ///寮�鍏崇偣鍑讳簨浠�
@@ -88,6 +94,15 @@
                         {
                             SwitchViewMethod(device, curtainSwitchView.btnState, 2);
                         };
+                        acModehView.btnClick.MouseUpEventHandler += (sender, e) =>
+                        {
+                            FrameLayout frame = new FrameLayout
+                            {
+                                BackgroundColor = CSS.CSS_Color.viewTrans60lucence,
+                            };
+                            this.AddChidren(frame);
+                          
+                        };
                         if (edit)
                         {
                             GetEditState(device, index, curtainSwitchView.btnState, null, null, null);

--
Gitblit v1.8.0