From 3532db3610381f37eca1a6ac783d882517847c91 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 31 三月 2021 15:28:49 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr
---
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..00a669b
--- /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.GetRealWidth(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.GetRealWidth(32),
+ Height = Application.GetRealWidth(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.GetRealWidth(28 + 37),
+ Height = Application.GetRealWidth(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