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/DateView.cs |   74 +++++++++++++++++++++++++++++++++++++
 1 files changed, 74 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/DateView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/DateView.cs
new file mode 100644
index 0000000..047aae1
--- /dev/null
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/DateView.cs
@@ -0,0 +1,74 @@
+锘縰sing System;
+using Shared;
+namespace HDL_ON.UI.UI2.Intelligence.Automation.LogicView
+{
+    public class DateView 
+    {
+        /// <summary>
+        /// 涓绘帶浠�
+        /// </summary>
+        public FrameLayout frameLayout = new FrameLayout
+        {
+            Y = Application.GetRealHeight(460),
+            Height = Application.GetRealHeight(56 + 150),
+            Width = Application.GetRealWidth(343),
+            X = Application.GetRealWidth(16),
+            BackgroundColor = CSS.CSS_Color.view,
+            Radius = (uint)Application.GetRealHeight(12),
+        };
+        /// <summary>
+        /// 鏍囬Btn
+        /// </summary>
+        public Button btnTitle = new Button
+        {
+            TextID = StringId.timeHorizon,
+            TextSize = TextSize.text16,
+            TextColor = CSS.CSS_Color.textColor,
+            IsBold = true,
+            Width = Application.GetRealWidth(343 - (52 + 4 + 10) * 2),
+            Height = Application.GetRealHeight(22),
+            Y = Application.GetRealHeight(17),
+            X = Application.GetRealWidth(52 + 4 + 10)
+        };
+        /// <summary>
+        /// 鍙栨秷Btn
+        /// </summary>
+        public Button btnCancel = new Button
+        {
+            TextID = StringId.cancelSelected,
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textCancelColor,
+            Width = Application.GetRealWidth(52),
+            Height = Application.GetRealHeight(32),
+            Y = Application.GetRealHeight(10),
+            X = Application.GetRealWidth(4)
+        };
+        /// <summary>
+        /// 纭畾Btn
+        /// </summary>
+        public Button btnConfirm = new Button
+        {
+            TextID = StringId.confirmSelected,
+            TextSize = TextSize.text14,
+            TextColor = CSS.CSS_Color.textConfirmColor,
+            Width = Application.GetRealWidth(52),
+            Height = Application.GetRealHeight(32),
+            X = Application.GetRealWidth(343 - 4 - 52),
+            Y = Application.GetRealHeight(10),
+        };
+        /// <summary>
+        /// View鐨勬柟娉�
+        /// </summary>
+        /// <param name="fLayout"></param>
+        /// <param name="i"></param>
+        public void FLayoutView(FrameLayout fLayout, int i)
+        {
+            frameLayout.Y = Application.GetRealHeight(667 - 20 - 56 - 50 * i);
+            frameLayout.Height = Application.GetRealHeight(56 + 50 * i);
+            frameLayout.AddChidren(btnTitle);
+            frameLayout.AddChidren(btnCancel);
+            frameLayout.AddChidren(btnConfirm);
+            fLayout.AddChidren(frameLayout);
+        }
+    }
+}

--
Gitblit v1.8.0