From eda3fb873e59544ff36301b51e05aef64f87b0f9 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期五, 27 八月 2021 13:21:21 +0800 Subject: [PATCH] Merge branch 'newBranch1' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into newBranch1 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs new file mode 100644 index 0000000..1ad98aa --- /dev/null +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicAddView.cs @@ -0,0 +1,45 @@ +锘縰sing System; +using Shared; +namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView +{ + public class LogicAddView + { + /// <summary> + /// 涓绘帶浠� + /// </summary> + public FrameLayout frameLayout = new FrameLayout + { + Height = Application.GetRealHeight(80), + Width = Application.GetRealWidth(343), + BackgroundColor = CSS.CSS_Color.view, + X = Application.GetRealWidth(LogicView.TextSize.left16), + }; + /// <summary> + /// 娣诲姞璁惧绫诲瀷鐨勫浘鏍囨帶浠� + /// </summary> + public Button btnAddIcon= new Button + { + Width = Application.GetRealWidth(20), + Height = Application.GetRealWidth(20), + UnSelectedImagePath = "LogicIcon/addconditiontarget.png", + Y = Application.GetRealHeight(22), + X = Application.GetRealWidth(162), + }; + public Button btnClick = new Button + { + Height = Application.GetRealHeight(80), + Width = Application.GetRealWidth(343), + }; + + /// <summary> + /// 杩斿洖鐖舵帶浠剁殑鏂规硶 + /// </summary> + /// <returns></returns> + public FrameLayout FLayoutView() + { + frameLayout.AddChidren(btnAddIcon); + frameLayout.AddChidren(btnClick); + return frameLayout; + } + } +} -- Gitblit v1.8.0