修改语言

This commit is contained in:
gongxh
2022-05-28 14:29:19 +08:00
parent 3be258e671
commit 847dffd9f1
12 changed files with 602 additions and 466 deletions

View File

@@ -32,6 +32,14 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonPanel2 = new Krypton.Toolkit.KryptonPanel();
this.kryptonGroupBox3 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonDataGridView1 = new Krypton.Toolkit.KryptonDataGridView();
this.colDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColDayOfWeek = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColCleaned = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.ColScrap = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.ColMachineHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.kryptonGroupBox4 = new Krypton.Toolkit.KryptonGroupBox();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kbt_Reset = new Krypton.Toolkit.KryptonButton();
@@ -41,14 +49,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_CreateStartTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.kryptonLabel5 = new Krypton.Toolkit.KryptonLabel();
this.kdtp_CreateEndTime = new Krypton.Toolkit.KryptonDateTimePicker();
this.colDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColDayOfWeek = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColCleaned = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.ColScrap = new Krypton.Toolkit.KryptonDataGridViewNumericUpDownColumn();
this.ColMachineHours = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOperators = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.kryptonPanel2)).BeginInit();
this.kryptonPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.kryptonGroupBox3)).BeginInit();
@@ -118,6 +118,82 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonDataGridView1.Size = new System.Drawing.Size(1020, 500);
this.kryptonDataGridView1.TabIndex = 3;
//
// colDate
//
this.colDate.DataPropertyName = "Date";
this.colDate.HeaderText = "Date";
this.colDate.Name = "colDate";
this.colDate.ReadOnly = true;
this.colDate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.colDate.Width = 41;
//
// ColDayOfWeek
//
this.ColDayOfWeek.DataPropertyName = "DayOfWeek";
this.ColDayOfWeek.HeaderText = "DayOfWeek";
this.ColDayOfWeek.Name = "ColDayOfWeek";
this.ColDayOfWeek.ReadOnly = true;
this.ColDayOfWeek.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColDayOfWeek.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColDayOfWeek.Width = 79;
//
// ColCleaned
//
this.ColCleaned.AllowDecimals = false;
this.ColCleaned.DataPropertyName = "Cleaned";
this.ColCleaned.HeaderText = "Cleaned";
this.ColCleaned.Name = "ColCleaned";
this.ColCleaned.ReadOnly = true;
this.ColCleaned.Width = 60;
//
// ColScrap
//
this.ColScrap.AllowDecimals = false;
this.ColScrap.DataPropertyName = "Scrap";
this.ColScrap.HeaderText = "Scrap";
this.ColScrap.Name = "ColScrap";
this.ColScrap.ReadOnly = true;
this.ColScrap.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColScrap.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.ColScrap.Width = 65;
//
// ColMachineHours
//
this.ColMachineHours.DataPropertyName = "MachineHours";
this.ColMachineHours.HeaderText = "MachineRunHours";
this.ColMachineHours.Name = "ColMachineHours";
this.ColMachineHours.ReadOnly = true;
this.ColMachineHours.Width = 135;
//
// ColStartTime
//
this.ColStartTime.DataPropertyName = "StartTime";
this.ColStartTime.HeaderText = "StartTime";
this.ColStartTime.Name = "ColStartTime";
this.ColStartTime.ReadOnly = true;
this.ColStartTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColStartTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColStartTime.Width = 67;
//
// ColEndTime
//
this.ColEndTime.DataPropertyName = "EndTime";
this.ColEndTime.HeaderText = "EndTime";
this.ColEndTime.Name = "ColEndTime";
this.ColEndTime.ReadOnly = true;
this.ColEndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColEndTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColEndTime.Width = 63;
//
// colOperators
//
this.colOperators.DataPropertyName = "Operators";
this.colOperators.HeaderText = "Operators";
this.colOperators.Name = "colOperators";
this.colOperators.ReadOnly = true;
this.colOperators.Width = 88;
//
// kryptonGroupBox4
//
this.kryptonGroupBox4.CaptionOverlap = 0D;
@@ -210,7 +286,7 @@ namespace CleanMachineHMI.FrmUserControl
// kdtp_CreateStartTime
//
this.kdtp_CreateStartTime.Anchor = System.Windows.Forms.AnchorStyles.None;
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
this.kdtp_CreateStartTime.CustomFormat = "yyyy-MM-dd";
this.kdtp_CreateStartTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.kdtp_CreateStartTime.Location = new System.Drawing.Point(192, 10);
this.kdtp_CreateStartTime.Name = "kdtp_CreateStartTime";
@@ -230,7 +306,7 @@ namespace CleanMachineHMI.FrmUserControl
// kdtp_CreateEndTime
//
this.kdtp_CreateEndTime.Anchor = System.Windows.Forms.AnchorStyles.None;
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd HH:mm:ss";
this.kdtp_CreateEndTime.CustomFormat = "yyyy-MM-dd";
this.kdtp_CreateEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
this.kdtp_CreateEndTime.Location = new System.Drawing.Point(702, 10);
this.kdtp_CreateEndTime.Name = "kdtp_CreateEndTime";
@@ -238,82 +314,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_CreateEndTime.Size = new System.Drawing.Size(246, 21);
this.kdtp_CreateEndTime.TabIndex = 7;
//
// colDate
//
this.colDate.DataPropertyName = "Date";
this.colDate.HeaderText = "Date";
this.colDate.Name = "colDate";
this.colDate.ReadOnly = true;
this.colDate.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colDate.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.colDate.Width = 41;
//
// ColDayOfWeek
//
this.ColDayOfWeek.DataPropertyName = "DayOfWeek";
this.ColDayOfWeek.HeaderText = "DayOfWeek";
this.ColDayOfWeek.Name = "ColDayOfWeek";
this.ColDayOfWeek.ReadOnly = true;
this.ColDayOfWeek.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColDayOfWeek.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColDayOfWeek.Width = 79;
//
// ColCleaned
//
this.ColCleaned.AllowDecimals = false;
this.ColCleaned.DataPropertyName = "Cleaned";
this.ColCleaned.HeaderText = "Cleaned";
this.ColCleaned.Name = "ColCleaned";
this.ColCleaned.ReadOnly = true;
this.ColCleaned.Width = 60;
//
// ColScrap
//
this.ColScrap.AllowDecimals = false;
this.ColScrap.DataPropertyName = "Scrap";
this.ColScrap.HeaderText = "Scrap";
this.ColScrap.Name = "ColScrap";
this.ColScrap.ReadOnly = true;
this.ColScrap.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColScrap.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.ColScrap.Width = 65;
//
// ColMachineHours
//
this.ColMachineHours.DataPropertyName = "MachineHours";
this.ColMachineHours.HeaderText = "MachineHours";
this.ColMachineHours.Name = "ColMachineHours";
this.ColMachineHours.ReadOnly = true;
this.ColMachineHours.Width = 114;
//
// ColStartTime
//
this.ColStartTime.DataPropertyName = "StartTime";
this.ColStartTime.HeaderText = "StartTime";
this.ColStartTime.Name = "ColStartTime";
this.ColStartTime.ReadOnly = true;
this.ColStartTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColStartTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColStartTime.Width = 67;
//
// ColEndTime
//
this.ColEndTime.DataPropertyName = "EndTime";
this.ColEndTime.HeaderText = "EndTime";
this.ColEndTime.Name = "ColEndTime";
this.ColEndTime.ReadOnly = true;
this.ColEndTime.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ColEndTime.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.ColEndTime.Width = 63;
//
// colOperators
//
this.colOperators.DataPropertyName = "Operators";
this.colOperators.HeaderText = "Operators";
this.colOperators.Name = "colOperators";
this.colOperators.ReadOnly = true;
this.colOperators.Width = 88;
//
// frmDayReport
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);