From 160e6863bf3ecb420986f31abb1ab1372218d921 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 11 一月 2021 14:11:35 +0800
Subject: [PATCH] Merge branch 'WJC' into NewFilePath

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs
old mode 100755
new mode 100644
index 200befd..a319a5c
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddInputType.cs
@@ -40,10 +40,18 @@
             functionView.btnText.TextID = StringId.funLogic;
             functionView.btnIcon.UnSelectedImagePath = "LogicIcon/functionicon.png";
             viewLayout.AddChidren(functionView.FLayoutView());
+
+            //瀹ゅ鍙樺寲
+            LogicView.SelectTypeView shiwaiView = new LogicView.SelectTypeView();
+            shiwaiView.frameLayout.Y = functionView.frameLayout.Bottom;
+            shiwaiView.btnText.TextID = StringId.shiwaibainhua;
+            shiwaiView.btnIcon.UnSelectedImagePath = "LogicIcon/changesinoutdoor.png";
+            viewLayout.AddChidren(shiwaiView.FLayoutView());
             #endregion
 
 
             #region  鎵�鏈夌偣鍑讳簨浠�
+            //鏃堕棿
             timeView.btnClick.MouseUpEventHandler += (sen, e) => {
                 TimeTpye timeTpye = new TimeTpye();
                 MainPage.BasePageView.AddChidren(timeTpye);
@@ -51,13 +59,20 @@
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
 
             };
-
+            //鍔熻兘
             functionView.btnClick.MouseUpEventHandler += (sen, e) => {
                 FunTpye funTpye = new FunTpye();
                 MainPage.BasePageView.AddChidren(funTpye);
                 funTpye.Show(LogicMethod.condition_if);
                 MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
             };
+            //瀹ゅ鍙樺寲
+            shiwaiView.btnClick.MouseUpEventHandler += (sen, e) => {
+                Weather weather = new Weather();
+                MainPage.BasePageView.AddChidren(weather);
+                weather.Show();
+                MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+            };
             #endregion
 
         }

--
Gitblit v1.8.0