From 9a4b76398009cf76c508d61f7e48fb6f5cb7ac2d Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期二, 21 七月 2020 09:46:53 +0800 Subject: [PATCH] 请合并最新多功能面板代码 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs index 0bb7c0b..a292f9d 100755 --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/TipView.cs @@ -275,7 +275,7 @@ ShowErrorTip(Language.StringByID(R.MyInternationalizationString.timeNull),true); return; } - if (int.Parse(editTime.Text) < 1 || int.Parse(editTime.Text) > 12) + if (int.Parse(editTime.Text) < 1 || int.Parse(editTime.Text) > 12|| int.Parse(editTime.Text)>(int.MaxValue-1)) { ///闄愬埗杈撳叆鏁板瓧鑼冨洿; string str = Language.StringByID(R.MyInternationalizationString.less) + Language.StringByID(R.MyInternationalizationString.or) + Language.StringByID(R.MyInternationalizationString.more); ShowErrorTip(str, true); @@ -469,7 +469,7 @@ TextSize = 14, }; tipFLayout.AddChidren(Text1Btn); - + new System.Threading.Thread(() => { System.Threading.Thread.Sleep(timeValue*1000); @@ -482,3 +482,5 @@ } } } + + -- Gitblit v1.8.0