異常同步 自動執行 debug

This commit is contained in:
cesar liu 2022-08-22 16:37:56 +08:00
parent 3e9130bbf4
commit b3b1f1a5b5

View File

@ -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分鐘跑一次
@ -124,7 +124,6 @@ namespace solarApp
btSyncErr.PerformClick();
lbMsgTitle.Text = "異常處理 done" + DateTime.Now.ToString() ;
autoTask = false;
//bt_archive_Click.PerformClick();
}
@ -319,7 +318,7 @@ namespace solarApp
sensorSvc.isFirst = false;
}
}
autoTask = true;
lbMsgTitle.Text = System.DateTime.Now.ToString() + " 完成!";
}