From 9bc98adfcb5ec7ccf54a94f9cd2906d0351b72a5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 16 十二月 2020 10:56:46 +0800 Subject: [PATCH] Update AndroidManifest.xml --- HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/AddTarget.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs similarity index 96% rename from HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/AddTarget.cs rename to HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs index f11d554..602a55d 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/AddTarget.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs @@ -47,10 +47,11 @@ delayView.frameLayout.Y = sceneView.frameLayout.Bottom; delayView.btnText.TextID = StringId.delayLogic; delayView.btnIcon.UnSelectedImagePath = "LogicIcon/delayed.png"; - viewLayout.AddChidren(delayView.FLayoutView()); + //viewLayout.AddChidren(delayView.FLayoutView()); #endregion #region 鎵�鏈夌偣鍑讳簨浠� + //鍔熻兘鐐瑰嚮浜嬩欢 functionView.btnClick.MouseUpEventHandler += (sen, e) => { FunTpye funTpye = new FunTpye(); @@ -59,7 +60,7 @@ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; }; - + //鍦烘櫙鐐瑰嚮浜嬩欢 sceneView.btnClick.MouseUpEventHandler += (sen, e) => { @@ -70,7 +71,7 @@ this.AddChidren(fLayout); SceneMethod(fLayout); }; - + //寤舵椂鐐瑰嚮浜嬩欢 delayView.btnClick.MouseUpEventHandler += (sen, e) => { @@ -153,6 +154,8 @@ Output outputDevice = new Output(); outputDevice.target_type = "2"; outputDevice.sid = sceneSelecetd.sid; + //娌″暐浣滅敤锛屼负浜嗘暟鎹牸寮忕粺涓�,鍙戦�佹椂涓嶅啀鍒ゆ柇 + outputDevice.status = new List<Dictionary<string, string>> { new Dictionary<string, string> { { "key", "scene"},{ "value", "0" } } }; AddOutput(outputDevice); fLayout.RemoveFromParent(); LogicMethod.RemoveAllView(); -- Gitblit v1.8.0