From f6326d8e85b55a290ca88c9f14a0f2a9ecbf6971 Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期六, 07 三月 2026 14:03:31 +0800
Subject: [PATCH] 修改S6_MES上传条码逻辑
---
src/Bro.M141.Process/UI/UIPrinter.Designer.cs | 332 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 319 insertions(+), 13 deletions(-)
diff --git a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs
index 1c3b081..fc615ba 100644
--- a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs
+++ b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs
@@ -32,55 +32,336 @@
button1 = new Button();
textBox1 = new TextBox();
label1 = new Label();
+ button3 = new Button();
+ textBox2 = new TextBox();
+ button5 = new Button();
+ richTextBox1 = new RichTextBox();
+ textBox3 = new TextBox();
+ textBox4 = new TextBox();
+ textBox5 = new TextBox();
+ textBox6 = new TextBox();
+ textBox7 = new TextBox();
+ label2 = new Label();
+ button6 = new Button();
+ label3 = new Label();
+ textBox8 = new TextBox();
+ button4 = new Button();
+ button7 = new Button();
+ textBox9 = new TextBox();
+ label4 = new Label();
+ label5 = new Label();
+ textBox10 = new TextBox();
+ label6 = new Label();
+ textBox11 = new TextBox();
+ label7 = new Label();
+ textBox12 = new TextBox();
+ label8 = new Label();
+ textBox13 = new TextBox();
SuspendLayout();
//
// button2
//
- button2.Location = new Point(180, 90);
+ button2.Location = new Point(177, 51);
+ button2.Margin = new Padding(3, 2, 3, 2);
button2.Name = "button2";
- button2.Size = new Size(108, 60);
+ button2.Size = new Size(93, 46);
button2.TabIndex = 1;
- button2.Text = "棰勮";
+ button2.Text = "S6棰勮";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
//
// button1
//
- button1.Location = new Point(32, 90);
+ button1.Location = new Point(51, 51);
+ button1.Margin = new Padding(3, 2, 3, 2);
button1.Name = "button1";
- button1.Size = new Size(108, 60);
+ button1.Size = new Size(93, 46);
button1.TabIndex = 2;
- button1.Text = "鎵撳嵃";
+ button1.Text = "S6鎵撳嵃鏉$爜";
button1.UseVisualStyleBackColor = true;
button1.Click += button1_Click;
//
// textBox1
//
- textBox1.Location = new Point(113, 35);
+ textBox1.Location = new Point(96, 26);
+ textBox1.Margin = new Padding(3, 2, 3, 2);
textBox1.Name = "textBox1";
- textBox1.Size = new Size(175, 23);
+ textBox1.Size = new Size(151, 21);
textBox1.TabIndex = 3;
//
// label1
//
label1.AutoSize = true;
- label1.Location = new Point(52, 38);
+ label1.Location = new Point(27, 29);
label1.Name = "label1";
- label1.Size = new Size(56, 17);
+ label1.Size = new Size(55, 13);
label1.TabIndex = 4;
label1.Text = "鎵撳嵃鍐呭";
//
+ // button3
+ //
+ button3.Location = new Point(27, 178);
+ button3.Margin = new Padding(2);
+ button3.Name = "button3";
+ button3.Size = new Size(69, 33);
+ button3.TabIndex = 5;
+ button3.Text = "鑾峰彇鐘舵��";
+ button3.UseVisualStyleBackColor = true;
+ button3.Click += button3_Click;
+ //
+ // textBox2
+ //
+ textBox2.Location = new Point(27, 215);
+ textBox2.Margin = new Padding(3, 2, 3, 2);
+ textBox2.Name = "textBox2";
+ textBox2.Size = new Size(269, 21);
+ textBox2.TabIndex = 6;
+ //
+ // button5
+ //
+ button5.Location = new Point(107, 439);
+ button5.Margin = new Padding(3, 2, 3, 2);
+ button5.Name = "button5";
+ button5.Size = new Size(93, 46);
+ button5.TabIndex = 8;
+ button5.Text = "鍙戠";
+ button5.UseVisualStyleBackColor = true;
+ button5.Click += button5_Click;
+ //
+ // richTextBox1
+ //
+ richTextBox1.Location = new Point(444, 26);
+ richTextBox1.Name = "richTextBox1";
+ richTextBox1.Size = new Size(203, 509);
+ richTextBox1.TabIndex = 9;
+ richTextBox1.Text = "";
+ //
+ // textBox3
+ //
+ textBox3.Location = new Point(82, 256);
+ textBox3.Margin = new Padding(3, 2, 3, 2);
+ textBox3.Name = "textBox3";
+ textBox3.Size = new Size(151, 21);
+ textBox3.TabIndex = 10;
+ //
+ // textBox4
+ //
+ textBox4.Location = new Point(82, 281);
+ textBox4.Margin = new Padding(3, 2, 3, 2);
+ textBox4.Name = "textBox4";
+ textBox4.Size = new Size(151, 21);
+ textBox4.TabIndex = 11;
+ //
+ // textBox5
+ //
+ textBox5.Location = new Point(82, 306);
+ textBox5.Margin = new Padding(3, 2, 3, 2);
+ textBox5.Name = "textBox5";
+ textBox5.Size = new Size(151, 21);
+ textBox5.TabIndex = 12;
+ //
+ // textBox6
+ //
+ textBox6.Location = new Point(82, 331);
+ textBox6.Margin = new Padding(3, 2, 3, 2);
+ textBox6.Name = "textBox6";
+ textBox6.Size = new Size(151, 21);
+ textBox6.TabIndex = 13;
+ //
+ // textBox7
+ //
+ textBox7.Location = new Point(82, 356);
+ textBox7.Margin = new Padding(3, 2, 3, 2);
+ textBox7.Name = "textBox7";
+ textBox7.Size = new Size(151, 21);
+ textBox7.TabIndex = 14;
+ //
+ // label2
+ //
+ label2.AutoSize = true;
+ label2.Location = new Point(96, 415);
+ label2.Name = "label2";
+ label2.Size = new Size(174, 13);
+ label2.TabIndex = 15;
+ label2.Text = "ztype, zlsn, zlpn, zstatus, zversion";
+ //
+ // button6
+ //
+ button6.Location = new Point(107, 489);
+ button6.Margin = new Padding(3, 2, 3, 2);
+ button6.Name = "button6";
+ button6.Size = new Size(93, 46);
+ button6.TabIndex = 16;
+ button6.Text = "鍙戠墿鏂�";
+ button6.UseVisualStyleBackColor = true;
+ button6.Click += button6_Click;
+ //
+ // label3
+ //
+ label3.AutoSize = true;
+ label3.Location = new Point(96, 537);
+ label3.Name = "label3";
+ label3.Size = new Size(191, 13);
+ label3.TabIndex = 17;
+ label3.Text = "sn,result,zword,zno,entray锛寊version";
+ //
+ // textBox8
+ //
+ textBox8.Location = new Point(82, 381);
+ textBox8.Margin = new Padding(3, 2, 3, 2);
+ textBox8.Name = "textBox8";
+ textBox8.Size = new Size(151, 21);
+ textBox8.TabIndex = 18;
+ //
+ // button4
+ //
+ button4.Location = new Point(51, 116);
+ button4.Margin = new Padding(3, 2, 3, 2);
+ button4.Name = "button4";
+ button4.Size = new Size(93, 46);
+ button4.TabIndex = 19;
+ button4.Text = "S9鎵撳嵃鏉$爜";
+ button4.UseVisualStyleBackColor = true;
+ button4.Click += button4_Click;
+ //
+ // button7
+ //
+ button7.Location = new Point(177, 116);
+ button7.Margin = new Padding(3, 2, 3, 2);
+ button7.Name = "button7";
+ button7.Size = new Size(93, 46);
+ button7.TabIndex = 20;
+ button7.Text = "S9棰勮";
+ button7.UseVisualStyleBackColor = true;
+ button7.Click += button7_Click;
+ //
+ // textBox9
+ //
+ textBox9.Location = new Point(355, 29);
+ textBox9.Margin = new Padding(3, 2, 3, 2);
+ textBox9.Name = "textBox9";
+ textBox9.Size = new Size(70, 21);
+ textBox9.TabIndex = 21;
+ textBox9.Text = "320";
+ //
+ // label4
+ //
+ label4.AutoSize = true;
+ label4.Location = new Point(276, 29);
+ label4.Name = "label4";
+ label4.Size = new Size(67, 13);
+ label4.TabIndex = 22;
+ label4.Text = "S9鎵撳嵃闀垮害";
+ //
+ // label5
+ //
+ label5.AutoSize = true;
+ label5.Location = new Point(276, 65);
+ label5.Name = "label5";
+ label5.Size = new Size(67, 13);
+ label5.TabIndex = 24;
+ label5.Text = "S9鎵撳嵃瀹藉害";
+ //
+ // textBox10
+ //
+ textBox10.Location = new Point(355, 65);
+ textBox10.Margin = new Padding(3, 2, 3, 2);
+ textBox10.Name = "textBox10";
+ textBox10.Size = new Size(70, 21);
+ textBox10.TabIndex = 23;
+ textBox10.Text = "160";
+ //
+ // label6
+ //
+ label6.AutoSize = true;
+ label6.Location = new Point(276, 101);
+ label6.Name = "label6";
+ label6.Size = new Size(67, 13);
+ label6.TabIndex = 26;
+ label6.Text = "S9鎵撳嵃姣斾緥";
+ //
+ // textBox11
+ //
+ textBox11.Location = new Point(355, 101);
+ textBox11.Margin = new Padding(3, 2, 3, 2);
+ textBox11.Name = "textBox11";
+ textBox11.Size = new Size(70, 21);
+ textBox11.TabIndex = 25;
+ textBox11.Text = "0.85";
+ //
+ // label7
+ //
+ label7.AutoSize = true;
+ label7.Location = new Point(276, 133);
+ label7.Name = "label7";
+ label7.Size = new Size(73, 13);
+ label7.TabIndex = 28;
+ label7.Text = "S9鎵撳嵃璧峰X";
+ //
+ // textBox12
+ //
+ textBox12.Location = new Point(355, 133);
+ textBox12.Margin = new Padding(3, 2, 3, 2);
+ textBox12.Name = "textBox12";
+ textBox12.Size = new Size(70, 21);
+ textBox12.TabIndex = 27;
+ textBox12.Text = "10";
+ //
+ // label8
+ //
+ label8.AutoSize = true;
+ label8.Location = new Point(276, 167);
+ label8.Name = "label8";
+ label8.Size = new Size(73, 13);
+ label8.TabIndex = 30;
+ label8.Text = "S9鎵撳嵃璧峰Y";
+ //
+ // textBox13
+ //
+ textBox13.AccessibleName = "";
+ textBox13.Location = new Point(355, 167);
+ textBox13.Margin = new Padding(3, 2, 3, 2);
+ textBox13.Name = "textBox13";
+ textBox13.Size = new Size(70, 21);
+ textBox13.TabIndex = 29;
+ textBox13.Text = "-10";
+ //
// UIPrinter
//
- AutoScaleDimensions = new SizeF(7F, 17F);
+ AutoScaleDimensions = new SizeF(6F, 13F);
AutoScaleMode = AutoScaleMode.Font;
+ Controls.Add(label8);
+ Controls.Add(textBox13);
+ Controls.Add(label7);
+ Controls.Add(textBox12);
+ Controls.Add(label6);
+ Controls.Add(textBox11);
+ Controls.Add(label5);
+ Controls.Add(textBox10);
+ Controls.Add(label4);
+ Controls.Add(textBox9);
+ Controls.Add(button7);
+ Controls.Add(button4);
+ Controls.Add(textBox8);
+ Controls.Add(label3);
+ Controls.Add(button6);
+ Controls.Add(label2);
+ Controls.Add(textBox7);
+ Controls.Add(textBox6);
+ Controls.Add(textBox5);
+ Controls.Add(textBox4);
+ Controls.Add(textBox3);
+ Controls.Add(richTextBox1);
+ Controls.Add(button5);
+ Controls.Add(textBox2);
+ Controls.Add(button3);
Controls.Add(label1);
Controls.Add(textBox1);
Controls.Add(button1);
Controls.Add(button2);
- Margin = new Padding(2, 3, 2, 3);
+ Margin = new Padding(2);
Name = "UIPrinter";
- Size = new Size(356, 362);
+ Size = new Size(669, 576);
ResumeLayout(false);
PerformLayout();
}
@@ -91,5 +372,30 @@
private Button button1;
private TextBox textBox1;
private Label label1;
+ private Button button3;
+ private TextBox textBox2;
+ private Button button5;
+ private RichTextBox richTextBox1;
+ private TextBox textBox3;
+ private TextBox textBox4;
+ private TextBox textBox5;
+ private TextBox textBox6;
+ private TextBox textBox7;
+ private Label label2;
+ private Button button6;
+ private Label label3;
+ private TextBox textBox8;
+ private Button button4;
+ private Button button7;
+ private TextBox textBox9;
+ private Label label4;
+ private Label label5;
+ private TextBox textBox10;
+ private Label label6;
+ private TextBox textBox11;
+ private Label label7;
+ private TextBox textBox12;
+ private Label label8;
+ private TextBox textBox13;
}
}
--
Gitblit v1.8.0