From 488aa027021bff61a8a5ce7db43928efcee1eb2d Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期二, 06 八月 2024 17:46:56 +0800
Subject: [PATCH] 修正

---
 Test/IStation.Win/View/CorrectionFactorView.cs |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/Test/IStation.Win/View/CorrectionFactorView.cs b/Test/IStation.Win/View/CorrectionFactorView.cs
index 52b1717..b957846 100644
--- a/Test/IStation.Win/View/CorrectionFactorView.cs
+++ b/Test/IStation.Win/View/CorrectionFactorView.cs
@@ -340,22 +340,22 @@
         //璋冨害
         private void btnSchedule_Click(object sender, EventArgs e)
         {
-            //var day = this.dtDay.DateTime;
-            //var day_value = DayValueHelper.GetDayValue(day);
-            //if (day_value == null)
-            //{
-            //    XtraMessageBox.Show("鏃犳硶鍔犺浇鏃ユ湡鏁版嵁!");
-            //    return;
-            //}
-            //this.memoInfo.Text = string.Empty;
+            var day = this.dtDay.DateTime;
+            var day_value = DayValueHelper.GetDayValue(day);
+            if (day_value == null)
+            {
+                XtraMessageBox.Show("鏃犳硶鍔犺浇鏃ユ湡鏁版嵁!");
+                return;
+            }
+            this.memoInfo.Text = string.Empty;
 
-            //var day_value_list = new List<DayValue>() { day_value };
+            var day_value_list = new List<DayValue>() { day_value };
             WaitHelper.ShowWaitForm();
 
             var msg = ScadaScheduleHelper.Schedule(
-                  //day_value_list,
-                  //this.cekStation1.Checked,
-                  //this.cekStation2.Checked,
+                  day_value_list,
+                  this.cekStation1.Checked,
+                  this.cekStation2.Checked,
                   out List<Station1ScadaSchedule> all_station1_scada_schedule_list,
                   out List<Station2ScadaSchedule> all_station2_scada_schedule_list);
 

--
Gitblit v1.9.3