From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 03 十二月 2020 15:35:42 +0800
Subject: [PATCH] 2020-12-03-1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
index 9263d75..1356c70 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
@@ -10,7 +10,7 @@
         public FrameLayout frameLayout = new FrameLayout
         {
             X = Application.GetRealWidth(16),
-            Y = Application.GetRealHeight(12),
+            //Y = Application.GetRealHeight(12),
             Width = Application.GetRealWidth(343),
             Height = Application.GetRealHeight(102),
             BackgroundColor = CSS.CSS_Color.view,
@@ -77,8 +77,17 @@
             Y = Application.GetRealHeight(58),
             X = Application.GetRealWidth(295),
             UnSelectedImagePath = "LogicIcon/off.png",
+            SelectedImagePath = "LogicIcon/on.png",
 
-    };
+        };
+        /// <summary>
+        /// 鍥炬爣寮�鍏�
+        /// </summary>
+        public Button btnclick= new Button
+        {
+            Width = Application.GetRealWidth(343),
+            Height = Application.GetRealHeight(102),
+        };
 
         /// <summary>
         /// View鐨勬柟娉�
@@ -90,6 +99,7 @@
             frameLayout.AddChidren(btnWeekText);
             frameLayout.AddChidren(btnStateIcon);
             frameLayout.AddChidren(btnLienIcon);
+            frameLayout.AddChidren(btnclick);
             frameLayout.AddChidren(btnSwitchIcon);
             return frameLayout;
         }

--
Gitblit v1.8.0