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/FunAllAreaView.cs | 84 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 84 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/FunAllAreaView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/FunAllAreaView.cs new file mode 100644 index 0000000..9f803da --- /dev/null +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/FunAllAreaView.cs @@ -0,0 +1,84 @@ +锘縰sing System; +using Shared; +namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView +{ + public class FunAllAreaView + { + /// <summary> + /// 涓绘帶浠禫iew + /// </summary> + public FrameLayout frameLayout = new FrameLayout + { + Height = Application.GetRealHeight(53), + BackgroundColor = CSS.CSS_Color.view, + }; + /// <summary> + /// 绗竴涓笅鎷夊浘鏍� + /// </summary> + public Button btnIcon1 = new Button + { + Width = Application.GetRealWidth(16), + Height = Application.GetRealWidth(16), + Y = Application.GetRealHeight(19), + X = Application.GetRealWidth(TextSize.left16), + UnSelectedImagePath = "LogicIcon/down.png", + + }; + /// <summary> + /// 绗竴涓枃鏈弿杩� + /// </summary> + public Button btnText1 = new Button + { + TextSize = TextSize.text12, + Width = Application.GetRealWidth(70), + Height = Application.GetRealHeight(17), + TextColor = CSS.CSS_Color.textColor, + Y=Application.GetRealHeight(18), + X = Application.GetRealWidth(34), + TextAlignment = TextAlignment.CenterLeft, + TextID=StringId.allAreas, + + }; + + /// <summary> + /// 绗簩涓笅鎷夊浘鏍� + /// </summary> + public Button btnIcon2 = new Button + { + Width = Application.GetRealWidth(16), + Height = Application.GetRealWidth(16), + Y = Application.GetRealHeight(19), + X = Application.GetRealWidth(122), + UnSelectedImagePath = "LogicIcon/down.png", + + }; + /// <summary> + /// 绗簩涓枃鏈弿杩� + /// </summary> + public Button btnText2 = new Button + { + TextSize = TextSize.text12, + Width = Application.GetRealWidth(70), + Height = Application.GetRealHeight(17), + TextColor = CSS.CSS_Color.textColor, + Y=Application.GetRealHeight(18), + X = Application.GetRealWidth(140), + TextAlignment = TextAlignment.CenterLeft, + TextID = StringId.allFun, + }; + + /// <summary> + ///View鐨勬柟娉� + /// </summary> + /// <returns></returns> + public FrameLayout FLayoutView() + { + frameLayout.AddChidren(btnIcon1); + frameLayout.AddChidren(btnText1); + frameLayout.AddChidren(btnIcon2); + frameLayout.AddChidren(btnText2); + return frameLayout; + } + + } +} -- Gitblit v1.8.0