From 6eb21769c74cfcd10084f73ff3f212355849a3c7 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 17 五月 2021 15:00:13 +0800
Subject: [PATCH] 2021-5-17-2
---
HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
index 047b701..ee08deb 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
@@ -49,6 +49,17 @@
timeHorizonView.btnText.TextID = StringId.timeHorizon;
viewLayout.AddChidren(timeHorizonView.FLayoutView());
+
+ //鏃ュ嚭/鏃ヨ惤/姝e崍
+ LogicView.SelectTypeView timeSpecialView = new LogicView.SelectTypeView();
+ timeSpecialView.frameLayout.Y = timeHorizonView.frameLayout.Bottom;
+ timeSpecialView.btnIcon.Visible = false;
+ timeSpecialView.btnText.X = Application.GetRealWidth(16);
+ timeSpecialView.btnLine.X = Application.GetRealWidth(16);
+ timeSpecialView.btnLine.Width = Application.GetRealWidth(375 - 16 - 16);
+ timeSpecialView.btnText.TextID = StringId.timespecia;
+ viewLayout.AddChidren(timeSpecialView.FLayoutView());
+
#endregion
#region 鏃堕棿鐐� 鏃堕棿鑼冨洿鐐瑰嚮浜嬩欢
@@ -78,7 +89,15 @@
TimeHorizon(fLayout, false, 0);
};
+ //鏃ュ嚭/鏃ヨ惤/姝e崍鐐瑰嚮浜嬩欢
+ timeSpecialView.btnClick.MouseUpEventHandler += (sen, e) =>
+ {
+ SpeciaTime speciaTime = new SpeciaTime();
+ MainPage.BasePageView.AddChidren(speciaTime);
+ speciaTime.Show();
+ MainPage.BasePageView.PageIndex = MainPage.BasePageView.ChildrenCount - 1;
+ };
#endregion
}
--
Gitblit v1.8.0