修复错误

This commit is contained in:
gongxh
2022-05-23 12:48:51 +08:00
parent 8a875860e9
commit c4027d7220
5 changed files with 177 additions and 155 deletions

View File

@@ -50,7 +50,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonButton3 = new Krypton.Toolkit.KryptonButton();
this.knud_WorkedFullPalletNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonGroupBox7 = new Krypton.Toolkit.KryptonGroupBox();
this.circleButton1 = new CleanMachineHMI.CircleButton();
this.kryptonLabel12 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel11 = new Krypton.Toolkit.KryptonLabel();
this.cbt_fpalletmod = new CleanMachineHMI.CircleButton();
@@ -75,6 +74,7 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonLabel9 = new Krypton.Toolkit.KryptonLabel();
this.swtbtn_brush2 = new CleanMachineHMI.LSwitchButton();
this.cbt_Brush2StatusTran = new CleanMachineHMI.CircleButton();
this.circleButton1 = new CleanMachineHMI.CircleButton();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kryptonGroupBox1 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonLabel13 = new Krypton.Toolkit.KryptonLabel();
@@ -86,13 +86,10 @@ namespace CleanMachineHMI.FrmUserControl
this.kdtp_RecordDate = new Krypton.Toolkit.KryptonDateTimePicker();
this.label8 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
this.ktb_CurrPalletCode = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel10 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ShiftCount = new Krypton.Toolkit.KryptonTextBox();
this.ktb_FinishedPalletNum = new Krypton.Toolkit.KryptonTextBox();
this.ktb_CurrentPalletNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel16 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel15 = new Krypton.Toolkit.KryptonLabel();
this.ktb_ScrapNum = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel14 = new Krypton.Toolkit.KryptonLabel();
@@ -105,6 +102,9 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_IR = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel1 = new Krypton.Toolkit.KryptonLabel();
this.kryptonLabel2 = new Krypton.Toolkit.KryptonLabel();
this.kryptonButton8 = new Krypton.Toolkit.KryptonButton();
this.ktb_ShiftCount = new Krypton.Toolkit.KryptonTextBox();
this.kryptonLabel16 = new Krypton.Toolkit.KryptonLabel();
this.kryptonButton1 = new Krypton.Toolkit.KryptonButton();
this.kryptonGroupBox5 = new Krypton.Toolkit.KryptonGroupBox();
this.kryptonPanel24 = new Krypton.Toolkit.KryptonPanel();
@@ -528,21 +528,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonGroupBox7.TabIndex = 5;
this.kryptonGroupBox7.Values.Heading = "";
//
// circleButton1
//
this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.circleButton1.ForeColor = System.Drawing.Color.White;
this.circleButton1.Location = new System.Drawing.Point(37, 125);
this.circleButton1.Name = "circleButton1";
this.circleButton1.Size = new System.Drawing.Size(60, 60);
this.circleButton1.TabIndex = 53;
this.circleButton1.Text = "Auto Stop";
this.circleButton1.UseVisualStyleBackColor = false;
this.circleButton1.Visible = false;
this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
this.circleButton1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.circleButton1_KeyUp);
//
// kryptonLabel12
//
this.kryptonLabel12.Location = new System.Drawing.Point(21, 302);
@@ -835,6 +820,21 @@ namespace CleanMachineHMI.FrmUserControl
this.cbt_Brush2StatusTran.TabIndex = 36;
this.cbt_Brush2StatusTran.UseVisualStyleBackColor = false;
//
// circleButton1
//
this.circleButton1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(64)))), ((int)(((byte)(20)))));
this.circleButton1.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.circleButton1.ForeColor = System.Drawing.Color.White;
this.circleButton1.Location = new System.Drawing.Point(37, 125);
this.circleButton1.Name = "circleButton1";
this.circleButton1.Size = new System.Drawing.Size(60, 60);
this.circleButton1.TabIndex = 53;
this.circleButton1.Text = "Auto Stop";
this.circleButton1.UseVisualStyleBackColor = false;
this.circleButton1.Visible = false;
this.circleButton1.Click += new System.EventHandler(this.circleButton1_Click);
this.circleButton1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.circleButton1_KeyUp);
//
// tableLayoutPanel2
//
this.tableLayoutPanel2.BackColor = System.Drawing.Color.Transparent;
@@ -997,20 +997,9 @@ namespace CleanMachineHMI.FrmUserControl
this.panel1.Controls.Add(this.kryptonLabel4);
this.panel1.Location = new System.Drawing.Point(6, 79);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(390, 102);
this.panel1.Size = new System.Drawing.Size(336, 159);
this.panel1.TabIndex = 3;
//
// kryptonButton8
//
this.kryptonButton8.Location = new System.Drawing.Point(169, 99);
this.kryptonButton8.Name = "kryptonButton8";
this.kryptonButton8.Size = new System.Drawing.Size(73, 26);
this.kryptonButton8.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton8.TabIndex = 49;
this.kryptonButton8.Values.Text = "reset";
this.kryptonButton8.Visible = false;
this.kryptonButton8.Click += new System.EventHandler(this.kryptonButton8_Click);
//
// ktb_CurrPalletCode
//
this.ktb_CurrPalletCode.AlwaysActive = false;
@@ -1030,17 +1019,6 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonLabel10.TabIndex = 9;
this.kryptonLabel10.Values.Text = "Current Pallet Code";
//
// ktb_ShiftCount
//
this.ktb_ShiftCount.AlwaysActive = false;
this.ktb_ShiftCount.Location = new System.Drawing.Point(61, 102);
this.ktb_ShiftCount.Name = "ktb_ShiftCount";
this.ktb_ShiftCount.ReadOnly = true;
this.ktb_ShiftCount.Size = new System.Drawing.Size(71, 23);
this.ktb_ShiftCount.TabIndex = 1;
this.ktb_ShiftCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.ktb_ShiftCount.Visible = false;
//
// ktb_FinishedPalletNum
//
this.ktb_FinishedPalletNum.AlwaysActive = false;
@@ -1061,16 +1039,6 @@ namespace CleanMachineHMI.FrmUserControl
this.ktb_CurrentPalletNum.TabIndex = 1;
this.ktb_CurrentPalletNum.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
//
// kryptonLabel16
//
this.kryptonLabel16.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
this.kryptonLabel16.Location = new System.Drawing.Point(-15, 103);
this.kryptonLabel16.Name = "kryptonLabel16";
this.kryptonLabel16.Size = new System.Drawing.Size(76, 20);
this.kryptonLabel16.TabIndex = 0;
this.kryptonLabel16.Values.Text = "Shift Count";
this.kryptonLabel16.Visible = false;
//
// kryptonLabel15
//
this.kryptonLabel15.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
@@ -1190,6 +1158,38 @@ namespace CleanMachineHMI.FrmUserControl
this.kryptonLabel2.TabIndex = 0;
this.kryptonLabel2.Values.Text = "Sheet Type";
//
// kryptonButton8
//
this.kryptonButton8.Location = new System.Drawing.Point(169, 99);
this.kryptonButton8.Name = "kryptonButton8";
this.kryptonButton8.Size = new System.Drawing.Size(73, 26);
this.kryptonButton8.StateCommon.Content.ShortText.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.kryptonButton8.TabIndex = 49;
this.kryptonButton8.Values.Text = "reset";
this.kryptonButton8.Visible = false;
this.kryptonButton8.Click += new System.EventHandler(this.kryptonButton8_Click);
//
// ktb_ShiftCount
//
this.ktb_ShiftCount.AlwaysActive = false;
this.ktb_ShiftCount.Location = new System.Drawing.Point(61, 102);
this.ktb_ShiftCount.Name = "ktb_ShiftCount";
this.ktb_ShiftCount.ReadOnly = true;
this.ktb_ShiftCount.Size = new System.Drawing.Size(71, 23);
this.ktb_ShiftCount.TabIndex = 1;
this.ktb_ShiftCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
this.ktb_ShiftCount.Visible = false;
//
// kryptonLabel16
//
this.kryptonLabel16.LabelStyle = Krypton.Toolkit.LabelStyle.BoldControl;
this.kryptonLabel16.Location = new System.Drawing.Point(-15, 103);
this.kryptonLabel16.Name = "kryptonLabel16";
this.kryptonLabel16.Size = new System.Drawing.Size(76, 20);
this.kryptonLabel16.TabIndex = 0;
this.kryptonLabel16.Values.Text = "Shift Count";
this.kryptonLabel16.Visible = false;
//
// kryptonButton1
//
this.kryptonButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -1532,27 +1532,27 @@ namespace CleanMachineHMI.FrmUserControl
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 1;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 270F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(1000, 270);
this.tableLayoutPanel1.TabIndex = 8;
//