From 56b417e5bcdf4f34ddcda8c7e56fbac6584e615e Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 07 十二月 2020 17:24:54 +0800
Subject: [PATCH] 2020-12-7-02
---
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs | 46 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 1 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 6096f7f..0fd5f05 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TimeView.cs
@@ -77,7 +77,7 @@
fLayout.AddChidren(frameLayout);
}
/// <summary>
- /// 鑾峰彇24灏忔椂鍒楄〃
+ /// 鑾峰彇1-24灏忔椂鍒楄〃
/// </summary>
/// <returns></returns>
public List<string> GethStringList()
@@ -85,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)
{
@@ -131,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