From 6a4463810e276b62356d77c88509fa6fa7af65cf Mon Sep 17 00:00:00 2001 From: kingno <30263@KINGNO> Date: 星期三, 23 七月 2025 15:46:33 +0800 Subject: [PATCH] mes数据逻辑上传完善,缺陷代码完善,添加S4工位的S2结果上传Plc的通信日志mes优化 --- src/Bro.M141.Process/UI/UIPrinter.Designer.cs | 169 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 149 insertions(+), 20 deletions(-) diff --git a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs index 42ce610..1366f7b 100644 --- a/src/Bro.M141.Process/UI/UIPrinter.Designer.cs +++ b/src/Bro.M141.Process/UI/UIPrinter.Designer.cs @@ -34,14 +34,25 @@ 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(); SuspendLayout(); // // button2 // - button2.Location = new Point(283, 127); - button2.Margin = new Padding(5, 4, 5, 4); + button2.Location = new Point(154, 51); + button2.Margin = new Padding(3, 2, 3, 2); button2.Name = "button2"; - button2.Size = new Size(170, 85); + button2.Size = new Size(93, 46); button2.TabIndex = 1; button2.Text = "棰勮"; button2.UseVisualStyleBackColor = true; @@ -49,10 +60,10 @@ // // button1 // - button1.Location = new Point(50, 127); - button1.Margin = new Padding(5, 4, 5, 4); + button1.Location = new Point(27, 51); + button1.Margin = new Padding(3, 2, 3, 2); button1.Name = "button1"; - button1.Size = new Size(170, 85); + button1.Size = new Size(93, 46); button1.TabIndex = 2; button1.Text = "鎵撳嵃"; button1.UseVisualStyleBackColor = true; @@ -60,27 +71,27 @@ // // textBox1 // - textBox1.Location = new Point(178, 49); - textBox1.Margin = new Padding(5, 4, 5, 4); + textBox1.Location = new Point(96, 26); + textBox1.Margin = new Padding(3, 2, 3, 2); textBox1.Name = "textBox1"; - textBox1.Size = new Size(273, 30); + textBox1.Size = new Size(151, 21); textBox1.TabIndex = 3; // // label1 // label1.AutoSize = true; - label1.Location = new Point(82, 54); - label1.Margin = new Padding(5, 0, 5, 0); + label1.Location = new Point(27, 29); label1.Name = "label1"; - label1.Size = new Size(82, 24); + label1.Size = new Size(55, 13); label1.TabIndex = 4; label1.Text = "鎵撳嵃鍐呭"; // // button3 // - button3.Location = new Point(50, 308); + button3.Location = new Point(27, 101); + button3.Margin = new Padding(2); button3.Name = "button3"; - button3.Size = new Size(127, 61); + button3.Size = new Size(69, 33); button3.TabIndex = 5; button3.Text = "鑾峰彇鐘舵��"; button3.UseVisualStyleBackColor = true; @@ -88,25 +99,132 @@ // // textBox2 // - textBox2.Location = new Point(50, 376); - textBox2.Margin = new Padding(5, 4, 5, 4); + textBox2.Location = new Point(27, 138); + textBox2.Margin = new Padding(3, 2, 3, 2); textBox2.Name = "textBox2"; - textBox2.Size = new Size(490, 30); + 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(328, 26); + richTextBox1.Name = "richTextBox1"; + richTextBox1.Size = new Size(270, 509); + richTextBox1.TabIndex = 9; + richTextBox1.Text = ""; + // + // textBox3 + // + textBox3.Location = new Point(82, 195); + 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, 231); + 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, 267); + 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, 303); + 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, 339); + 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, 375); + textBox8.Margin = new Padding(3, 2, 3, 2); + textBox8.Name = "textBox8"; + textBox8.Size = new Size(151, 21); + textBox8.TabIndex = 18; // // UIPrinter // - AutoScaleDimensions = new SizeF(11F, 24F); + AutoScaleDimensions = new SizeF(6F, 13F); AutoScaleMode = AutoScaleMode.Font; + 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(3, 4, 3, 4); + Margin = new Padding(2); Name = "UIPrinter"; - Size = new Size(559, 511); + Size = new Size(669, 576); ResumeLayout(false); PerformLayout(); } @@ -119,5 +237,16 @@ 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; } } -- Gitblit v1.8.0