From a46cd0adb5af29e8a9cf47c219475acaedfcf839 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 01 十二月 2020 17:09:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/WJC'

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs |   87 +++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 87 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs
new file mode 100644
index 0000000..28aac76
--- /dev/null
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs
@@ -0,0 +1,87 @@
+锘縰sing System;
+using Shared;
+
+namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView
+{
+    public class TopView
+    {
+        #region 鏈�涓婇潰閭e潡鎺т欢
+        /// <summary>
+        /// 鏈�涓婇潰鍧梀iew
+        /// </summary>
+        public FrameLayout frameLayout = new FrameLayout 
+        {
+            BackgroundColor = CSS.CSS_Color.viewTop,
+            Height = Application.GetRealHeight(64),
+            Width = Application.GetRealWidth(375),
+        };
+        /// <summary>
+        /// 鏍囬Btn
+        /// </summary>
+        public Button topNameBtn = new Button
+        {
+            TextSize = TextSize.text18,
+            TextColor = CSS.CSS_Color.textColor,
+            Width = Application.GetRealWidth(TextSize.view375-60-60),
+            Height = Application.GetRealHeight(25),
+            Y = Application.GetRealHeight(30),
+            X = Application.GetRealWidth(60)
+        };
+        /// <summary>
+        /// 鍚庨��Btn
+        /// </summary>
+        public Button backBtn = new Button
+        {
+            Width = Application.GetRealWidth(12),
+            Height = Application.GetRealHeight(20),
+            X = Application.GetRealWidth(TextSize.left16),
+            Y = Application.GetRealHeight(32),
+            UnSelectedImagePath = "LogicIcon/back.png",
+
+        };
+        /// <summary>
+        /// 璁剧疆鍥炬爣Btn
+        /// </summary>
+        public Button setBtn = new Button
+        {
+            Y = Application.GetRealHeight(28),
+            X = Application.GetRealWidth(337),
+            Width = Application.GetMinRealAverage(32),
+            Height = Application.GetMinRealAverage(32),
+            UnSelectedImagePath = "LogicIcon/set.png",
+            Visible = false,
+        };
+        /// <summary>
+        /// 澧炲姞鐑敭澶у皬Btn
+        /// </summary>
+        public Button clickBackBtn = new Button
+        {
+            Width = Application.GetRealWidth(16 + 12 + 16),
+            Height = Application.GetRealHeight(64),
+        };
+        /// <summary>
+        /// 璁剧疆鍥炬爣澧炲姞鐑敭澶у皬
+        /// </summary>
+        public Button clickSetBtn = new Button 
+        {
+            X = Application.GetRealWidth(337 - 37),
+            Width = Application.GetMinRealAverage(28 + 37),
+            Height = Application.GetMinRealAverage(28 + 7 + 29),
+        };
+        /// <summary>
+        /// 鏈�涓婇潰鐨勯偅鍧楁柟娉�
+        /// </summary>
+        /// <returns></returns>
+        public FrameLayout FLayoutView()
+        {
+            frameLayout.AddChidren(topNameBtn);
+            frameLayout.AddChidren(backBtn);
+            frameLayout.AddChidren(setBtn);
+            frameLayout.AddChidren(clickBackBtn);
+            frameLayout.AddChidren(clickSetBtn);
+            return frameLayout;
+        }
+        #endregion
+    }
+}
+

--
Gitblit v1.8.0