From 50ad482974a7e838d11360a84e9e8ff3f7974ab2 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期六, 12 十月 2024 09:34:01 +0800 Subject: [PATCH] 金茂问题修复 --- HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs | 23 ++++++++++++----------- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs index 84822aa..9147b14 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/TimeTpye.cs @@ -92,11 +92,12 @@ //鏃ュ嚭/鏃ヨ惤/姝e崍鐐瑰嚮浜嬩欢 timeSpecialView.btnClick.MouseUpEventHandler += (sen, e) => { - if (string.IsNullOrEmpty( Entity.DB_ResidenceData.Instance.CurrentRegion.homeAddress))//.longitude == 0 && Entity.DB_ResidenceData.Instance.CurrentRegion.latitude == 0) - { - new PublicAssmebly().TipMsg(StringId.tip, StringId.GatewayLocationInformationIsNotConfigured); - return; - } + + //if (string.IsNullOrEmpty( Entity.DB_ResidenceData.Instance.CurrentRegion.homeAddress))//.longitude == 0 && Entity.DB_ResidenceData.Instance.CurrentRegion.latitude == 0) + //{ + // new PublicAssmebly().TipMsg(StringId.tip, StringId.GatewayLocationInformationIsNotConfigured); + // return; + //} SpeciaTime speciaTime = new SpeciaTime(); MainPage.BasePageView.AddChidren(speciaTime); speciaTime.Show(); @@ -249,12 +250,12 @@ new LogicView.TipPopView().TipBox(StringId.tip, StringId.unlikeTime); return; } - if (int.Parse(btnStartTimeText.Tag.ToString()) > int.Parse(btnEndTimeText.Tag.ToString())) - { - //鎻愮ず锛氬紑濮嬫椂闂翠笉鑳藉ぇ浜庣粨鏉熸椂闂淬�� - new LogicView.TipPopView().TipBox(StringId.tip, StringId.startTimeLessThanEndTime); - return; - } + //if (int.Parse(btnStartTimeText.Tag.ToString()) > int.Parse(btnEndTimeText.Tag.ToString())) + //{ + // //鎻愮ず锛氬紑濮嬫椂闂翠笉鑳藉ぇ浜庣粨鏉熸椂闂淬�� + // new LogicView.TipPopView().TipBox(StringId.tip, StringId.startTimeLessThanEndTime); + // return; + //} Input inputTime = new Input(); inputTime.sid = LogicMethod.Current.NewSid(); -- Gitblit v1.8.0