From f49856cb0e1e9d95fe11bb64054a407f69943d16 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 30 十一月 2020 19:34:35 +0800 Subject: [PATCH] 2020-11-30-1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs index d483d6b..5f3a71b 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/InpOrOutLogicMethod.cs @@ -196,6 +196,26 @@ } } break; + case "2": + { + //鐢╯id鎵惧埌鍦烘櫙锛� + var scene = LogicMethod.GetSecne(outputTarget.sid); + targetView.btnIcon.UnSelectedImagePath = "LogicIcon/scene.png"; + targetView.btnNextIcon.Visible = false; + //鏄剧ず鍦烘櫙鍚嶇О + targetView.btnText.Text = scene.name; + } + break; + case "3": + { + targetView.btnIcon.UnSelectedImagePath = "LogicIcon/delayed.png"; + foreach (var dic in dicList) + { + string value = dic["value"]; + targetView.btnText.Text =value; + } + } + break; } //鍐嶆缂栬緫鏉′欢鐘舵�佺偣鍑讳簨浠� targetView.btnClick.MouseUpEventHandler += (sen, e) => @@ -219,6 +239,20 @@ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1; } break; + case "3": + { + + FrameLayout fLayout = new FrameLayout + { + BackgroundColor = CSS.CSS_Color.viewTrans60lucence, + }; + thisView.AddChidren(fLayout); + AddTarget addTarget = new AddTarget(); + addTarget.Delayed(fLayout, edit, indexVulae); + + + } + break; } }; } -- Gitblit v1.8.0