From 0f2e0147e8990e913d16d99bc1b94fb6bc53abd7 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期四, 03 十二月 2020 15:35:42 +0800
Subject: [PATCH] 2020-12-03-1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs |   49 +++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 47 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
index ce25d88..0fd5f05 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
@@ -15,13 +15,14 @@
             Width = Application.GetRealWidth(343),
             X = Application.GetRealWidth(16),
             BackgroundColor = CSS.CSS_Color.view,
-            //Radius=(uint)Application.GetRealHeight(12),
+            Radius=(uint)Application.GetRealHeight(12),
         };
         /// <summary>
         /// 鏃堕棿鎺т欢UIPickerView 
         /// </summary>
         public UIPickerView mUIPickerView = new UIPickerView
         {
+            //Y = Application.GetRealHeight(44),
             Height = Application.GetRealHeight(297),
             Width = Application.GetRealWidth(343),
             BackgroundColor = CSS.CSS_Color.viewTranslucence,
@@ -76,7 +77,7 @@
             fLayout.AddChidren(frameLayout);
         }
         /// <summary>
-        /// 鑾峰彇24灏忔椂鍒楄〃
+        /// 鑾峰彇1-24灏忔椂鍒楄〃
         /// </summary>
         /// <returns></returns>
         public List<string> GethStringList()
@@ -84,6 +85,33 @@
             //鍒濆鍖栧垪琛�
             var hList = new List<string>();
             for (int i = 1; i < 24; i++)
+            {
+                if (i < 10)
+                {
+                    var a = "0" + i.ToString();
+                    //娣诲姞鏁版嵁
+                    hList.Add(a + " " + Language.StringByID(StringId.h));
+                }
+                else
+                {
+                    //娣诲姞鏁版嵁
+                    hList.Add(i.ToString() + " " + Language.StringByID(StringId.h));
+                }
+
+            }
+            return hList;
+
+
+        }
+        /// <summary>
+        /// 鑾峰彇0-23灏忔椂鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public List<string> GethStringList0()
+        {
+            //鍒濆鍖栧垪琛�
+            var hList = new List<string>();
+            for (int i = 0; i < 23; i++)
             {
                 if (i < 10)
                 {
@@ -130,6 +158,23 @@
         }
 
         /// <summary>
+        /// 鑾峰彇023灏忔椂鍒楄〃
+        /// </summary>
+        /// <returns></returns>
+        public List<int> GethIntList0()
+        {
+            //鍒濆鍖栧垪琛�
+            var hList = new List<int>();
+            for (int i = 1; i < 24; i++)
+            {
+                //娣诲姞鏁版嵁
+                hList.Add(i);
+            }
+            return hList;
+
+
+        }
+        /// <summary>
         /// 鑾峰彇24灏忔椂鍒楄〃
         /// </summary>
         /// <returns></returns>

--
Gitblit v1.8.0