JLChen
2020-12-09 e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6
HDL_ON/UI/UI2/3-Intelligence/Automation/AddTarget.cs
File was renamed from HDL_ON/UI/UI2/3-Intelligence/Automation/Automation/AddTarget.cs
@@ -47,7 +47,7 @@
            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  所有点击事件
@@ -153,6 +153,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();