| | |
| | | //调度 |
| | | 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) |
| | | { |
| | |
| | | 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); |
| | |
| | | |
| | | this.memoInfo.Text = msg; |
| | | WaitHelper.HideWaitForm(); |
| | | } |
| | | } |
| | | |
| | | #region event |
| | | |