From e1ac4ab0e68024e6289e0b11756962d662749b04 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 16 三月 2021 17:15:23 +0800 Subject: [PATCH] Revert "Merge branch 'WJC' of http://172.16.1.23:6688/r/~wxr/HDL_APP_Project into WJC" --- HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs index aa73f74..57119a2 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/ClothesHangerPage.cs @@ -405,7 +405,6 @@ { lightingView.SetViewStatus(lightTemp.state == "on"); } - Console.WriteLine($"鏃堕棿鎴筹細{device.time_stamp} 鏃堕棿锛歿device.GeteTime()} 鐑樺共:{hotDryTemp.state} 椋庡共:{windDryTemp.state} 娑堟瘨:{disinfectTemp.state} 鐏厜鐘舵�侊細{lightTemp.state}"); #endregion #region 淇敼鏃堕棿 @@ -493,26 +492,10 @@ public void ChangeTime(string newTime) { int.TryParse(newTime, out leftTime); - if (leftTime > 0) - { - Application.RunOnMainThread(() => - { - btnTime.Text = new TimeSpan(0, leftTime, 0).ToString().Remove(5, 3); - }); - leftTime--; - } - else if (leftTime == 0) - { - Application.RunOnMainThread(() => - { - btnTime.Text = ""; - }); - } if (countdownThread == null) { countdownThread = new System.Threading.Thread(() => { - while (true) { if (leftTime > 0) -- Gitblit v1.8.0