This commit is contained in:
gongxh
2022-05-17 09:53:25 +08:00
parent d14b2ac45f
commit 2bc18cb082
6 changed files with 55 additions and 8 deletions

View File

@@ -43,6 +43,9 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.colDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColDayOfWeek = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColMachineHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColCleaned = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.ColScrap = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -96,6 +99,9 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colDate,
this.ColDayOfWeek,
this.ColStartTime,
this.ColEndTime,
this.ColMachineHours,
this.ColCleaned,
this.ColScrap,
this.colOperators});
@@ -250,6 +256,30 @@ namespace CleanMachineHMI.FrmUserControl
this.ColDayOfWeek.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColDayOfWeek.Width = 79;
//
// ColStartTime
//
this.ColStartTime.DataPropertyName = "StartTime";
this.ColStartTime.HeaderText = "StartTime";
this.ColStartTime.Name = "ColStartTime";
this.ColStartTime.ReadOnly = true;
this.ColStartTime.Width = 86;
//
// ColEndTime
//
this.ColEndTime.DataPropertyName = "EndTime";
this.ColEndTime.HeaderText = "EndTime";
this.ColEndTime.Name = "ColEndTime";
this.ColEndTime.ReadOnly = true;
this.ColEndTime.Width = 82;
//
// ColMachineHours
//
this.ColMachineHours.DataPropertyName = "MachineHours";
this.ColMachineHours.HeaderText = "MachineHours";
this.ColMachineHours.Name = "ColMachineHours";
this.ColMachineHours.ReadOnly = true;
this.ColMachineHours.Width = 114;
//
// ColCleaned
//
this.ColCleaned.AllowDecimals = false;
@@ -321,6 +351,9 @@ namespace CleanMachineHMI.FrmUserControl
private Krypton.Toolkit.KryptonLabel kryptonLabel5;
private System.Windows.Forms.DataGridViewTextBoxColumn colDate;
private System.Windows.Forms.DataGridViewTextBoxColumn ColDayOfWeek;
private System.Windows.Forms.DataGridViewTextBoxColumn ColStartTime;
private System.Windows.Forms.DataGridViewTextBoxColumn ColEndTime;
private System.Windows.Forms.DataGridViewTextBoxColumn ColMachineHours;
private Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn ColCleaned;
private Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn ColScrap;
private System.Windows.Forms.DataGridViewTextBoxColumn colOperators;