LL18-25063001:得辉达定制增加MES过站检测功能

This commit is contained in:
jfp
2025-06-30 10:44:40 +08:00
parent d89bcfeee6
commit b2379cd874
16 changed files with 267 additions and 378 deletions

View File

@@ -85,6 +85,7 @@
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.mESSetToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label35 = new System.Windows.Forms.Label();
@@ -125,16 +126,14 @@
this.strbatch = new System.Windows.Forms.TextBox();
this.strlocation = new System.Windows.Forms.TextBox();
this.strlinename = new System.Windows.Forms.TextBox();
this.label41 = new System.Windows.Forms.Label();
this.label42 = new System.Windows.Forms.Label();
this.label43 = new System.Windows.Forms.Label();
this.label48 = new System.Windows.Forms.Label();
this.PreCode1 = new System.Windows.Forms.TextBox();
this.label49 = new System.Windows.Forms.Label();
this.label50 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.timerCH1 = new System.Windows.Forms.Timer(this.components);
this.checkCodeRepeat = new System.Windows.Forms.CheckBox();
this.myGroupBox4 = new C_Windows_1.MyGroupBox(this.components);
this.PUnit = new System.Windows.Forms.ComboBox();
this.label47 = new System.Windows.Forms.Label();
@@ -375,7 +374,7 @@
this.label36.Font = new System.Drawing.Font("宋体", 12F);
this.label36.Location = new System.Drawing.Point(162, 326);
this.label36.Name = "label36";
this.label36.Size = new System.Drawing.Size(72, 16);
this.label36.Size = new System.Drawing.Size(71, 16);
this.label36.TabIndex = 89;
this.label36.Text = "测试进度";
//
@@ -385,7 +384,7 @@
this.Manual.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
this.Manual.Location = new System.Drawing.Point(777, 5);
this.Manual.Name = "Manual";
this.Manual.Size = new System.Drawing.Size(17, 16);
this.Manual.Size = new System.Drawing.Size(16, 16);
this.Manual.TabIndex = 63;
this.Manual.TabStop = true;
this.Manual.Text = "?";
@@ -585,6 +584,7 @@
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem,
this.mESSetToolStripMenuItem,
this.ToolStripMenuItem,
this.ToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
@@ -636,6 +636,14 @@
this.ToolStripMenuItem.Text = "存储设置";
this.ToolStripMenuItem.Click += new System.EventHandler(this.ToolStripMenuItem_Click);
//
// mESSetToolStripMenuItem
//
this.mESSetToolStripMenuItem.Name = "mESSetToolStripMenuItem";
this.mESSetToolStripMenuItem.Size = new System.Drawing.Size(70, 21);
this.mESSetToolStripMenuItem.Text = "MES设置";
this.mESSetToolStripMenuItem.Visible = false;
this.mESSetToolStripMenuItem.Click += new System.EventHandler(this.mESSetToolStripMenuItem_Click);
//
// 注销登录ToolStripMenuItem
//
this.ToolStripMenuItem.Name = "注销登录ToolStripMenuItem";
@@ -760,7 +768,7 @@
this.label9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.Location = new System.Drawing.Point(872, 50);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(88, 16);
this.label9.Size = new System.Drawing.Size(87, 16);
this.label9.TabIndex = 143;
this.label9.Text = "条形码长度";
//
@@ -770,7 +778,7 @@
this.Scancode.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Scancode.Location = new System.Drawing.Point(1596, 57);
this.Scancode.Name = "Scancode";
this.Scancode.Size = new System.Drawing.Size(91, 20);
this.Scancode.Size = new System.Drawing.Size(90, 20);
this.Scancode.TabIndex = 144;
this.Scancode.Text = "扫码启动";
this.Scancode.UseVisualStyleBackColor = true;
@@ -808,7 +816,7 @@
this.Passzong.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Passzong.Location = new System.Drawing.Point(84, 99);
this.Passzong.Name = "Passzong";
this.Passzong.Size = new System.Drawing.Size(24, 16);
this.Passzong.Size = new System.Drawing.Size(23, 16);
this.Passzong.TabIndex = 3;
this.Passzong.Text = "10";
//
@@ -828,7 +836,7 @@
this.Sunzong.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Sunzong.Location = new System.Drawing.Point(84, 49);
this.Sunzong.Name = "Sunzong";
this.Sunzong.Size = new System.Drawing.Size(24, 16);
this.Sunzong.Size = new System.Drawing.Size(23, 16);
this.Sunzong.TabIndex = 1;
this.Sunzong.Text = "10";
this.Sunzong.Click += new System.EventHandler(this.label29_Click);
@@ -881,20 +889,17 @@
// checkBox2
//
this.checkBox2.AutoSize = true;
this.checkBox2.Checked = true;
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBox2.Location = new System.Drawing.Point(907, 402);
this.checkBox2.Location = new System.Drawing.Point(870, 172);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(78, 16);
this.checkBox2.Size = new System.Drawing.Size(90, 16);
this.checkBox2.TabIndex = 173;
this.checkBox2.Text = "在线/离线";
this.checkBox2.Text = "MES过站检测";
this.checkBox2.UseVisualStyleBackColor = true;
this.checkBox2.Visible = false;
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
//
// pictureBox1
//
this.pictureBox1.Location = new System.Drawing.Point(907, 362);
this.pictureBox1.Location = new System.Drawing.Point(907, 371);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(82, 28);
this.pictureBox1.TabIndex = 172;
@@ -905,7 +910,7 @@
//
this.label29.AutoSize = true;
this.label29.Font = new System.Drawing.Font("宋体", 14F);
this.label29.Location = new System.Drawing.Point(903, 340);
this.label29.Location = new System.Drawing.Point(903, 349);
this.label29.Name = "label29";
this.label29.Size = new System.Drawing.Size(87, 19);
this.label29.TabIndex = 171;
@@ -967,7 +972,6 @@
this.groupBox2.Controls.Add(this.strbatch);
this.groupBox2.Controls.Add(this.strlocation);
this.groupBox2.Controls.Add(this.strlinename);
this.groupBox2.Controls.Add(this.label41);
this.groupBox2.Controls.Add(this.label42);
this.groupBox2.Controls.Add(this.label43);
this.groupBox2.Controls.Add(this.label48);
@@ -1029,15 +1033,6 @@
this.strlinename.TabIndex = 4;
this.strlinename.TextChanged += new System.EventHandler(this.strlinename_TextChanged);
//
// label41
//
this.label41.AutoSize = true;
this.label41.Location = new System.Drawing.Point(30, 291);
this.label41.Name = "label41";
this.label41.Size = new System.Drawing.Size(69, 20);
this.label41.TabIndex = 3;
this.label41.Text = "站名:";
//
// label42
//
this.label42.AutoSize = true;
@@ -1065,48 +1060,25 @@
this.label48.TabIndex = 0;
this.label48.Text = "线别名称:";
//
// PreCode1
//
this.PreCode1.Font = new System.Drawing.Font("宋体", 18F);
this.PreCode1.Location = new System.Drawing.Point(1276, 477);
this.PreCode1.Name = "PreCode1";
this.PreCode1.Size = new System.Drawing.Size(547, 35);
this.PreCode1.TabIndex = 180;
this.PreCode1.Visible = false;
this.PreCode1.TextChanged += new System.EventHandler(this.PreCode1_TextChanged);
//
// label49
//
this.label49.AutoSize = true;
this.label49.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label49.Location = new System.Drawing.Point(1162, 482);
this.label49.Name = "label49";
this.label49.Size = new System.Drawing.Size(106, 24);
this.label49.TabIndex = 181;
this.label49.Text = "预条形码";
this.label49.Visible = false;
//
// label50
//
this.label50.AutoSize = true;
this.label50.Font = new System.Drawing.Font("宋体", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label50.Location = new System.Drawing.Point(1108, 28);
this.label50.Location = new System.Drawing.Point(866, 201);
this.label50.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label50.Name = "label50";
this.label50.Size = new System.Drawing.Size(87, 22);
this.label50.TabIndex = 185;
this.label50.Text = "MES返回";
this.label50.Visible = false;
//
// textBox3
//
this.textBox3.Font = new System.Drawing.Font("宋体", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox3.Location = new System.Drawing.Point(1034, 54);
this.textBox3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox3.Location = new System.Drawing.Point(865, 233);
this.textBox3.Multiline = true;
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(256, 129);
this.textBox3.Size = new System.Drawing.Size(148, 101);
this.textBox3.TabIndex = 184;
this.textBox3.Visible = false;
//
// textBox1
//
@@ -1119,6 +1091,17 @@
//
this.timerCH1.Tick += new System.EventHandler(this.timer5_Tick);
//
// checkCodeRepeat
//
this.checkCodeRepeat.AutoSize = true;
this.checkCodeRepeat.Location = new System.Drawing.Point(869, 128);
this.checkCodeRepeat.Name = "checkCodeRepeat";
this.checkCodeRepeat.Size = new System.Drawing.Size(96, 16);
this.checkCodeRepeat.TabIndex = 187;
this.checkCodeRepeat.Text = "条码重复检测";
this.checkCodeRepeat.UseVisualStyleBackColor = true;
this.checkCodeRepeat.CheckedChanged += new System.EventHandler(this.checkCodeRepeat_CheckedChanged);
//
// myGroupBox4
//
this.myGroupBox4.Controls.Add(this.PUnit);
@@ -1719,7 +1702,7 @@
this.label3.Font = new System.Drawing.Font("宋体", 12F);
this.label3.Location = new System.Drawing.Point(25, 79);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(88, 16);
this.label3.Size = new System.Drawing.Size(87, 16);
this.label3.TabIndex = 61;
this.label3.Text = "串口状态:";
//
@@ -1751,7 +1734,7 @@
this.label1.Font = new System.Drawing.Font("宋体", 12F);
this.label1.Location = new System.Drawing.Point(37, 32);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(64, 16);
this.label1.Size = new System.Drawing.Size(63, 16);
this.label1.TabIndex = 8;
this.label1.Text = "端口号:";
//
@@ -1770,11 +1753,10 @@
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1025, 675);
this.Controls.Add(this.checkCodeRepeat);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label50);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.PreCode1);
this.Controls.Add(this.label49);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.button3);
this.Controls.Add(this.button4);
@@ -1828,7 +1810,7 @@
this.Controls.Add(this.groupBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "Form1";
this.Text = "LL18-25062501";
this.Text = "LL18-25063001";
this.Activated += new System.EventHandler(this.Form1_Activated);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
@@ -2013,15 +1995,14 @@
private System.Windows.Forms.TextBox strbatch;
private System.Windows.Forms.TextBox strlocation;
private System.Windows.Forms.TextBox strlinename;
private System.Windows.Forms.Label label41;
private System.Windows.Forms.Label label42;
private System.Windows.Forms.Label label43;
private System.Windows.Forms.Label label48;
public System.Windows.Forms.TextBox PreCode1;
private System.Windows.Forms.Label label49;
private System.Windows.Forms.Label label50;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Timer timerCH1;
private System.Windows.Forms.CheckBox checkCodeRepeat;
private System.Windows.Forms.ToolStripMenuItem mESSetToolStripMenuItem;
}
}