From 5d467f7600e5e3c93c5a6b9b1c590d580f71999c Mon Sep 17 00:00:00 2001 From: Shuxia Ning <NingShuxia0927@outlook.com> Date: 星期三, 07 八月 2024 10:17:11 +0800 Subject: [PATCH] 累计用电量验证 更新 --- Test/IStation.Win/View/CorrectionFactorView.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Test/IStation.Win/View/CorrectionFactorView.cs b/Test/IStation.Win/View/CorrectionFactorView.cs index b957846..acbc406 100644 --- a/Test/IStation.Win/View/CorrectionFactorView.cs +++ b/Test/IStation.Win/View/CorrectionFactorView.cs @@ -340,7 +340,7 @@ //璋冨害 private void btnSchedule_Click(object sender, EventArgs e) { - var day = this.dtDay.DateTime; + var day = (DateTime)this.dtDay.EditValue; var day_value = DayValueHelper.GetDayValue(day); if (day_value == null) { @@ -357,7 +357,8 @@ this.cekStation1.Checked, this.cekStation2.Checked, out List<Station1ScadaSchedule> all_station1_scada_schedule_list, - out List<Station2ScadaSchedule> all_station2_scada_schedule_list); + out List<Station2ScadaSchedule> all_station2_scada_schedule_list, + true); this.station1ScadaScheduleBindingSource.DataSource = all_station1_scada_schedule_list; this.station1ScadaScheduleBindingSource.ResetBindings(false); @@ -369,7 +370,7 @@ this.memoInfo.Text = msg; WaitHelper.HideWaitForm(); - } + } #region event -- Gitblit v1.9.3