This commit is contained in:
JiaHao Liu 2021-12-14 19:16:46 +08:00
parent 27499fa70f
commit 7510b7432f

View File

@ -317,11 +317,11 @@ namespace solarApp
private void btInvDay_oldData_Click(object sender, EventArgs e)
{
procInvSvc invSvc = new procInvSvc();
foreach (DateTime day in EachDay(DateTime.Parse(date1), DateTime.Parse(date2)))
{
invSvc.report_invDay(lbSiteID_sensor.Text.Substring(0, 9), day.ToString("yyyy-MM-dd"));
}
//procInvSvc invSvc = new procInvSvc();
//foreach (DateTime day in EachDay(DateTime.Parse(date1), DateTime.Parse(date2)))
//{
// invSvc.report_invDay(lbSiteID_sensor.Text.Substring(0, 9), day.ToString("yyyy-MM-dd"));
//}
}
}
}