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() + " 完成!"; }