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/TimeTpye.cs |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
index 3db439e..634e7b0 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs
@@ -155,7 +155,7 @@
                     //娣诲姞涓�涓柊鐨勬椂闂寸偣鏉′欢
                     Logic.currlogic.input.Add(inputTime);
                 }
-                RemoveViewByTag("Logic");
+                LogicMethod.RemoveAllView();
                 AddLogic addLogic = new AddLogic();
                 MainPage.BasePageView.AddChidren(addLogic);
                 addLogic.Show();
@@ -173,7 +173,6 @@
         {
             #region 鐣岄潰甯冨眬
             LogicView.TimeHorizonView timeHorizonView = new LogicView.TimeHorizonView();
-            timeHorizonView.frameLayout.SetCornerWithSameRadius(12, HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight | HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight);
             timeHorizonView.FLayoutView(fLayout);
             //寮�濮嬫椂闂�
             LogicView.SelectTypeView startTimeView = new LogicView.SelectTypeView();
@@ -200,7 +199,7 @@
 
             //缁撴潫鏃堕棿
             LogicView.SelectTypeView endTimeView = new LogicView.SelectTypeView();
-            endTimeView.frameLayout.SetCornerWithSameRadius(12, HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight);
+            endTimeView.frameLayout.SetCornerWithSameRadius(Application.GetRealHeight(12), HDLUtils.RectCornerBottomLeft | HDLUtils.RectCornerBottomRight);
             endTimeView.frameLayout.Y = startTimeView.frameLayout.Bottom;
             endTimeView.btnIcon.Visible = false;
             endTimeView.btnLine.Visible = false;
@@ -280,7 +279,7 @@
                     //娣诲姞涓�涓柊鐨勬椂闂寸偣鏉′欢
                     Logic.currlogic.input.Add(inputTime);
                 }
-                RemoveViewByTag("Logic");
+                LogicMethod.RemoveAllView();
                 AddLogic addLogic = new AddLogic();
                 MainPage.BasePageView.AddChidren(addLogic);
                 addLogic.Show();

--
Gitblit v1.8.0