From b3b1f1a5b5f924ef3766cc0f186cf1da8e0d7208 Mon Sep 17 00:00:00 2001 From: cesar liu Date: Mon, 22 Aug 2022 16:37:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=B0=E5=B8=B8=E5=90=8C=E6=AD=A5=20?= =?UTF-8?q?=E8=87=AA=E5=8B=95=E5=9F=B7=E8=A1=8C=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- solarApp/fmArchive.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/solarApp/fmArchive.cs b/solarApp/fmArchive.cs index cf78d38..76fae44 100644 --- a/solarApp/fmArchive.cs +++ b/solarApp/fmArchive.cs @@ -113,7 +113,7 @@ namespace solarApp dtSelect1.Value = System.DateTime.Now.AddDays(-1); dtSelect2.Value = System.DateTime.Now.AddDays(-1); bt_archive.PerformClick(); - //bt_archive_Click.PerformClick(); + autoTask = false; } //異常處理 每 5分鐘跑一次 @@ -123,8 +123,7 @@ namespace solarApp lbMsgTitle.Text = "異常處理 " + DateTime.Now.ToString() + " timer start"; btSyncErr.PerformClick(); lbMsgTitle.Text = "異常處理 done" + DateTime.Now.ToString() ; - autoTask = false; - //bt_archive_Click.PerformClick(); + autoTask = false; } @@ -319,7 +318,7 @@ namespace solarApp sensorSvc.isFirst = false; } } - autoTask = true; + lbMsgTitle.Text = System.DateTime.Now.ToString() + " 完成!"; }