diff --git a/WindowsFormsApp1/MES_PLC_Control.csproj b/WindowsFormsApp1/MES_PLC_Control.csproj
index 1debe63..410d066 100644
--- a/WindowsFormsApp1/MES_PLC_Control.csproj
+++ b/WindowsFormsApp1/MES_PLC_Control.csproj
@@ -187,6 +187,9 @@
ScanForm_SSQ.cs
+
+ Form
+
Form
@@ -334,6 +337,9 @@
ScanForm_SSQ.cs
+
+ SimpleImageDisplayForm.cs
+
Torqueaddress_Manage.cs
diff --git a/WindowsFormsApp1/MainForm.Designer.cs b/WindowsFormsApp1/MainForm.Designer.cs
index ada248b..0f42739 100644
--- a/WindowsFormsApp1/MainForm.Designer.cs
+++ b/WindowsFormsApp1/MainForm.Designer.cs
@@ -59,29 +59,10 @@ namespace WindowsFormsApp1
this.系统参数配置ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.材料扫码ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.图片展示ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.图片标注ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.螺丝引导ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
- this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel();
- this.事件1时间 = new System.Windows.Forms.Label();
- this.事件1 = new System.Windows.Forms.Label();
- this.事件1结果 = new System.Windows.Forms.Label();
- this.gropb = new System.Windows.Forms.GroupBox();
- this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel();
- this.MES提示信息 = new System.Windows.Forms.Label();
- this.原料包装LOT号 = new System.Windows.Forms.GroupBox();
- this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
- this.材料值 = new System.Windows.Forms.Label();
- this.材料 = new System.Windows.Forms.Label();
- this.LOT号显示 = new System.Windows.Forms.Label();
- this.LOT号 = new System.Windows.Forms.Label();
- this.胶水上下线 = new System.Windows.Forms.Button();
- this.MES提示 = new System.Windows.Forms.Label();
- this.Tray盘二维码 = new System.Windows.Forms.Label();
- this.剩余寿命 = new System.Windows.Forms.Label();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
- this.开始处理 = new System.Windows.Forms.Button();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.linemode = new System.Windows.Forms.Label();
this.当前时间 = new System.Windows.Forms.Label();
@@ -89,30 +70,62 @@ namespace WindowsFormsApp1
this.linetype = new System.Windows.Forms.Label();
this.linecode = new System.Windows.Forms.Label();
this.linename = new System.Windows.Forms.Label();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+ this.开始处理 = new System.Windows.Forms.Button();
+ this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
+ this.原料包装LOT号 = new System.Windows.Forms.GroupBox();
+ this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
+ this.材料值 = new System.Windows.Forms.Label();
+ this.材料 = new System.Windows.Forms.Label();
+ this.LOT号显示 = new System.Windows.Forms.Label();
+ this.LOT号 = new System.Windows.Forms.Label();
+ this.MES提示 = new System.Windows.Forms.Label();
+ this.Tray盘二维码 = new System.Windows.Forms.Label();
+ this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.事件结果 = new System.Windows.Forms.Label();
+ this.MES提示信息 = new System.Windows.Forms.Label();
+ this.eventTableLayout = new System.Windows.Forms.TableLayoutPanel();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.panel6 = new System.Windows.Forms.Panel();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.tableLayoutPanel9 = new System.Windows.Forms.TableLayoutPanel();
+ this.label4 = new System.Windows.Forms.Label();
+ this.剩余寿命 = new System.Windows.Forms.Label();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
this.tableLayoutPanel8 = new System.Windows.Forms.TableLayoutPanel();
this.底部注释1 = new System.Windows.Forms.Label();
this.底部注释2 = new System.Windows.Forms.Label();
this.底部注释3 = new System.Windows.Forms.Label();
this.底部注释4 = new System.Windows.Forms.Label();
this.底部注释5 = new System.Windows.Forms.Label();
+ this.tableLayoutPanel7 = new System.Windows.Forms.TableLayoutPanel();
+ this.richTextBox1 = new System.Windows.Forms.RichTextBox();
+ this.richTextBox2 = new System.Windows.Forms.RichTextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.plcStatusGroupBox.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
- this.tableLayoutPanel4.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.tableLayoutPanel7.SuspendLayout();
- this.gropb.SuspendLayout();
- this.tableLayoutPanel6.SuspendLayout();
- this.原料包装LOT号.SuspendLayout();
- this.tableLayoutPanel5.SuspendLayout();
- this.groupBox1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout();
- this.groupBox3.SuspendLayout();
+ this.tableLayoutPanel4.SuspendLayout();
+ this.原料包装LOT号.SuspendLayout();
+ this.tableLayoutPanel5.SuspendLayout();
+ this.tableLayoutPanel6.SuspendLayout();
+ this.eventTableLayout.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.tableLayoutPanel9.SuspendLayout();
this.tableLayoutPanel8.SuspendLayout();
+ this.tableLayoutPanel7.SuspendLayout();
this.SuspendLayout();
//
// plcStatusGroupBox
@@ -120,7 +133,7 @@ namespace WindowsFormsApp1
this.plcStatusGroupBox.Controls.Add(this.plcStatusTableLayout);
this.plcStatusGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.plcStatusGroupBox.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
- this.plcStatusGroupBox.Location = new System.Drawing.Point(3, 927);
+ this.plcStatusGroupBox.Location = new System.Drawing.Point(3, 969);
this.plcStatusGroupBox.Name = "plcStatusGroupBox";
this.plcStatusGroupBox.Size = new System.Drawing.Size(1754, 94);
this.plcStatusGroupBox.TabIndex = 9;
@@ -175,7 +188,7 @@ namespace WindowsFormsApp1
//
this.修改密码ToolStripMenuItem.Enabled = false;
this.修改密码ToolStripMenuItem.Name = "修改密码ToolStripMenuItem";
- this.修改密码ToolStripMenuItem.Size = new System.Drawing.Size(359, 50);
+ this.修改密码ToolStripMenuItem.Size = new System.Drawing.Size(283, 50);
this.修改密码ToolStripMenuItem.Text = "修改密码";
this.修改密码ToolStripMenuItem.Click += new System.EventHandler(this.修改密码ToolStripMenuItem_Click);
//
@@ -190,7 +203,7 @@ namespace WindowsFormsApp1
//
this.用户管理ToolStripMenuItem1.Enabled = false;
this.用户管理ToolStripMenuItem1.Name = "用户管理ToolStripMenuItem1";
- this.用户管理ToolStripMenuItem1.Size = new System.Drawing.Size(359, 50);
+ this.用户管理ToolStripMenuItem1.Size = new System.Drawing.Size(283, 50);
this.用户管理ToolStripMenuItem1.Text = "用户管理";
this.用户管理ToolStripMenuItem1.Click += new System.EventHandler(this.用户管理ToolStripMenuItem1_Click);
//
@@ -320,375 +333,96 @@ namespace WindowsFormsApp1
//
// 图片展示ToolStripMenuItem
//
+ this.图片展示ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.图片标注ToolStripMenuItem,
+ this.螺丝引导ToolStripMenuItem});
this.图片展示ToolStripMenuItem.Name = "图片展示ToolStripMenuItem";
this.图片展示ToolStripMenuItem.Size = new System.Drawing.Size(166, 45);
this.图片展示ToolStripMenuItem.Text = "螺丝引导";
- this.图片展示ToolStripMenuItem.Click += new System.EventHandler(this.图片展示ToolStripMenuItem_Click);
+ //
+ // 图片标注ToolStripMenuItem
+ //
+ this.图片标注ToolStripMenuItem.Name = "图片标注ToolStripMenuItem";
+ this.图片标注ToolStripMenuItem.Size = new System.Drawing.Size(283, 50);
+ this.图片标注ToolStripMenuItem.Text = "图片标注";
+ this.图片标注ToolStripMenuItem.Click += new System.EventHandler(this.图片标注ToolStripMenuItem_Click);
+ //
+ // 螺丝引导ToolStripMenuItem
+ //
+ this.螺丝引导ToolStripMenuItem.Name = "螺丝引导ToolStripMenuItem";
+ this.螺丝引导ToolStripMenuItem.Size = new System.Drawing.Size(283, 50);
+ this.螺丝引导ToolStripMenuItem.Text = "螺丝引导";
+ this.螺丝引导ToolStripMenuItem.Click += new System.EventHandler(this.螺丝引导ToolStripMenuItem_Click);
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 1;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel4, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1);
+ this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel4, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.groupBox1, 0, 0);
- this.tableLayoutPanel1.Controls.Add(this.groupBox3, 0, 2);
- this.tableLayoutPanel1.Controls.Add(this.plcStatusGroupBox, 0, 3);
- this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel8, 0, 4);
+ this.tableLayoutPanel1.Controls.Add(this.plcStatusGroupBox, 0, 4);
+ this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel8, 0, 5);
+ this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel7, 0, 3);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
- this.tableLayoutPanel1.RowCount = 5;
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 16.42934F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 54.05363F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25.08208F));
+ this.tableLayoutPanel1.RowCount = 6;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 105F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 59.66998F));
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 35.03736F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
- this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.434946F));
- this.tableLayoutPanel1.Size = new System.Drawing.Size(1760, 1068);
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 5.292663F));
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(1760, 1112);
this.tableLayoutPanel1.TabIndex = 6;
//
- // tableLayoutPanel4
- //
- this.tableLayoutPanel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.tableLayoutPanel4.ColumnCount = 3;
- this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 70F));
- this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 10F));
- this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
- this.tableLayoutPanel4.Controls.Add(this.groupBox2, 2, 0);
- this.tableLayoutPanel4.Controls.Add(this.gropb, 0, 1);
- this.tableLayoutPanel4.Controls.Add(this.原料包装LOT号, 0, 0);
- this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 163);
- this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.tableLayoutPanel4.Name = "tableLayoutPanel4";
- this.tableLayoutPanel4.RowCount = 2;
- this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60.04619F));
- this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 39.95381F));
- this.tableLayoutPanel4.Size = new System.Drawing.Size(1754, 515);
- this.tableLayoutPanel4.TabIndex = 8;
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.tableLayoutPanel7);
- this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.groupBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.groupBox2.Location = new System.Drawing.Point(1405, 4);
- this.groupBox2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.tableLayoutPanel4.SetRowSpan(this.groupBox2, 2);
- this.groupBox2.Size = new System.Drawing.Size(346, 507);
- this.groupBox2.TabIndex = 3;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "MES事件结果";
- //
- // tableLayoutPanel7
- //
- this.tableLayoutPanel7.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
- this.tableLayoutPanel7.ColumnCount = 1;
- this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel7.Controls.Add(this.事件1时间, 0, 2);
- this.tableLayoutPanel7.Controls.Add(this.事件1, 0, 1);
- this.tableLayoutPanel7.Controls.Add(this.事件1结果, 0, 0);
- this.tableLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel7.Location = new System.Drawing.Point(3, 41);
- this.tableLayoutPanel7.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.tableLayoutPanel7.Name = "tableLayoutPanel7";
- this.tableLayoutPanel7.RowCount = 3;
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F));
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel7.Size = new System.Drawing.Size(340, 462);
- this.tableLayoutPanel7.TabIndex = 0;
- //
- // 事件1时间
- //
- this.事件1时间.AutoEllipsis = true;
- this.事件1时间.AutoSize = true;
- this.事件1时间.Dock = System.Windows.Forms.DockStyle.Fill;
- this.事件1时间.Font = new System.Drawing.Font("宋体", 10F);
- this.事件1时间.Location = new System.Drawing.Point(4, 368);
- this.事件1时间.Name = "事件1时间";
- this.事件1时间.Size = new System.Drawing.Size(332, 93);
- this.事件1时间.TabIndex = 8;
- this.事件1时间.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // 事件1
- //
- this.事件1.AutoSize = true;
- this.事件1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.事件1.Font = new System.Drawing.Font("宋体", 12F);
- this.事件1.Location = new System.Drawing.Point(4, 276);
- this.事件1.Name = "事件1";
- this.事件1.Size = new System.Drawing.Size(332, 91);
- this.事件1.TabIndex = 2;
- this.事件1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // 事件1结果
- //
- this.事件1结果.AutoSize = true;
- this.事件1结果.Dock = System.Windows.Forms.DockStyle.Fill;
- this.事件1结果.Font = new System.Drawing.Font("宋体", 26.14286F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.事件1结果.Location = new System.Drawing.Point(4, 1);
- this.事件1结果.Name = "事件1结果";
- this.事件1结果.Size = new System.Drawing.Size(332, 274);
- this.事件1结果.TabIndex = 0;
- this.事件1结果.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // gropb
- //
- this.tableLayoutPanel4.SetColumnSpan(this.gropb, 2);
- this.gropb.Controls.Add(this.tableLayoutPanel6);
- this.gropb.Dock = System.Windows.Forms.DockStyle.Fill;
- this.gropb.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.gropb.Location = new System.Drawing.Point(3, 313);
- this.gropb.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.gropb.Name = "gropb";
- this.gropb.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.gropb.Size = new System.Drawing.Size(1396, 198);
- this.gropb.TabIndex = 1;
- this.gropb.TabStop = false;
- this.gropb.Text = "MES提示:";
- //
- // tableLayoutPanel6
- //
- this.tableLayoutPanel6.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
- this.tableLayoutPanel6.ColumnCount = 1;
- this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
- this.tableLayoutPanel6.Controls.Add(this.MES提示信息, 0, 0);
- this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel6.Location = new System.Drawing.Point(3, 41);
- this.tableLayoutPanel6.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.tableLayoutPanel6.Name = "tableLayoutPanel6";
- this.tableLayoutPanel6.RowCount = 1;
- this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel6.Size = new System.Drawing.Size(1390, 153);
- this.tableLayoutPanel6.TabIndex = 1;
- //
- // MES提示信息
- //
- this.MES提示信息.Dock = System.Windows.Forms.DockStyle.Fill;
- this.MES提示信息.Font = new System.Drawing.Font("宋体", 21.85714F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.MES提示信息.ForeColor = System.Drawing.SystemColors.ControlText;
- this.MES提示信息.Location = new System.Drawing.Point(4, 1);
- this.MES提示信息.Name = "MES提示信息";
- this.MES提示信息.Size = new System.Drawing.Size(1382, 151);
- this.MES提示信息.TabIndex = 6;
- this.MES提示信息.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // 原料包装LOT号
- //
- this.tableLayoutPanel4.SetColumnSpan(this.原料包装LOT号, 2);
- this.原料包装LOT号.Controls.Add(this.tableLayoutPanel5);
- this.原料包装LOT号.Dock = System.Windows.Forms.DockStyle.Fill;
- this.原料包装LOT号.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.原料包装LOT号.Location = new System.Drawing.Point(3, 4);
- this.原料包装LOT号.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.原料包装LOT号.Name = "原料包装LOT号";
- this.原料包装LOT号.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.原料包装LOT号.Size = new System.Drawing.Size(1396, 301);
- this.原料包装LOT号.TabIndex = 0;
- this.原料包装LOT号.TabStop = false;
- this.原料包装LOT号.Text = "产品信息:";
- //
- // tableLayoutPanel5
- //
- this.tableLayoutPanel5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
- this.tableLayoutPanel5.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
- this.tableLayoutPanel5.ColumnCount = 3;
- this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 21.75624F));
- this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67.06608F));
- this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 11.17768F));
- this.tableLayoutPanel5.Controls.Add(this.材料值, 1, 1);
- this.tableLayoutPanel5.Controls.Add(this.材料, 0, 1);
- this.tableLayoutPanel5.Controls.Add(this.LOT号显示, 0, 0);
- this.tableLayoutPanel5.Controls.Add(this.LOT号, 1, 0);
- this.tableLayoutPanel5.Controls.Add(this.胶水上下线, 2, 0);
- this.tableLayoutPanel5.Controls.Add(this.MES提示, 0, 2);
- this.tableLayoutPanel5.Controls.Add(this.Tray盘二维码, 1, 2);
- this.tableLayoutPanel5.Controls.Add(this.剩余寿命, 2, 2);
- this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel5.Location = new System.Drawing.Point(3, 41);
- this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.tableLayoutPanel5.Name = "tableLayoutPanel5";
- this.tableLayoutPanel5.RowCount = 3;
- this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
- this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
- this.tableLayoutPanel5.Size = new System.Drawing.Size(1390, 256);
- this.tableLayoutPanel5.TabIndex = 0;
- //
- // 材料值
- //
- this.材料值.AutoSize = true;
- this.材料值.Dock = System.Windows.Forms.DockStyle.Fill;
- this.材料值.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.材料值.Location = new System.Drawing.Point(306, 103);
- this.材料值.Name = "材料值";
- this.材料值.Size = new System.Drawing.Size(923, 50);
- this.材料值.TabIndex = 7;
- this.材料值.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // 材料
- //
- this.材料.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.材料.AutoSize = true;
- this.材料.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.材料.Location = new System.Drawing.Point(96, 111);
- this.材料.Name = "材料";
- this.材料.Size = new System.Drawing.Size(111, 33);
- this.材料.TabIndex = 6;
- this.材料.Text = "材料:";
- //
- // LOT号显示
- //
- this.LOT号显示.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.LOT号显示.AutoSize = true;
- this.LOT号显示.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.LOT号显示.Location = new System.Drawing.Point(93, 27);
- this.LOT号显示.Name = "LOT号显示";
- this.LOT号显示.Size = new System.Drawing.Size(116, 48);
- this.LOT号显示.TabIndex = 2;
- this.LOT号显示.Text = "SN:";
- //
- // LOT号
- //
- this.LOT号.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.LOT号.AutoSize = true;
- this.LOT号.Font = new System.Drawing.Font("宋体", 21.85714F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.LOT号.Location = new System.Drawing.Point(767, 22);
- this.LOT号.Name = "LOT号";
- this.LOT号.Size = new System.Drawing.Size(0, 59);
- this.LOT号.TabIndex = 0;
- //
- // 胶水上下线
- //
- this.胶水上下线.Dock = System.Windows.Forms.DockStyle.Fill;
- this.胶水上下线.Location = new System.Drawing.Point(1236, 5);
- this.胶水上下线.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
- this.胶水上下线.Name = "胶水上下线";
- this.tableLayoutPanel5.SetRowSpan(this.胶水上下线, 2);
- this.胶水上下线.Size = new System.Drawing.Size(150, 144);
- this.胶水上下线.TabIndex = 3;
- this.胶水上下线.Text = "胶水寿命";
- this.胶水上下线.UseVisualStyleBackColor = true;
- //
- // MES提示
- //
- this.MES提示.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.MES提示.AutoSize = true;
- this.MES提示.Font = new System.Drawing.Font("宋体", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.MES提示.Location = new System.Drawing.Point(45, 180);
- this.MES提示.Name = "MES提示";
- this.MES提示.Size = new System.Drawing.Size(212, 48);
- this.MES提示.TabIndex = 4;
- this.MES提示.Text = "托盘码:";
- //
- // Tray盘二维码
- //
- this.Tray盘二维码.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.Tray盘二维码.AutoSize = true;
- this.Tray盘二维码.Font = new System.Drawing.Font("宋体", 21.85714F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.Tray盘二维码.Location = new System.Drawing.Point(767, 175);
- this.Tray盘二维码.Name = "Tray盘二维码";
- this.Tray盘二维码.Size = new System.Drawing.Size(0, 59);
- this.Tray盘二维码.TabIndex = 2;
- //
- // 剩余寿命
- //
- this.剩余寿命.AutoSize = true;
- this.剩余寿命.Dock = System.Windows.Forms.DockStyle.Fill;
- this.剩余寿命.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.剩余寿命.Location = new System.Drawing.Point(1236, 154);
- this.剩余寿命.Name = "剩余寿命";
- this.剩余寿命.Size = new System.Drawing.Size(150, 101);
- this.剩余寿命.TabIndex = 5;
- this.剩余寿命.Text = "剩余寿命";
- this.剩余寿命.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- //
- // groupBox1
- //
- this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.groupBox1.Controls.Add(this.tableLayoutPanel3);
- this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.groupBox1.Location = new System.Drawing.Point(4, 5);
- this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.groupBox1.Size = new System.Drawing.Size(1752, 149);
- this.groupBox1.TabIndex = 4;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "处理界面";
- //
// tableLayoutPanel3
//
this.tableLayoutPanel3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.tableLayoutPanel3.ColumnCount = 4;
- this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1F));
- this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 8F));
- this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1F));
- this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 90F));
- this.tableLayoutPanel3.Controls.Add(this.开始处理, 1, 1);
- this.tableLayoutPanel3.Controls.Add(this.tableLayoutPanel2, 3, 0);
- this.tableLayoutPanel3.Location = new System.Drawing.Point(20, 48);
+ this.tableLayoutPanel3.ColumnCount = 1;
+ this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tableLayoutPanel3.Controls.Add(this.tableLayoutPanel2, 0, 0);
+ this.tableLayoutPanel3.Location = new System.Drawing.Point(5, 56);
this.tableLayoutPanel3.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
- this.tableLayoutPanel3.RowCount = 3;
- this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
- this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 80F));
- this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
- this.tableLayoutPanel3.Size = new System.Drawing.Size(1721, 89);
+ this.tableLayoutPanel3.RowCount = 1;
+ this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel3.Size = new System.Drawing.Size(1750, 93);
this.tableLayoutPanel3.TabIndex = 4;
//
- // 开始处理
- //
- this.开始处理.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
- this.开始处理.Dock = System.Windows.Forms.DockStyle.Fill;
- this.开始处理.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.开始处理.Location = new System.Drawing.Point(21, 13);
- this.开始处理.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.开始处理.Name = "开始处理";
- this.开始处理.Size = new System.Drawing.Size(129, 61);
- this.开始处理.TabIndex = 1;
- this.开始处理.Text = "开始处理";
- this.开始处理.UseVisualStyleBackColor = false;
- this.开始处理.Click += new System.EventHandler(this.开始处理_Click);
- //
// tableLayoutPanel2
//
this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel2.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
- this.tableLayoutPanel2.ColumnCount = 6;
+ this.tableLayoutPanel2.ColumnCount = 7;
+ this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 200F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
- this.tableLayoutPanel2.Controls.Add(this.linemode, 3, 0);
- this.tableLayoutPanel2.Controls.Add(this.当前时间, 5, 0);
- this.tableLayoutPanel2.Controls.Add(this.操作人员ID, 4, 0);
- this.tableLayoutPanel2.Controls.Add(this.linetype, 2, 0);
- this.tableLayoutPanel2.Controls.Add(this.linecode, 1, 0);
- this.tableLayoutPanel2.Controls.Add(this.linename, 0, 0);
- this.tableLayoutPanel2.Location = new System.Drawing.Point(176, 6);
+ this.tableLayoutPanel2.Controls.Add(this.linemode, 4, 0);
+ this.tableLayoutPanel2.Controls.Add(this.当前时间, 6, 0);
+ this.tableLayoutPanel2.Controls.Add(this.操作人员ID, 5, 0);
+ this.tableLayoutPanel2.Controls.Add(this.linetype, 3, 0);
+ this.tableLayoutPanel2.Controls.Add(this.linecode, 2, 0);
+ this.tableLayoutPanel2.Controls.Add(this.linename, 1, 0);
+ this.tableLayoutPanel2.Controls.Add(this.开始处理, 0, 0);
+ this.tableLayoutPanel2.Location = new System.Drawing.Point(5, 6);
this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
- this.tableLayoutPanel3.SetRowSpan(this.tableLayoutPanel2, 3);
- this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
- this.tableLayoutPanel2.Size = new System.Drawing.Size(1540, 77);
+ this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel2.Size = new System.Drawing.Size(1740, 81);
this.tableLayoutPanel2.TabIndex = 3;
//
// linemode
@@ -696,10 +430,10 @@ namespace WindowsFormsApp1
this.linemode.AutoSize = true;
this.linemode.Dock = System.Windows.Forms.DockStyle.Fill;
this.linemode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.linemode.Location = new System.Drawing.Point(774, 1);
+ this.linemode.Location = new System.Drawing.Point(975, 1);
this.linemode.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.linemode.Name = "linemode";
- this.linemode.Size = new System.Drawing.Size(245, 75);
+ this.linemode.Size = new System.Drawing.Size(245, 79);
this.linemode.TabIndex = 16;
this.linemode.Text = "MachineID";
this.linemode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -709,10 +443,10 @@ namespace WindowsFormsApp1
this.当前时间.AutoSize = true;
this.当前时间.Dock = System.Windows.Forms.DockStyle.Fill;
this.当前时间.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.当前时间.Location = new System.Drawing.Point(1286, 1);
+ this.当前时间.Location = new System.Drawing.Point(1487, 1);
this.当前时间.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.当前时间.Name = "当前时间";
- this.当前时间.Size = new System.Drawing.Size(248, 75);
+ this.当前时间.Size = new System.Drawing.Size(247, 79);
this.当前时间.TabIndex = 11;
this.当前时间.Text = "当前状态:";
this.当前时间.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -722,10 +456,10 @@ namespace WindowsFormsApp1
this.操作人员ID.AutoSize = true;
this.操作人员ID.Dock = System.Windows.Forms.DockStyle.Fill;
this.操作人员ID.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.操作人员ID.Location = new System.Drawing.Point(1030, 1);
+ this.操作人员ID.Location = new System.Drawing.Point(1231, 1);
this.操作人员ID.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.操作人员ID.Name = "操作人员ID";
- this.操作人员ID.Size = new System.Drawing.Size(245, 75);
+ this.操作人员ID.Size = new System.Drawing.Size(245, 79);
this.操作人员ID.TabIndex = 6;
this.操作人员ID.Text = "操作人员ID:";
this.操作人员ID.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -735,10 +469,10 @@ namespace WindowsFormsApp1
this.linetype.AutoSize = true;
this.linetype.Dock = System.Windows.Forms.DockStyle.Fill;
this.linetype.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.linetype.Location = new System.Drawing.Point(518, 1);
+ this.linetype.Location = new System.Drawing.Point(719, 1);
this.linetype.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.linetype.Name = "linetype";
- this.linetype.Size = new System.Drawing.Size(245, 75);
+ this.linetype.Size = new System.Drawing.Size(245, 79);
this.linetype.TabIndex = 5;
this.linetype.Text = "StationID";
this.linetype.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -748,10 +482,10 @@ namespace WindowsFormsApp1
this.linecode.AutoSize = true;
this.linecode.Dock = System.Windows.Forms.DockStyle.Fill;
this.linecode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.linecode.Location = new System.Drawing.Point(262, 1);
+ this.linecode.Location = new System.Drawing.Point(463, 1);
this.linecode.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.linecode.Name = "linecode";
- this.linecode.Size = new System.Drawing.Size(245, 75);
+ this.linecode.Size = new System.Drawing.Size(245, 79);
this.linecode.TabIndex = 4;
this.linecode.Text = "Line";
this.linecode.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
@@ -761,42 +495,421 @@ namespace WindowsFormsApp1
this.linename.AutoSize = true;
this.linename.Dock = System.Windows.Forms.DockStyle.Fill;
this.linename.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.linename.Location = new System.Drawing.Point(6, 1);
+ this.linename.Location = new System.Drawing.Point(207, 1);
this.linename.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.linename.Name = "linename";
- this.linename.Size = new System.Drawing.Size(245, 75);
+ this.linename.Size = new System.Drawing.Size(245, 79);
this.linename.TabIndex = 3;
this.linename.Text = "线别:";
this.linename.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
- // groupBox3
+ // 开始处理
//
- this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ this.开始处理.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.开始处理.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.开始处理.Location = new System.Drawing.Point(4, 4);
+ this.开始处理.Name = "开始处理";
+ this.开始处理.Size = new System.Drawing.Size(194, 73);
+ this.开始处理.TabIndex = 17;
+ this.开始处理.Text = "开始处理";
+ this.开始处理.UseVisualStyleBackColor = true;
+ this.开始处理.Click += new System.EventHandler(this.开始处理_Click);
+ //
+ // tableLayoutPanel4
+ //
+ this.tableLayoutPanel4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
- this.groupBox3.Controls.Add(this.richTextBox1);
- this.groupBox3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.groupBox3.Location = new System.Drawing.Point(4, 687);
- this.groupBox3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
- this.groupBox3.Size = new System.Drawing.Size(1752, 232);
- this.groupBox3.TabIndex = 6;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "日志页面";
+ this.tableLayoutPanel4.ColumnCount = 2;
+ this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F));
+ this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.tableLayoutPanel4.Controls.Add(this.原料包装LOT号, 0, 0);
+ this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel6, 0, 1);
+ this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel9, 1, 0);
+ this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 159);
+ this.tableLayoutPanel4.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.tableLayoutPanel4.Name = "tableLayoutPanel4";
+ this.tableLayoutPanel4.RowCount = 2;
+ this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 40F));
+ this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 60F));
+ this.tableLayoutPanel4.Size = new System.Drawing.Size(1754, 503);
+ this.tableLayoutPanel4.TabIndex = 8;
//
- // richTextBox1
+ // 原料包装LOT号
//
- this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.richTextBox1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.richTextBox1.Location = new System.Drawing.Point(20, 48);
- this.richTextBox1.Margin = new System.Windows.Forms.Padding(5, 6, 5, 6);
- this.richTextBox1.Name = "richTextBox1";
- this.richTextBox1.Size = new System.Drawing.Size(1718, 169);
- this.richTextBox1.TabIndex = 0;
- this.richTextBox1.Text = "";
+ this.原料包装LOT号.Controls.Add(this.tableLayoutPanel5);
+ this.原料包装LOT号.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.原料包装LOT号.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.原料包装LOT号.Location = new System.Drawing.Point(3, 4);
+ this.原料包装LOT号.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.原料包装LOT号.Name = "原料包装LOT号";
+ this.原料包装LOT号.Padding = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.原料包装LOT号.Size = new System.Drawing.Size(1397, 193);
+ this.原料包装LOT号.TabIndex = 0;
+ this.原料包装LOT号.TabStop = false;
+ this.原料包装LOT号.Text = "产品信息:";
+ //
+ // tableLayoutPanel5
+ //
+ this.tableLayoutPanel5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.tableLayoutPanel5.ColumnCount = 2;
+ this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.49411F));
+ this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75.50589F));
+ this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tableLayoutPanel5.Controls.Add(this.材料值, 1, 1);
+ this.tableLayoutPanel5.Controls.Add(this.材料, 0, 1);
+ this.tableLayoutPanel5.Controls.Add(this.LOT号显示, 0, 0);
+ this.tableLayoutPanel5.Controls.Add(this.LOT号, 1, 0);
+ this.tableLayoutPanel5.Controls.Add(this.MES提示, 0, 2);
+ this.tableLayoutPanel5.Controls.Add(this.Tray盘二维码, 1, 2);
+ this.tableLayoutPanel5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel5.Location = new System.Drawing.Point(3, 41);
+ this.tableLayoutPanel5.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.tableLayoutPanel5.Name = "tableLayoutPanel5";
+ this.tableLayoutPanel5.RowCount = 3;
+ this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
+ this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
+ this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33334F));
+ this.tableLayoutPanel5.Size = new System.Drawing.Size(1391, 148);
+ this.tableLayoutPanel5.TabIndex = 0;
+ //
+ // 材料值
+ //
+ this.材料值.AutoSize = true;
+ this.材料值.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.材料值.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.材料值.Location = new System.Drawing.Point(343, 49);
+ this.材料值.Name = "材料值";
+ this.材料值.Size = new System.Drawing.Size(1045, 49);
+ this.材料值.TabIndex = 7;
+ this.材料值.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // 材料
+ //
+ this.材料.AutoSize = true;
+ this.材料.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.材料.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.材料.Location = new System.Drawing.Point(3, 49);
+ this.材料.Name = "材料";
+ this.材料.Size = new System.Drawing.Size(334, 49);
+ this.材料.TabIndex = 6;
+ this.材料.Text = "材 料:";
+ this.材料.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // LOT号显示
+ //
+ this.LOT号显示.AutoSize = true;
+ this.LOT号显示.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.LOT号显示.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.LOT号显示.Location = new System.Drawing.Point(3, 0);
+ this.LOT号显示.Name = "LOT号显示";
+ this.LOT号显示.Size = new System.Drawing.Size(334, 49);
+ this.LOT号显示.TabIndex = 2;
+ this.LOT号显示.Text = "产品 SN:";
+ this.LOT号显示.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // LOT号
+ //
+ this.LOT号.AutoSize = true;
+ this.LOT号.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.LOT号.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold);
+ this.LOT号.Location = new System.Drawing.Point(343, 0);
+ this.LOT号.Name = "LOT号";
+ this.LOT号.Size = new System.Drawing.Size(1045, 49);
+ this.LOT号.TabIndex = 0;
+ this.LOT号.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // MES提示
+ //
+ this.MES提示.AutoSize = true;
+ this.MES提示.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.MES提示.Font = new System.Drawing.Font("宋体", 15F);
+ this.MES提示.Location = new System.Drawing.Point(3, 98);
+ this.MES提示.Name = "MES提示";
+ this.MES提示.Size = new System.Drawing.Size(334, 50);
+ this.MES提示.TabIndex = 4;
+ this.MES提示.Text = "托 盘 码:";
+ this.MES提示.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // Tray盘二维码
+ //
+ this.Tray盘二维码.AutoSize = true;
+ this.Tray盘二维码.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.Tray盘二维码.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold);
+ this.Tray盘二维码.Location = new System.Drawing.Point(343, 98);
+ this.Tray盘二维码.Name = "Tray盘二维码";
+ this.Tray盘二维码.Size = new System.Drawing.Size(1045, 50);
+ this.Tray盘二维码.TabIndex = 2;
+ this.Tray盘二维码.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // tableLayoutPanel6
+ //
+ this.tableLayoutPanel6.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single;
+ this.tableLayoutPanel6.ColumnCount = 3;
+ this.tableLayoutPanel4.SetColumnSpan(this.tableLayoutPanel6, 2);
+ this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
+ this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 15F));
+ this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 60F));
+ this.tableLayoutPanel6.Controls.Add(this.label1, 0, 0);
+ this.tableLayoutPanel6.Controls.Add(this.label2, 1, 0);
+ this.tableLayoutPanel6.Controls.Add(this.label3, 2, 0);
+ this.tableLayoutPanel6.Controls.Add(this.事件结果, 1, 1);
+ this.tableLayoutPanel6.Controls.Add(this.MES提示信息, 2, 1);
+ this.tableLayoutPanel6.Controls.Add(this.eventTableLayout, 0, 1);
+ this.tableLayoutPanel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel6.Location = new System.Drawing.Point(3, 204);
+ this.tableLayoutPanel6.Name = "tableLayoutPanel6";
+ this.tableLayoutPanel6.RowCount = 2;
+ this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
+ this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel6.Size = new System.Drawing.Size(1748, 296);
+ this.tableLayoutPanel6.TabIndex = 3;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label1.Font = new System.Drawing.Font("宋体", 10.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.Location = new System.Drawing.Point(4, 1);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(430, 50);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "MES事件";
+ this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label2.Font = new System.Drawing.Font("宋体", 10.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label2.Location = new System.Drawing.Point(441, 1);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(255, 50);
+ this.label2.TabIndex = 1;
+ this.label2.Text = "MES事件结果";
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label3.Font = new System.Drawing.Font("宋体", 10.125F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.Location = new System.Drawing.Point(703, 1);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(1041, 50);
+ this.label3.TabIndex = 2;
+ this.label3.Text = "MES信息提示";
+ this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // 事件结果
+ //
+ this.事件结果.AutoSize = true;
+ this.事件结果.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.事件结果.Font = new System.Drawing.Font("宋体", 25.875F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.事件结果.Location = new System.Drawing.Point(441, 52);
+ this.事件结果.Name = "事件结果";
+ this.事件结果.Size = new System.Drawing.Size(255, 243);
+ this.事件结果.TabIndex = 3;
+ this.事件结果.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // MES提示信息
+ //
+ this.MES提示信息.AutoSize = true;
+ this.MES提示信息.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.MES提示信息.Font = new System.Drawing.Font("宋体", 16.125F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.MES提示信息.Location = new System.Drawing.Point(703, 52);
+ this.MES提示信息.Name = "MES提示信息";
+ this.MES提示信息.Size = new System.Drawing.Size(1041, 243);
+ this.MES提示信息.TabIndex = 4;
+ this.MES提示信息.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // eventTableLayout
+ //
+ this.eventTableLayout.ColumnCount = 2;
+ this.eventTableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.eventTableLayout.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 100F));
+ this.eventTableLayout.Controls.Add(this.panel1, 1, 0);
+ this.eventTableLayout.Controls.Add(this.panel4, 1, 1);
+ this.eventTableLayout.Controls.Add(this.panel3, 1, 2);
+ this.eventTableLayout.Controls.Add(this.panel5, 1, 3);
+ this.eventTableLayout.Controls.Add(this.panel6, 1, 4);
+ this.eventTableLayout.Controls.Add(this.label5, 0, 0);
+ this.eventTableLayout.Controls.Add(this.label6, 0, 1);
+ this.eventTableLayout.Controls.Add(this.label7, 0, 2);
+ this.eventTableLayout.Controls.Add(this.label8, 0, 3);
+ this.eventTableLayout.Controls.Add(this.label9, 0, 4);
+ this.eventTableLayout.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.eventTableLayout.Location = new System.Drawing.Point(4, 55);
+ this.eventTableLayout.Name = "eventTableLayout";
+ this.eventTableLayout.RowCount = 5;
+ this.eventTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.eventTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.eventTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.eventTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.eventTableLayout.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 20F));
+ this.eventTableLayout.Size = new System.Drawing.Size(430, 237);
+ this.eventTableLayout.TabIndex = 5;
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(333, 3);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(94, 41);
+ this.panel1.TabIndex = 0;
+ //
+ // panel2
+ //
+ this.panel2.Location = new System.Drawing.Point(38, 47);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(200, 41);
+ this.panel2.TabIndex = 1;
+ //
+ // panel4
+ //
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel4.Location = new System.Drawing.Point(333, 50);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(94, 41);
+ this.panel4.TabIndex = 2;
+ //
+ // panel3
+ //
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel3.Location = new System.Drawing.Point(333, 97);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(94, 41);
+ this.panel3.TabIndex = 1;
+ //
+ // panel5
+ //
+ this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel5.Location = new System.Drawing.Point(333, 144);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(94, 41);
+ this.panel5.TabIndex = 3;
+ //
+ // panel6
+ //
+ this.panel6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel6.Location = new System.Drawing.Point(333, 191);
+ this.panel6.Name = "panel6";
+ this.panel6.Size = new System.Drawing.Size(94, 43);
+ this.panel6.TabIndex = 4;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label5.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold);
+ this.label5.Location = new System.Drawing.Point(3, 0);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(324, 47);
+ this.label5.TabIndex = 5;
+ this.label5.Text = "label5";
+ this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label6.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label6.Location = new System.Drawing.Point(3, 47);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(324, 47);
+ this.label6.TabIndex = 6;
+ this.label6.Text = "label6";
+ this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label7.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label7.Location = new System.Drawing.Point(3, 94);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(324, 47);
+ this.label7.TabIndex = 7;
+ this.label7.Text = "label7";
+ this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label8.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label8.Location = new System.Drawing.Point(3, 141);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(324, 47);
+ this.label8.TabIndex = 8;
+ this.label8.Text = "label8";
+ this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label9.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label9.Location = new System.Drawing.Point(3, 188);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(324, 49);
+ this.label9.TabIndex = 9;
+ this.label9.Text = "label9";
+ this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ //
+ // tableLayoutPanel9
+ //
+ this.tableLayoutPanel9.ColumnCount = 1;
+ this.tableLayoutPanel9.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel9.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tableLayoutPanel9.Controls.Add(this.label4, 0, 0);
+ this.tableLayoutPanel9.Controls.Add(this.剩余寿命, 0, 1);
+ this.tableLayoutPanel9.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel9.Location = new System.Drawing.Point(1406, 3);
+ this.tableLayoutPanel9.Name = "tableLayoutPanel9";
+ this.tableLayoutPanel9.RowCount = 2;
+ this.tableLayoutPanel9.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
+ this.tableLayoutPanel9.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel9.Size = new System.Drawing.Size(345, 195);
+ this.tableLayoutPanel9.TabIndex = 4;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.label4.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label4.Location = new System.Drawing.Point(3, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(339, 50);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "胶水寿命";
+ this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // 剩余寿命
+ //
+ this.剩余寿命.AutoSize = true;
+ this.剩余寿命.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.剩余寿命.Font = new System.Drawing.Font("宋体", 24F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.剩余寿命.Location = new System.Drawing.Point(3, 50);
+ this.剩余寿命.Name = "剩余寿命";
+ this.剩余寿命.Size = new System.Drawing.Size(339, 145);
+ this.剩余寿命.TabIndex = 1;
+ this.剩余寿命.Text = "label5";
+ this.剩余寿命.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.groupBox1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.groupBox1.Location = new System.Drawing.Point(4, 5);
+ this.groupBox1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
+ this.groupBox1.Size = new System.Drawing.Size(1752, 40);
+ this.groupBox1.TabIndex = 4;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "处理界面";
//
// tableLayoutPanel8
//
@@ -817,12 +930,12 @@ namespace WindowsFormsApp1
this.tableLayoutPanel8.Controls.Add(this.底部注释4, 3, 0);
this.tableLayoutPanel8.Controls.Add(this.底部注释5, 4, 0);
this.tableLayoutPanel8.Dock = System.Windows.Forms.DockStyle.Fill;
- this.tableLayoutPanel8.Location = new System.Drawing.Point(3, 1028);
+ this.tableLayoutPanel8.Location = new System.Drawing.Point(3, 1070);
this.tableLayoutPanel8.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tableLayoutPanel8.Name = "tableLayoutPanel8";
this.tableLayoutPanel8.RowCount = 1;
this.tableLayoutPanel8.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
- this.tableLayoutPanel8.Size = new System.Drawing.Size(1754, 36);
+ this.tableLayoutPanel8.Size = new System.Drawing.Size(1754, 38);
this.tableLayoutPanel8.TabIndex = 7;
//
// 底部注释1
@@ -831,7 +944,7 @@ namespace WindowsFormsApp1
this.底部注释1.AutoSize = true;
this.底部注释1.Location = new System.Drawing.Point(3, 6);
this.底部注释1.Name = "底部注释1";
- this.底部注释1.Size = new System.Drawing.Size(118, 24);
+ this.底部注释1.Size = new System.Drawing.Size(108, 25);
this.底部注释1.TabIndex = 0;
this.底部注释1.Text = "底部注释1";
//
@@ -841,7 +954,7 @@ namespace WindowsFormsApp1
this.底部注释2.AutoSize = true;
this.底部注释2.Location = new System.Drawing.Point(178, 6);
this.底部注释2.Name = "底部注释2";
- this.底部注释2.Size = new System.Drawing.Size(118, 24);
+ this.底部注释2.Size = new System.Drawing.Size(108, 25);
this.底部注释2.TabIndex = 1;
this.底部注释2.Text = "底部注释2";
//
@@ -851,7 +964,7 @@ namespace WindowsFormsApp1
this.底部注释3.AutoSize = true;
this.底部注释3.Location = new System.Drawing.Point(353, 6);
this.底部注释3.Name = "底部注释3";
- this.底部注释3.Size = new System.Drawing.Size(118, 24);
+ this.底部注释3.Size = new System.Drawing.Size(108, 25);
this.底部注释3.TabIndex = 2;
this.底部注释3.Text = "底部注释3";
//
@@ -861,7 +974,7 @@ namespace WindowsFormsApp1
this.底部注释4.AutoSize = true;
this.底部注释4.Location = new System.Drawing.Point(528, 6);
this.底部注释4.Name = "底部注释4";
- this.底部注释4.Size = new System.Drawing.Size(118, 24);
+ this.底部注释4.Size = new System.Drawing.Size(108, 25);
this.底部注释4.TabIndex = 3;
this.底部注释4.Text = "底部注释4";
//
@@ -871,22 +984,56 @@ namespace WindowsFormsApp1
this.底部注释5.AutoSize = true;
this.底部注释5.Location = new System.Drawing.Point(703, 6);
this.底部注释5.Name = "底部注释5";
- this.底部注释5.Size = new System.Drawing.Size(118, 24);
+ this.底部注释5.Size = new System.Drawing.Size(108, 25);
this.底部注释5.TabIndex = 4;
this.底部注释5.Text = "底部注释5";
//
+ // tableLayoutPanel7
+ //
+ this.tableLayoutPanel7.ColumnCount = 2;
+ this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel7.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
+ this.tableLayoutPanel7.Controls.Add(this.richTextBox1, 0, 0);
+ this.tableLayoutPanel7.Controls.Add(this.richTextBox2, 1, 0);
+ this.tableLayoutPanel7.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel7.Location = new System.Drawing.Point(3, 669);
+ this.tableLayoutPanel7.Name = "tableLayoutPanel7";
+ this.tableLayoutPanel7.RowCount = 1;
+ this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
+ this.tableLayoutPanel7.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
+ this.tableLayoutPanel7.Size = new System.Drawing.Size(1754, 294);
+ this.tableLayoutPanel7.TabIndex = 10;
+ //
+ // richTextBox1
+ //
+ this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.richTextBox1.Location = new System.Drawing.Point(3, 3);
+ this.richTextBox1.Name = "richTextBox1";
+ this.richTextBox1.Size = new System.Drawing.Size(871, 288);
+ this.richTextBox1.TabIndex = 0;
+ this.richTextBox1.Text = "";
+ //
+ // richTextBox2
+ //
+ this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.richTextBox2.Location = new System.Drawing.Point(880, 3);
+ this.richTextBox2.Name = "richTextBox2";
+ this.richTextBox2.Size = new System.Drawing.Size(871, 288);
+ this.richTextBox2.TabIndex = 1;
+ this.richTextBox2.Text = "";
+ //
// MainForm
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 25F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(1760, 1068);
+ this.ClientSize = new System.Drawing.Size(1760, 1112);
this.Controls.Add(this.menuStrip1);
this.Controls.Add(this.tableLayoutPanel1);
this.MainMenuStrip = this.menuStrip1;
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Form1";
+ this.Text = "上位机";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.Form1_Load);
this.plcStatusGroupBox.ResumeLayout(false);
@@ -894,22 +1041,23 @@ namespace WindowsFormsApp1
this.menuStrip1.ResumeLayout(false);
this.menuStrip1.PerformLayout();
this.tableLayoutPanel1.ResumeLayout(false);
- this.tableLayoutPanel4.ResumeLayout(false);
- this.groupBox2.ResumeLayout(false);
- this.tableLayoutPanel7.ResumeLayout(false);
- this.tableLayoutPanel7.PerformLayout();
- this.gropb.ResumeLayout(false);
- this.tableLayoutPanel6.ResumeLayout(false);
- this.原料包装LOT号.ResumeLayout(false);
- this.tableLayoutPanel5.ResumeLayout(false);
- this.tableLayoutPanel5.PerformLayout();
- this.groupBox1.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel2.PerformLayout();
- this.groupBox3.ResumeLayout(false);
+ this.tableLayoutPanel4.ResumeLayout(false);
+ this.原料包装LOT号.ResumeLayout(false);
+ this.tableLayoutPanel5.ResumeLayout(false);
+ this.tableLayoutPanel5.PerformLayout();
+ this.tableLayoutPanel6.ResumeLayout(false);
+ this.tableLayoutPanel6.PerformLayout();
+ this.eventTableLayout.ResumeLayout(false);
+ this.eventTableLayout.PerformLayout();
+ this.panel1.ResumeLayout(false);
+ this.tableLayoutPanel9.ResumeLayout(false);
+ this.tableLayoutPanel9.PerformLayout();
this.tableLayoutPanel8.ResumeLayout(false);
this.tableLayoutPanel8.PerformLayout();
+ this.tableLayoutPanel7.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@@ -932,13 +1080,10 @@ namespace WindowsFormsApp1
private System.Windows.Forms.ToolStripMenuItem 切换用户ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 用户管理ToolStripMenuItem1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
- private System.Windows.Forms.GroupBox groupBox3;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.ToolStripMenuItem 扭力曲线配置ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 产线管理ToolStripMenuItem;
- private System.Windows.Forms.RichTextBox richTextBox1;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
- private System.Windows.Forms.Button 开始处理;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel8;
private System.Windows.Forms.Label 底部注释1;
private System.Windows.Forms.Label 底部注释2;
@@ -946,8 +1091,6 @@ namespace WindowsFormsApp1
private System.Windows.Forms.Label 底部注释4;
private System.Windows.Forms.Label 底部注释5;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
- private System.Windows.Forms.GroupBox gropb;
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel6;
private System.Windows.Forms.Label Tray盘二维码;
private System.Windows.Forms.GroupBox 原料包装LOT号;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;
@@ -960,12 +1103,6 @@ namespace WindowsFormsApp1
private System.Windows.Forms.ToolStripMenuItem 扭力角度扭矩设置ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 压力曲线设置ToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem 螺丝枪扭力设置ToolStripMenuItem;
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.TableLayoutPanel tableLayoutPanel7;
- private System.Windows.Forms.Label 事件1时间;
- private System.Windows.Forms.Label 事件1;
- private System.Windows.Forms.Label 事件1结果;
- private System.Windows.Forms.Label MES提示信息;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.Label linemode;
private System.Windows.Forms.Label 当前时间;
@@ -973,13 +1110,38 @@ namespace WindowsFormsApp1
private System.Windows.Forms.Label linetype;
private System.Windows.Forms.Label linecode;
private System.Windows.Forms.Label linename;
- private System.Windows.Forms.Label 剩余寿命;
- private System.Windows.Forms.Button 胶水上下线;
- private System.Windows.Forms.ToolStripMenuItem 图片展示ToolStripMenuItem;
private System.Windows.Forms.GroupBox plcStatusGroupBox;
private System.Windows.Forms.TableLayoutPanel plcStatusTableLayout;
private System.Windows.Forms.Label 材料;
private System.Windows.Forms.Label 材料值;
+ private System.Windows.Forms.ToolStripMenuItem 图片展示ToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem 图片标注ToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem 螺丝引导ToolStripMenuItem;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel6;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel7;
+ private System.Windows.Forms.RichTextBox richTextBox1;
+ private System.Windows.Forms.RichTextBox richTextBox2;
+ private System.Windows.Forms.Label 事件结果;
+ private System.Windows.Forms.Label MES提示信息;
+ private System.Windows.Forms.Button 开始处理;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel9;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label 剩余寿命;
+ private System.Windows.Forms.TableLayoutPanel eventTableLayout;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel5;
+ private System.Windows.Forms.Panel panel6;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label9;
}
}
diff --git a/WindowsFormsApp1/MainForm.cs b/WindowsFormsApp1/MainForm.cs
index ceda351..784c622 100644
--- a/WindowsFormsApp1/MainForm.cs
+++ b/WindowsFormsApp1/MainForm.cs
@@ -44,17 +44,22 @@ namespace WindowsFormsApp1
private ApiClient statusApiClient = new ApiClient(); // 专用于状态上报的API客户端
private object curingLock = new object();
private int OldPlcTrigger = 0;
+
+ // 在MainForm类的成员变量部分添加
+ private List