diff --git a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.Designer.cs b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.Designer.cs index 08f799f..0bb7d6e 100644 --- a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.Designer.cs +++ b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.Designer.cs @@ -31,7 +31,34 @@ this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.panel1 = new System.Windows.Forms.Panel(); - this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.tlp_MainContainer = new System.Windows.Forms.TableLayoutPanel(); + this.label34 = new System.Windows.Forms.Label(); + this.label33 = new System.Windows.Forms.Label(); + this.pnl_LeftContainer1 = new System.Windows.Forms.Panel(); + this.lbl_ProductName = new System.Windows.Forms.Label(); + this.btn_LoadImage = new System.Windows.Forms.Button(); + this.label81 = new System.Windows.Forms.Label(); + this.button1 = new System.Windows.Forms.Button(); + this.btn_ManulTrigger = new System.Windows.Forms.Button(); + this.button2 = new System.Windows.Forms.Button(); + this.btn_Auto = new System.Windows.Forms.Button(); + this.checkBox5 = new System.Windows.Forms.CheckBox(); + this.checkBox4 = new System.Windows.Forms.CheckBox(); + this.checkBox1 = new System.Windows.Forms.CheckBox(); + this.checkBox2 = new System.Windows.Forms.CheckBox(); + this.checkBox3 = new System.Windows.Forms.CheckBox(); + this.pnl_BottomContainer = new System.Windows.Forms.Panel(); + this.lvw_Log = new System.Windows.Forms.ListView(); + this.InfoTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.Information = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.清除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.imageList1 = new System.Windows.Forms.ImageList(this.components); + this.pnl_MiddleContainer1 = new System.Windows.Forms.Panel(); + this.cogRecordDisplay1 = new Cognex.VisionPro.CogRecordDisplay(); + this.pnl_MiddleContainer2 = new System.Windows.Forms.Panel(); + this.cog3DDisplayV2WF1 = new Cognex.VisionPro3D.Cog3DDisplayV2WF(); + this.pnl_RightContainer1 = new System.Windows.Forms.Panel(); this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); @@ -64,29 +91,14 @@ this.label14 = new System.Windows.Forms.Label(); this.lbl_OkRate = new System.Windows.Forms.Label(); this.tabPage2 = new System.Windows.Forms.TabPage(); - this.btn_LoadImage = new System.Windows.Forms.Button(); - this.btn_ManulTrigger = new System.Windows.Forms.Button(); - this.lvw_Log = new System.Windows.Forms.ListView(); - this.InfoTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.Information = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); - this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); - this.清除ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.imageList1 = new System.Windows.Forms.ImageList(this.components); - this.btn_Auto = new System.Windows.Forms.Button(); - this.cogRecordDisplay1 = new Cognex.VisionPro.CogRecordDisplay(); - this.button1 = new System.Windows.Forms.Button(); - this.cog3DDisplayV2WF1 = new Cognex.VisionPro3D.Cog3DDisplayV2WF(); - this.label17 = new System.Windows.Forms.Label(); - this.button2 = new System.Windows.Forms.Button(); - this.lbl_ProductName = new System.Windows.Forms.Label(); - this.label33 = new System.Windows.Forms.Label(); - this.label34 = new System.Windows.Forms.Label(); - this.checkBox3 = new System.Windows.Forms.CheckBox(); - this.checkBox2 = new System.Windows.Forms.CheckBox(); - this.checkBox1 = new System.Windows.Forms.CheckBox(); - this.checkBox4 = new System.Windows.Forms.CheckBox(); - this.checkBox5 = new System.Windows.Forms.CheckBox(); - this.label81 = new System.Windows.Forms.Label(); + this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); + this.label18 = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.label65 = new System.Windows.Forms.Label(); + this.label44 = new System.Windows.Forms.Label(); + this.label80 = new System.Windows.Forms.Label(); + this.label64 = new System.Windows.Forms.Label(); + this.label54 = new System.Windows.Forms.Label(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.文件ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.打开QuickBuildToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -99,116 +111,406 @@ this.登录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.登录ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.退出登录ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.label80 = new System.Windows.Forms.Label(); - this.label65 = new System.Windows.Forms.Label(); - this.label64 = new System.Windows.Forms.Label(); - this.label54 = new System.Windows.Forms.Label(); - this.label44 = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.label18 = new System.Windows.Forms.Label(); - this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.panel1.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); + this.tlp_MainContainer.SuspendLayout(); + this.pnl_LeftContainer1.SuspendLayout(); + this.pnl_BottomContainer.SuspendLayout(); + this.contextMenuStrip1.SuspendLayout(); + this.pnl_MiddleContainer1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.cogRecordDisplay1)).BeginInit(); + this.pnl_MiddleContainer2.SuspendLayout(); + this.pnl_RightContainer1.SuspendLayout(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); this.tabPage2.SuspendLayout(); - this.contextMenuStrip1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.cogRecordDisplay1)).BeginInit(); - this.menuStrip1.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout(); + this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // panel1 // - this.panel1.Controls.Add(this.tableLayoutPanel1); + this.panel1.Controls.Add(this.tlp_MainContainer); this.panel1.Controls.Add(this.menuStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Margin = new System.Windows.Forms.Padding(4); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1370, 749); + this.panel1.Size = new System.Drawing.Size(1350, 749); this.panel1.TabIndex = 0; // - // tableLayoutPanel1 + // tlp_MainContainer // - this.tableLayoutPanel1.ColumnCount = 8; - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 176F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 51.80608F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 48.19392F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 198F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 106F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 103F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 113F)); - this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 137F)); - this.tableLayoutPanel1.Controls.Add(this.tabControl1, 3, 0); - this.tableLayoutPanel1.Controls.Add(this.btn_LoadImage, 0, 4); - this.tableLayoutPanel1.Controls.Add(this.btn_ManulTrigger, 0, 3); - this.tableLayoutPanel1.Controls.Add(this.lvw_Log, 0, 11); - this.tableLayoutPanel1.Controls.Add(this.btn_Auto, 0, 2); - this.tableLayoutPanel1.Controls.Add(this.cogRecordDisplay1, 1, 0); - this.tableLayoutPanel1.Controls.Add(this.button1, 0, 5); - this.tableLayoutPanel1.Controls.Add(this.cog3DDisplayV2WF1, 2, 0); - this.tableLayoutPanel1.Controls.Add(this.label17, 1, 9); - this.tableLayoutPanel1.Controls.Add(this.button2, 0, 6); - this.tableLayoutPanel1.Controls.Add(this.lbl_ProductName, 0, 0); - this.tableLayoutPanel1.Controls.Add(this.label33, 2, 10); - this.tableLayoutPanel1.Controls.Add(this.label34, 3, 10); - this.tableLayoutPanel1.Controls.Add(this.checkBox3, 0, 7); - this.tableLayoutPanel1.Controls.Add(this.checkBox2, 0, 8); - this.tableLayoutPanel1.Controls.Add(this.checkBox1, 0, 9); - this.tableLayoutPanel1.Controls.Add(this.checkBox4, 0, 10); - this.tableLayoutPanel1.Controls.Add(this.checkBox5, 1, 10); - this.tableLayoutPanel1.Controls.Add(this.label81, 0, 1); - this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 30); - this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(4); - this.tableLayoutPanel1.Name = "tableLayoutPanel1"; - this.tableLayoutPanel1.RowCount = 11; - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.31204F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.187222F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 4.939898F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 7.101102F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 1.337889F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.31204F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10.31204F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 21F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 27F)); - this.tableLayoutPanel1.Size = new System.Drawing.Size(1370, 719); - this.tableLayoutPanel1.TabIndex = 19; + this.tlp_MainContainer.ColumnCount = 4; + this.tlp_MainContainer.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 190F)); + this.tlp_MainContainer.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tlp_MainContainer.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tlp_MainContainer.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 550F)); + this.tlp_MainContainer.Controls.Add(this.label33, 1, 1); + this.tlp_MainContainer.Controls.Add(this.pnl_LeftContainer1, 0, 0); + this.tlp_MainContainer.Controls.Add(this.pnl_BottomContainer, 0, 2); + this.tlp_MainContainer.Controls.Add(this.pnl_MiddleContainer1, 1, 0); + this.tlp_MainContainer.Controls.Add(this.label34, 2, 1); + this.tlp_MainContainer.Controls.Add(this.pnl_MiddleContainer2, 2, 0); + this.tlp_MainContainer.Controls.Add(this.pnl_RightContainer1, 3, 0); + this.tlp_MainContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.tlp_MainContainer.Location = new System.Drawing.Point(0, 27); + this.tlp_MainContainer.Name = "tlp_MainContainer"; + this.tlp_MainContainer.RowCount = 3; + this.tlp_MainContainer.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tlp_MainContainer.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); + this.tlp_MainContainer.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 190F)); + this.tlp_MainContainer.Size = new System.Drawing.Size(1350, 722); + this.tlp_MainContainer.TabIndex = 20; + // + // label34 + // + this.label34.AutoSize = true; + this.label34.BackColor = System.Drawing.Color.Lime; + this.tlp_MainContainer.SetColumnSpan(this.label34, 2); + this.label34.Dock = System.Windows.Forms.DockStyle.Fill; + this.label34.Location = new System.Drawing.Point(498, 492); + this.label34.Name = "label34"; + this.label34.Size = new System.Drawing.Size(849, 40); + this.label34.TabIndex = 54; + this.label34.Text = "暂无异常"; + this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // label33 + // + this.label33.AutoSize = true; + this.label33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.label33.Dock = System.Windows.Forms.DockStyle.Fill; + this.label33.Location = new System.Drawing.Point(191, 493); + this.label33.Margin = new System.Windows.Forms.Padding(1); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(303, 38); + this.label33.TabIndex = 53; + this.label33.Text = "NG原因:"; + this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // pnl_LeftContainer1 + // + this.pnl_LeftContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_LeftContainer1.Controls.Add(this.lbl_ProductName); + this.pnl_LeftContainer1.Controls.Add(this.btn_LoadImage); + this.pnl_LeftContainer1.Controls.Add(this.label81); + this.pnl_LeftContainer1.Controls.Add(this.button1); + this.pnl_LeftContainer1.Controls.Add(this.btn_ManulTrigger); + this.pnl_LeftContainer1.Controls.Add(this.button2); + this.pnl_LeftContainer1.Controls.Add(this.btn_Auto); + this.pnl_LeftContainer1.Controls.Add(this.checkBox5); + this.pnl_LeftContainer1.Controls.Add(this.checkBox4); + this.pnl_LeftContainer1.Controls.Add(this.checkBox1); + this.pnl_LeftContainer1.Controls.Add(this.checkBox2); + this.pnl_LeftContainer1.Controls.Add(this.checkBox3); + this.pnl_LeftContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnl_LeftContainer1.Location = new System.Drawing.Point(1, 1); + this.pnl_LeftContainer1.Margin = new System.Windows.Forms.Padding(1); + this.pnl_LeftContainer1.Name = "pnl_LeftContainer1"; + this.tlp_MainContainer.SetRowSpan(this.pnl_LeftContainer1, 2); + this.pnl_LeftContainer1.Size = new System.Drawing.Size(188, 530); + this.pnl_LeftContainer1.TabIndex = 0; + // + // lbl_ProductName + // + this.lbl_ProductName.Dock = System.Windows.Forms.DockStyle.Top; + this.lbl_ProductName.Font = new System.Drawing.Font("宋体", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lbl_ProductName.Location = new System.Drawing.Point(0, 0); + this.lbl_ProductName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbl_ProductName.Name = "lbl_ProductName"; + this.lbl_ProductName.Size = new System.Drawing.Size(186, 42); + this.lbl_ProductName.TabIndex = 5; + this.lbl_ProductName.Text = "产品名称:"; + this.lbl_ProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // + // btn_LoadImage + // + this.btn_LoadImage.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); + this.btn_LoadImage.Location = new System.Drawing.Point(10, 182); + this.btn_LoadImage.Margin = new System.Windows.Forms.Padding(4); + this.btn_LoadImage.Name = "btn_LoadImage"; + this.btn_LoadImage.Size = new System.Drawing.Size(166, 33); + this.btn_LoadImage.TabIndex = 20; + this.btn_LoadImage.Text = "加载图像"; + this.btn_LoadImage.UseVisualStyleBackColor = true; + this.btn_LoadImage.Click += new System.EventHandler(this.btn_LoadImage_Click); + // + // label81 + // + this.label81.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.label81.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label81.Location = new System.Drawing.Point(3, 47); + this.label81.Name = "label81"; + this.label81.Size = new System.Drawing.Size(180, 43); + this.label81.TabIndex = 57; + this.label81.Text = "PPU"; + this.label81.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // button1 + // + this.button1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button1.Location = new System.Drawing.Point(10, 222); + this.button1.Name = "button1"; + this.button1.Size = new System.Drawing.Size(166, 33); + this.button1.TabIndex = 48; + this.button1.Text = "清除计数"; + this.button1.UseVisualStyleBackColor = true; + this.button1.Click += new System.EventHandler(this.button1_Click); + // + // btn_ManulTrigger + // + this.btn_ManulTrigger.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); + this.btn_ManulTrigger.Location = new System.Drawing.Point(10, 141); + this.btn_ManulTrigger.Margin = new System.Windows.Forms.Padding(4); + this.btn_ManulTrigger.Name = "btn_ManulTrigger"; + this.btn_ManulTrigger.Size = new System.Drawing.Size(166, 33); + this.btn_ManulTrigger.TabIndex = 18; + this.btn_ManulTrigger.Text = "手动触发"; + this.btn_ManulTrigger.UseVisualStyleBackColor = true; + this.btn_ManulTrigger.Click += new System.EventHandler(this.btn_ManulTrigger_Click); + // + // button2 + // + this.button2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.button2.Location = new System.Drawing.Point(10, 261); + this.button2.Margin = new System.Windows.Forms.Padding(4); + this.button2.Name = "button2"; + this.button2.Size = new System.Drawing.Size(166, 33); + this.button2.TabIndex = 51; + this.button2.Text = "复位按钮"; + this.button2.UseVisualStyleBackColor = true; + this.button2.Click += new System.EventHandler(this.button2_Click); + // + // btn_Auto + // + this.btn_Auto.BackColor = System.Drawing.Color.GreenYellow; + this.btn_Auto.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.btn_Auto.FlatAppearance.BorderColor = System.Drawing.Color.White; + this.btn_Auto.FlatAppearance.BorderSize = 0; + this.btn_Auto.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White; + this.btn_Auto.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White; + this.btn_Auto.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.btn_Auto.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.btn_Auto.Location = new System.Drawing.Point(10, 103); + this.btn_Auto.Margin = new System.Windows.Forms.Padding(4); + this.btn_Auto.Name = "btn_Auto"; + this.btn_Auto.Size = new System.Drawing.Size(166, 33); + this.btn_Auto.TabIndex = 17; + this.btn_Auto.Text = "自动模式"; + this.btn_Auto.UseVisualStyleBackColor = false; + this.btn_Auto.Click += new System.EventHandler(this.btn_Auto_Click); + // + // checkBox5 + // + this.checkBox5.AutoSize = true; + this.checkBox5.Location = new System.Drawing.Point(12, 460); + this.checkBox5.Name = "checkBox5"; + this.checkBox5.Size = new System.Drawing.Size(162, 20); + this.checkBox5.TabIndex = 56; + this.checkBox5.Text = "标定数据存储启用"; + this.checkBox5.UseVisualStyleBackColor = true; + this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged); + // + // checkBox4 + // + this.checkBox4.AutoSize = true; + this.checkBox4.Checked = true; + this.checkBox4.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox4.Location = new System.Drawing.Point(12, 424); + this.checkBox4.Name = "checkBox4"; + this.checkBox4.Size = new System.Drawing.Size(94, 20); + this.checkBox4.TabIndex = 55; + this.checkBox4.Text = "偏移检测"; + this.checkBox4.UseVisualStyleBackColor = true; + // + // checkBox1 + // + this.checkBox1.AutoSize = true; + this.checkBox1.Location = new System.Drawing.Point(12, 388); + this.checkBox1.Name = "checkBox1"; + this.checkBox1.Size = new System.Drawing.Size(94, 20); + this.checkBox1.TabIndex = 52; + this.checkBox1.Text = "图像切换"; + this.checkBox1.UseVisualStyleBackColor = true; + this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged_1); + // + // checkBox2 + // + this.checkBox2.AutoSize = true; + this.checkBox2.Checked = true; + this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.checkBox2.Location = new System.Drawing.Point(12, 352); + this.checkBox2.Name = "checkBox2"; + this.checkBox2.Size = new System.Drawing.Size(94, 20); + this.checkBox2.TabIndex = 43; + this.checkBox2.Text = "阈值启用"; + this.checkBox2.UseVisualStyleBackColor = true; + this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); + // + // checkBox3 + // + this.checkBox3.AutoSize = true; + this.checkBox3.Checked = true; + this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; + this.checkBox3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.checkBox3.Location = new System.Drawing.Point(12, 316); + this.checkBox3.Name = "checkBox3"; + this.checkBox3.Size = new System.Drawing.Size(128, 20); + this.checkBox3.TabIndex = 49; + this.checkBox3.Text = "断胶监测启用"; + this.checkBox3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + this.checkBox3.UseVisualStyleBackColor = true; + // + // pnl_BottomContainer + // + this.pnl_BottomContainer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.tlp_MainContainer.SetColumnSpan(this.pnl_BottomContainer, 4); + this.pnl_BottomContainer.Controls.Add(this.lvw_Log); + this.pnl_BottomContainer.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnl_BottomContainer.Location = new System.Drawing.Point(1, 533); + this.pnl_BottomContainer.Margin = new System.Windows.Forms.Padding(1); + this.pnl_BottomContainer.Name = "pnl_BottomContainer"; + this.pnl_BottomContainer.Size = new System.Drawing.Size(1348, 188); + this.pnl_BottomContainer.TabIndex = 0; + // + // lvw_Log + // + this.lvw_Log.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.InfoTime, + this.Information}); + this.lvw_Log.ContextMenuStrip = this.contextMenuStrip1; + this.lvw_Log.Dock = System.Windows.Forms.DockStyle.Fill; + this.lvw_Log.FullRowSelect = true; + this.lvw_Log.GridLines = true; + this.lvw_Log.HideSelection = false; + this.lvw_Log.Location = new System.Drawing.Point(0, 0); + this.lvw_Log.Margin = new System.Windows.Forms.Padding(4); + this.lvw_Log.Name = "lvw_Log"; + this.lvw_Log.Size = new System.Drawing.Size(1346, 186); + this.lvw_Log.SmallImageList = this.imageList1; + this.lvw_Log.TabIndex = 16; + this.lvw_Log.UseCompatibleStateImageBehavior = false; + this.lvw_Log.View = System.Windows.Forms.View.Details; + // + // InfoTime + // + this.InfoTime.Text = "时间"; + this.InfoTime.Width = 150; + // + // Information + // + this.Information.Text = "信息"; + this.Information.Width = 800; + // + // contextMenuStrip1 + // + this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.清除ToolStripMenuItem}); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(101, 26); + // + // 清除ToolStripMenuItem + // + this.清除ToolStripMenuItem.Name = "清除ToolStripMenuItem"; + this.清除ToolStripMenuItem.Size = new System.Drawing.Size(100, 22); + this.清除ToolStripMenuItem.Text = "清除"; + this.清除ToolStripMenuItem.Click += new System.EventHandler(this.清除ToolStripMenuItem_Click); + // + // imageList1 + // + this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); + this.imageList1.TransparentColor = System.Drawing.Color.Transparent; + this.imageList1.Images.SetKeyName(0, "info.png"); + this.imageList1.Images.SetKeyName(1, "warning.png"); + this.imageList1.Images.SetKeyName(2, "error.png"); + // + // pnl_MiddleContainer1 + // + this.pnl_MiddleContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_MiddleContainer1.Controls.Add(this.cogRecordDisplay1); + this.pnl_MiddleContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnl_MiddleContainer1.Location = new System.Drawing.Point(191, 1); + this.pnl_MiddleContainer1.Margin = new System.Windows.Forms.Padding(1); + this.pnl_MiddleContainer1.Name = "pnl_MiddleContainer1"; + this.pnl_MiddleContainer1.Size = new System.Drawing.Size(303, 490); + this.pnl_MiddleContainer1.TabIndex = 0; + // + // cogRecordDisplay1 + // + this.cogRecordDisplay1.ColorMapLowerClipColor = System.Drawing.Color.Black; + this.cogRecordDisplay1.ColorMapLowerRoiLimit = 0D; + this.cogRecordDisplay1.ColorMapPredefined = Cognex.VisionPro.Display.CogDisplayColorMapPredefinedConstants.None; + this.cogRecordDisplay1.ColorMapUpperClipColor = System.Drawing.Color.Black; + this.cogRecordDisplay1.ColorMapUpperRoiLimit = 1D; + this.cogRecordDisplay1.Dock = System.Windows.Forms.DockStyle.Fill; + this.cogRecordDisplay1.DoubleTapZoomCycleLength = 2; + this.cogRecordDisplay1.DoubleTapZoomSensitivity = 2.5D; + this.cogRecordDisplay1.Location = new System.Drawing.Point(0, 0); + this.cogRecordDisplay1.Margin = new System.Windows.Forms.Padding(4); + this.cogRecordDisplay1.MouseWheelMode = Cognex.VisionPro.Display.CogDisplayMouseWheelModeConstants.Zoom1; + this.cogRecordDisplay1.MouseWheelSensitivity = 1D; + this.cogRecordDisplay1.Name = "cogRecordDisplay1"; + this.cogRecordDisplay1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("cogRecordDisplay1.OcxState"))); + this.cogRecordDisplay1.Size = new System.Drawing.Size(301, 488); + this.cogRecordDisplay1.TabIndex = 3; + // + // pnl_MiddleContainer2 + // + this.pnl_MiddleContainer2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_MiddleContainer2.Controls.Add(this.cog3DDisplayV2WF1); + this.pnl_MiddleContainer2.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnl_MiddleContainer2.Location = new System.Drawing.Point(496, 1); + this.pnl_MiddleContainer2.Margin = new System.Windows.Forms.Padding(1); + this.pnl_MiddleContainer2.Name = "pnl_MiddleContainer2"; + this.pnl_MiddleContainer2.Size = new System.Drawing.Size(303, 490); + this.pnl_MiddleContainer2.TabIndex = 0; + // + // cog3DDisplayV2WF1 + // + this.cog3DDisplayV2WF1.AutoResolution = true; + this.cog3DDisplayV2WF1.DisplayMode = Cognex.VisionPro3D.DisplayModes.Surface; + this.cog3DDisplayV2WF1.DisplaySpaceName3D = "."; + this.cog3DDisplayV2WF1.Dock = System.Windows.Forms.DockStyle.Fill; + this.cog3DDisplayV2WF1.EnableDrawing = true; + this.cog3DDisplayV2WF1.Location = new System.Drawing.Point(0, 0); + this.cog3DDisplayV2WF1.Margin = new System.Windows.Forms.Padding(9, 7, 9, 7); + this.cog3DDisplayV2WF1.Name = "cog3DDisplayV2WF1"; + this.cog3DDisplayV2WF1.Resolution = 0.1D; + this.cog3DDisplayV2WF1.Size = new System.Drawing.Size(301, 488); + this.cog3DDisplayV2WF1.TabIndex = 50; + // + // pnl_RightContainer1 + // + this.pnl_RightContainer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pnl_RightContainer1.Controls.Add(this.tabControl1); + this.pnl_RightContainer1.Dock = System.Windows.Forms.DockStyle.Fill; + this.pnl_RightContainer1.Location = new System.Drawing.Point(801, 1); + this.pnl_RightContainer1.Margin = new System.Windows.Forms.Padding(1); + this.pnl_RightContainer1.Name = "pnl_RightContainer1"; + this.pnl_RightContainer1.Size = new System.Drawing.Size(548, 490); + this.pnl_RightContainer1.TabIndex = 0; // // tabControl1 // - this.tableLayoutPanel1.SetColumnSpan(this.tabControl1, 5); this.tabControl1.Controls.Add(this.tabPage1); this.tabControl1.Controls.Add(this.tabPage2); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl1.Location = new System.Drawing.Point(715, 3); + this.tabControl1.Location = new System.Drawing.Point(0, 0); this.tabControl1.Name = "tabControl1"; - this.tableLayoutPanel1.SetRowSpan(this.tabControl1, 9); this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(652, 409); + this.tabControl1.Size = new System.Drawing.Size(546, 488); this.tabControl1.TabIndex = 20; // // tabPage1 // this.tabPage1.Controls.Add(this.tableLayoutPanel2); - this.tabPage1.Location = new System.Drawing.Point(4, 30); + this.tabPage1.Location = new System.Drawing.Point(4, 26); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(644, 375); + this.tabPage1.Size = new System.Drawing.Size(538, 458); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "生产界面"; this.tabPage1.UseVisualStyleBackColor = true; @@ -216,10 +518,10 @@ // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 5; - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); - this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 21.99248F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.48872F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.54135F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.67669F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F)); this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.label2, 1, 0); @@ -260,7 +562,7 @@ this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 14.28571F)); - this.tableLayoutPanel2.Size = new System.Drawing.Size(638, 369); + this.tableLayoutPanel2.Size = new System.Drawing.Size(532, 452); this.tableLayoutPanel2.TabIndex = 0; // // label1 @@ -269,7 +571,7 @@ this.label1.Dock = System.Windows.Forms.DockStyle.Fill; this.label1.Location = new System.Drawing.Point(3, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(121, 52); + this.label1.Size = new System.Drawing.Size(111, 64); this.label1.TabIndex = 0; this.label1.Text = "SN:"; // @@ -278,18 +580,18 @@ this.label2.AutoSize = true; this.tableLayoutPanel2.SetColumnSpan(this.label2, 2); this.label2.Dock = System.Windows.Forms.DockStyle.Fill; - this.label2.Location = new System.Drawing.Point(130, 0); + this.label2.Location = new System.Drawing.Point(120, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(248, 52); + this.label2.Size = new System.Drawing.Size(191, 64); this.label2.TabIndex = 1; // // label3 // this.label3.AutoSize = true; this.label3.Dock = System.Windows.Forms.DockStyle.Fill; - this.label3.Location = new System.Drawing.Point(3, 52); + this.label3.Location = new System.Drawing.Point(3, 64); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(121, 52); + this.label3.Size = new System.Drawing.Size(111, 64); this.label3.TabIndex = 2; this.label3.Text = "位置1体积:"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -298,9 +600,9 @@ // this.lbl_Volume1.AutoSize = true; this.lbl_Volume1.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume1.Location = new System.Drawing.Point(130, 52); + this.lbl_Volume1.Location = new System.Drawing.Point(120, 64); this.lbl_Volume1.Name = "lbl_Volume1"; - this.lbl_Volume1.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume1.Size = new System.Drawing.Size(103, 64); this.lbl_Volume1.TabIndex = 3; this.lbl_Volume1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -308,9 +610,9 @@ // this.label4.AutoSize = true; this.label4.Dock = System.Windows.Forms.DockStyle.Fill; - this.label4.Location = new System.Drawing.Point(3, 104); + this.label4.Location = new System.Drawing.Point(3, 128); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(121, 52); + this.label4.Size = new System.Drawing.Size(111, 64); this.label4.TabIndex = 4; this.label4.Text = "位置1面积:"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -319,9 +621,9 @@ // this.lbl_Area1.AutoSize = true; this.lbl_Area1.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area1.Location = new System.Drawing.Point(130, 104); + this.lbl_Area1.Location = new System.Drawing.Point(120, 128); this.lbl_Area1.Name = "lbl_Area1"; - this.lbl_Area1.Size = new System.Drawing.Size(121, 52); + this.lbl_Area1.Size = new System.Drawing.Size(103, 64); this.lbl_Area1.TabIndex = 5; this.lbl_Area1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -329,9 +631,9 @@ // this.label5.AutoSize = true; this.label5.Dock = System.Windows.Forms.DockStyle.Fill; - this.label5.Location = new System.Drawing.Point(3, 156); + this.label5.Location = new System.Drawing.Point(3, 192); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(121, 52); + this.label5.Size = new System.Drawing.Size(111, 64); this.label5.TabIndex = 6; this.label5.Text = "位置2体积:"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -340,9 +642,9 @@ // this.label6.AutoSize = true; this.label6.Dock = System.Windows.Forms.DockStyle.Fill; - this.label6.Location = new System.Drawing.Point(3, 208); + this.label6.Location = new System.Drawing.Point(3, 256); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(121, 52); + this.label6.Size = new System.Drawing.Size(111, 64); this.label6.TabIndex = 7; this.label6.Text = "位置2面积:"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -351,9 +653,9 @@ // this.label7.AutoSize = true; this.label7.Dock = System.Windows.Forms.DockStyle.Fill; - this.label7.Location = new System.Drawing.Point(3, 260); + this.label7.Location = new System.Drawing.Point(3, 320); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(121, 52); + this.label7.Size = new System.Drawing.Size(111, 64); this.label7.TabIndex = 8; this.label7.Text = "位置3体积:"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -362,9 +664,9 @@ // this.label8.AutoSize = true; this.label8.Dock = System.Windows.Forms.DockStyle.Fill; - this.label8.Location = new System.Drawing.Point(3, 312); + this.label8.Location = new System.Drawing.Point(3, 384); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(121, 57); + this.label8.Size = new System.Drawing.Size(111, 68); this.label8.TabIndex = 9; this.label8.Text = "位置3面积:"; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -373,9 +675,9 @@ // this.lbl_Volume2.AutoSize = true; this.lbl_Volume2.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume2.Location = new System.Drawing.Point(130, 156); + this.lbl_Volume2.Location = new System.Drawing.Point(120, 192); this.lbl_Volume2.Name = "lbl_Volume2"; - this.lbl_Volume2.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume2.Size = new System.Drawing.Size(103, 64); this.lbl_Volume2.TabIndex = 10; this.lbl_Volume2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -383,9 +685,9 @@ // this.lbl_Area2.AutoSize = true; this.lbl_Area2.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area2.Location = new System.Drawing.Point(130, 208); + this.lbl_Area2.Location = new System.Drawing.Point(120, 256); this.lbl_Area2.Name = "lbl_Area2"; - this.lbl_Area2.Size = new System.Drawing.Size(121, 52); + this.lbl_Area2.Size = new System.Drawing.Size(103, 64); this.lbl_Area2.TabIndex = 11; this.lbl_Area2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -393,9 +695,9 @@ // this.lbl_Volume3.AutoSize = true; this.lbl_Volume3.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume3.Location = new System.Drawing.Point(130, 260); + this.lbl_Volume3.Location = new System.Drawing.Point(120, 320); this.lbl_Volume3.Name = "lbl_Volume3"; - this.lbl_Volume3.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume3.Size = new System.Drawing.Size(103, 64); this.lbl_Volume3.TabIndex = 12; this.lbl_Volume3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -403,9 +705,9 @@ // this.lbl_Area3.AutoSize = true; this.lbl_Area3.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area3.Location = new System.Drawing.Point(130, 312); + this.lbl_Area3.Location = new System.Drawing.Point(120, 384); this.lbl_Area3.Name = "lbl_Area3"; - this.lbl_Area3.Size = new System.Drawing.Size(121, 57); + this.lbl_Area3.Size = new System.Drawing.Size(103, 68); this.lbl_Area3.TabIndex = 13; this.lbl_Area3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // @@ -413,9 +715,9 @@ // this.lbl_Volume1Status.AutoSize = true; this.lbl_Volume1Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume1Status.Location = new System.Drawing.Point(257, 52); + this.lbl_Volume1Status.Location = new System.Drawing.Point(229, 64); this.lbl_Volume1Status.Name = "lbl_Volume1Status"; - this.lbl_Volume1Status.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume1Status.Size = new System.Drawing.Size(82, 64); this.lbl_Volume1Status.TabIndex = 14; this.lbl_Volume1Status.Text = "待检测"; this.lbl_Volume1Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -424,9 +726,9 @@ // this.lbl_Area1Status.AutoSize = true; this.lbl_Area1Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area1Status.Location = new System.Drawing.Point(257, 104); + this.lbl_Area1Status.Location = new System.Drawing.Point(229, 128); this.lbl_Area1Status.Name = "lbl_Area1Status"; - this.lbl_Area1Status.Size = new System.Drawing.Size(121, 52); + this.lbl_Area1Status.Size = new System.Drawing.Size(82, 64); this.lbl_Area1Status.TabIndex = 15; this.lbl_Area1Status.Text = "待检测"; this.lbl_Area1Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -435,9 +737,9 @@ // this.lbl_Volume2Status.AutoSize = true; this.lbl_Volume2Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume2Status.Location = new System.Drawing.Point(257, 156); + this.lbl_Volume2Status.Location = new System.Drawing.Point(229, 192); this.lbl_Volume2Status.Name = "lbl_Volume2Status"; - this.lbl_Volume2Status.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume2Status.Size = new System.Drawing.Size(82, 64); this.lbl_Volume2Status.TabIndex = 16; this.lbl_Volume2Status.Text = "待检测"; this.lbl_Volume2Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -446,9 +748,9 @@ // this.lbl_Area2Status.AutoSize = true; this.lbl_Area2Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area2Status.Location = new System.Drawing.Point(257, 208); + this.lbl_Area2Status.Location = new System.Drawing.Point(229, 256); this.lbl_Area2Status.Name = "lbl_Area2Status"; - this.lbl_Area2Status.Size = new System.Drawing.Size(121, 52); + this.lbl_Area2Status.Size = new System.Drawing.Size(82, 64); this.lbl_Area2Status.TabIndex = 17; this.lbl_Area2Status.Text = "待检测"; this.lbl_Area2Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -457,9 +759,9 @@ // this.lbl_Volume3Status.AutoSize = true; this.lbl_Volume3Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Volume3Status.Location = new System.Drawing.Point(257, 260); + this.lbl_Volume3Status.Location = new System.Drawing.Point(229, 320); this.lbl_Volume3Status.Name = "lbl_Volume3Status"; - this.lbl_Volume3Status.Size = new System.Drawing.Size(121, 52); + this.lbl_Volume3Status.Size = new System.Drawing.Size(82, 64); this.lbl_Volume3Status.TabIndex = 18; this.lbl_Volume3Status.Text = "待检测"; this.lbl_Volume3Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -468,9 +770,9 @@ // this.lbl_Area3Status.AutoSize = true; this.lbl_Area3Status.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_Area3Status.Location = new System.Drawing.Point(257, 312); + this.lbl_Area3Status.Location = new System.Drawing.Point(229, 384); this.lbl_Area3Status.Name = "lbl_Area3Status"; - this.lbl_Area3Status.Size = new System.Drawing.Size(121, 57); + this.lbl_Area3Status.Size = new System.Drawing.Size(82, 68); this.lbl_Area3Status.TabIndex = 19; this.lbl_Area3Status.Text = "待检测"; this.lbl_Area3Status.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -479,9 +781,9 @@ // this.label9.AutoSize = true; this.label9.Dock = System.Windows.Forms.DockStyle.Fill; - this.label9.Location = new System.Drawing.Point(384, 52); + this.label9.Location = new System.Drawing.Point(317, 64); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(121, 52); + this.label9.Size = new System.Drawing.Size(104, 64); this.label9.TabIndex = 20; this.label9.Text = "生产总数:"; this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -490,9 +792,9 @@ // this.lbl_CheckNum.AutoSize = true; this.lbl_CheckNum.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_CheckNum.Location = new System.Drawing.Point(511, 52); + this.lbl_CheckNum.Location = new System.Drawing.Point(427, 64); this.lbl_CheckNum.Name = "lbl_CheckNum"; - this.lbl_CheckNum.Size = new System.Drawing.Size(124, 52); + this.lbl_CheckNum.Size = new System.Drawing.Size(102, 64); this.lbl_CheckNum.TabIndex = 21; this.lbl_CheckNum.Text = "0"; this.lbl_CheckNum.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -501,9 +803,9 @@ // this.label10.AutoSize = true; this.label10.Dock = System.Windows.Forms.DockStyle.Fill; - this.label10.Location = new System.Drawing.Point(384, 104); + this.label10.Location = new System.Drawing.Point(317, 128); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(121, 52); + this.label10.Size = new System.Drawing.Size(104, 64); this.label10.TabIndex = 22; this.label10.Text = "合格数:"; this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -512,9 +814,9 @@ // this.label11.AutoSize = true; this.label11.Dock = System.Windows.Forms.DockStyle.Fill; - this.label11.Location = new System.Drawing.Point(511, 104); + this.label11.Location = new System.Drawing.Point(427, 128); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(124, 52); + this.label11.Size = new System.Drawing.Size(102, 64); this.label11.TabIndex = 23; this.label11.Text = "0"; this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -524,9 +826,9 @@ // this.label12.AutoSize = true; this.label12.Dock = System.Windows.Forms.DockStyle.Fill; - this.label12.Location = new System.Drawing.Point(384, 156); + this.label12.Location = new System.Drawing.Point(317, 192); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(121, 52); + this.label12.Size = new System.Drawing.Size(104, 64); this.label12.TabIndex = 24; this.label12.Text = "不合格数:"; this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -535,9 +837,9 @@ // this.label13.AutoSize = true; this.label13.Dock = System.Windows.Forms.DockStyle.Fill; - this.label13.Location = new System.Drawing.Point(384, 208); + this.label13.Location = new System.Drawing.Point(317, 256); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(121, 52); + this.label13.Size = new System.Drawing.Size(104, 64); this.label13.TabIndex = 25; this.label13.Text = "合格率:"; this.label13.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -546,9 +848,9 @@ // this.label14.AutoSize = true; this.label14.Dock = System.Windows.Forms.DockStyle.Fill; - this.label14.Location = new System.Drawing.Point(511, 156); + this.label14.Location = new System.Drawing.Point(427, 192); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(124, 52); + this.label14.Size = new System.Drawing.Size(102, 64); this.label14.TabIndex = 26; this.label14.Text = "0"; this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -557,9 +859,9 @@ // this.lbl_OkRate.AutoSize = true; this.lbl_OkRate.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_OkRate.Location = new System.Drawing.Point(511, 208); + this.lbl_OkRate.Location = new System.Drawing.Point(427, 256); this.lbl_OkRate.Name = "lbl_OkRate"; - this.lbl_OkRate.Size = new System.Drawing.Size(124, 52); + this.lbl_OkRate.Size = new System.Drawing.Size(102, 64); this.lbl_OkRate.TabIndex = 27; this.lbl_OkRate.Text = "100%"; this.lbl_OkRate.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -567,486 +869,21 @@ // tabPage2 // this.tabPage2.Controls.Add(this.tableLayoutPanel3); - this.tabPage2.Location = new System.Drawing.Point(4, 30); + this.tabPage2.Location = new System.Drawing.Point(4, 26); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(644, 375); + this.tabPage2.Size = new System.Drawing.Size(538, 458); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "标定界面"; this.tabPage2.UseVisualStyleBackColor = true; // - // btn_LoadImage - // - this.btn_LoadImage.Dock = System.Windows.Forms.DockStyle.Fill; - this.btn_LoadImage.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); - this.btn_LoadImage.Location = new System.Drawing.Point(4, 204); - this.btn_LoadImage.Margin = new System.Windows.Forms.Padding(4); - this.btn_LoadImage.Name = "btn_LoadImage"; - this.btn_LoadImage.Size = new System.Drawing.Size(168, 35); - this.btn_LoadImage.TabIndex = 20; - this.btn_LoadImage.Text = "加载图像"; - this.btn_LoadImage.UseVisualStyleBackColor = true; - this.btn_LoadImage.Click += new System.EventHandler(this.btn_LoadImage_Click); - // - // btn_ManulTrigger - // - this.btn_ManulTrigger.Dock = System.Windows.Forms.DockStyle.Fill; - this.btn_ManulTrigger.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); - this.btn_ManulTrigger.Location = new System.Drawing.Point(4, 161); - this.btn_ManulTrigger.Margin = new System.Windows.Forms.Padding(4); - this.btn_ManulTrigger.Name = "btn_ManulTrigger"; - this.btn_ManulTrigger.Size = new System.Drawing.Size(168, 35); - this.btn_ManulTrigger.TabIndex = 18; - this.btn_ManulTrigger.Text = "手动触发"; - this.btn_ManulTrigger.UseVisualStyleBackColor = true; - this.btn_ManulTrigger.Click += new System.EventHandler(this.btn_ManulTrigger_Click); - // - // lvw_Log - // - this.lvw_Log.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { - this.InfoTime, - this.Information}); - this.tableLayoutPanel1.SetColumnSpan(this.lvw_Log, 8); - this.lvw_Log.ContextMenuStrip = this.contextMenuStrip1; - this.lvw_Log.Dock = System.Windows.Forms.DockStyle.Fill; - this.lvw_Log.FullRowSelect = true; - this.lvw_Log.GridLines = true; - this.lvw_Log.HideSelection = false; - this.lvw_Log.Location = new System.Drawing.Point(4, 496); - this.lvw_Log.Margin = new System.Windows.Forms.Padding(4); - this.lvw_Log.Name = "lvw_Log"; - this.tableLayoutPanel1.SetRowSpan(this.lvw_Log, 5); - this.lvw_Log.Size = new System.Drawing.Size(1362, 219); - this.lvw_Log.SmallImageList = this.imageList1; - this.lvw_Log.TabIndex = 16; - this.lvw_Log.UseCompatibleStateImageBehavior = false; - this.lvw_Log.View = System.Windows.Forms.View.Details; - // - // InfoTime - // - this.InfoTime.Text = "时间"; - this.InfoTime.Width = 150; - // - // Information - // - this.Information.Text = "信息"; - this.Information.Width = 800; - // - // contextMenuStrip1 - // - this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.清除ToolStripMenuItem}); - this.contextMenuStrip1.Name = "contextMenuStrip1"; - this.contextMenuStrip1.Size = new System.Drawing.Size(109, 28); - // - // 清除ToolStripMenuItem - // - this.清除ToolStripMenuItem.Name = "清除ToolStripMenuItem"; - this.清除ToolStripMenuItem.Size = new System.Drawing.Size(108, 24); - this.清除ToolStripMenuItem.Text = "清除"; - this.清除ToolStripMenuItem.Click += new System.EventHandler(this.清除ToolStripMenuItem_Click); - // - // imageList1 - // - this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); - this.imageList1.TransparentColor = System.Drawing.Color.Transparent; - this.imageList1.Images.SetKeyName(0, "info.png"); - this.imageList1.Images.SetKeyName(1, "warning.png"); - this.imageList1.Images.SetKeyName(2, "error.png"); - // - // btn_Auto - // - this.btn_Auto.BackColor = System.Drawing.Color.GreenYellow; - this.btn_Auto.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.btn_Auto.Dock = System.Windows.Forms.DockStyle.Fill; - this.btn_Auto.FlatAppearance.BorderColor = System.Drawing.Color.White; - this.btn_Auto.FlatAppearance.BorderSize = 0; - this.btn_Auto.FlatAppearance.MouseDownBackColor = System.Drawing.Color.White; - this.btn_Auto.FlatAppearance.MouseOverBackColor = System.Drawing.Color.White; - this.btn_Auto.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.btn_Auto.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btn_Auto.Location = new System.Drawing.Point(4, 118); - this.btn_Auto.Margin = new System.Windows.Forms.Padding(4); - this.btn_Auto.Name = "btn_Auto"; - this.btn_Auto.Size = new System.Drawing.Size(168, 35); - this.btn_Auto.TabIndex = 17; - this.btn_Auto.Text = "自动模式"; - this.btn_Auto.UseVisualStyleBackColor = false; - this.btn_Auto.Click += new System.EventHandler(this.btn_Auto_Click); - // - // cogRecordDisplay1 - // - this.cogRecordDisplay1.ColorMapLowerClipColor = System.Drawing.Color.Black; - this.cogRecordDisplay1.ColorMapLowerRoiLimit = 0D; - this.cogRecordDisplay1.ColorMapPredefined = Cognex.VisionPro.Display.CogDisplayColorMapPredefinedConstants.None; - this.cogRecordDisplay1.ColorMapUpperClipColor = System.Drawing.Color.Black; - this.cogRecordDisplay1.ColorMapUpperRoiLimit = 1D; - this.cogRecordDisplay1.Dock = System.Windows.Forms.DockStyle.Fill; - this.cogRecordDisplay1.DoubleTapZoomCycleLength = 2; - this.cogRecordDisplay1.DoubleTapZoomSensitivity = 2.5D; - this.cogRecordDisplay1.Location = new System.Drawing.Point(180, 4); - this.cogRecordDisplay1.Margin = new System.Windows.Forms.Padding(4); - this.cogRecordDisplay1.MouseWheelMode = Cognex.VisionPro.Display.CogDisplayMouseWheelModeConstants.Zoom1; - this.cogRecordDisplay1.MouseWheelSensitivity = 1D; - this.cogRecordDisplay1.Name = "cogRecordDisplay1"; - this.cogRecordDisplay1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("cogRecordDisplay1.OcxState"))); - this.tableLayoutPanel1.SetRowSpan(this.cogRecordDisplay1, 9); - this.cogRecordDisplay1.Size = new System.Drawing.Size(270, 407); - this.cogRecordDisplay1.TabIndex = 3; - // - // button1 - // - this.button1.Dock = System.Windows.Forms.DockStyle.Fill; - this.button1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button1.Location = new System.Drawing.Point(3, 246); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(170, 37); - this.button1.TabIndex = 48; - this.button1.Text = "清除计数"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // cog3DDisplayV2WF1 - // - this.cog3DDisplayV2WF1.AutoResolution = true; - this.cog3DDisplayV2WF1.DisplayMode = Cognex.VisionPro3D.DisplayModes.Surface; - this.cog3DDisplayV2WF1.DisplaySpaceName3D = "."; - this.cog3DDisplayV2WF1.Dock = System.Windows.Forms.DockStyle.Fill; - this.cog3DDisplayV2WF1.EnableDrawing = true; - this.cog3DDisplayV2WF1.Location = new System.Drawing.Point(463, 7); - this.cog3DDisplayV2WF1.Margin = new System.Windows.Forms.Padding(9, 7, 9, 7); - this.cog3DDisplayV2WF1.Name = "cog3DDisplayV2WF1"; - this.cog3DDisplayV2WF1.Resolution = 0.1D; - this.tableLayoutPanel1.SetRowSpan(this.cog3DDisplayV2WF1, 9); - this.cog3DDisplayV2WF1.Size = new System.Drawing.Size(240, 401); - this.cog3DDisplayV2WF1.TabIndex = 50; - // - // label17 - // - this.label17.Dock = System.Windows.Forms.DockStyle.Fill; - this.label17.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold); - this.label17.Location = new System.Drawing.Point(180, 415); - this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(270, 43); - this.label17.TabIndex = 33; - // - // button2 - // - this.button2.Dock = System.Windows.Forms.DockStyle.Fill; - this.button2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.button2.Location = new System.Drawing.Point(4, 290); - this.button2.Margin = new System.Windows.Forms.Padding(4); - this.button2.Name = "button2"; - this.button2.Size = new System.Drawing.Size(168, 35); - this.button2.TabIndex = 51; - this.button2.Text = "复位按钮"; - this.button2.UseVisualStyleBackColor = true; - this.button2.Click += new System.EventHandler(this.button2_Click); - // - // lbl_ProductName - // - this.lbl_ProductName.Dock = System.Windows.Forms.DockStyle.Fill; - this.lbl_ProductName.Font = new System.Drawing.Font("宋体", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lbl_ProductName.Location = new System.Drawing.Point(4, 0); - this.lbl_ProductName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbl_ProductName.Name = "lbl_ProductName"; - this.lbl_ProductName.Size = new System.Drawing.Size(168, 71); - this.lbl_ProductName.TabIndex = 5; - this.lbl_ProductName.Text = "产品名称:"; - this.lbl_ProductName.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label33 - // - this.label33.AutoSize = true; - this.label33.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.label33.Dock = System.Windows.Forms.DockStyle.Fill; - this.label33.Location = new System.Drawing.Point(457, 458); - this.label33.Name = "label33"; - this.label33.Size = new System.Drawing.Size(252, 34); - this.label33.TabIndex = 53; - this.label33.Text = "NG原因:"; - this.label33.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // label34 - // - this.label34.AutoSize = true; - this.label34.BackColor = System.Drawing.Color.Lime; - this.tableLayoutPanel1.SetColumnSpan(this.label34, 4); - this.label34.Dock = System.Windows.Forms.DockStyle.Fill; - this.label34.Location = new System.Drawing.Point(715, 458); - this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(514, 34); - this.label34.TabIndex = 54; - this.label34.Text = "暂无异常"; - this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // checkBox3 - // - this.checkBox3.AutoSize = true; - this.checkBox3.Checked = true; - this.checkBox3.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox3.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBox3.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.checkBox3.Location = new System.Drawing.Point(3, 332); - this.checkBox3.Name = "checkBox3"; - this.checkBox3.Size = new System.Drawing.Size(170, 37); - this.checkBox3.TabIndex = 49; - this.checkBox3.Text = "断胶监测启用"; - this.checkBox3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - this.checkBox3.UseVisualStyleBackColor = true; - // - // checkBox2 - // - this.checkBox2.AutoSize = true; - this.checkBox2.Checked = true; - this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox2.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBox2.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.checkBox2.Location = new System.Drawing.Point(3, 375); - this.checkBox2.Name = "checkBox2"; - this.checkBox2.Size = new System.Drawing.Size(170, 37); - this.checkBox2.TabIndex = 43; - this.checkBox2.Text = "阈值启用"; - this.checkBox2.UseVisualStyleBackColor = true; - this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged); - // - // checkBox1 - // - this.checkBox1.AutoSize = true; - this.checkBox1.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBox1.Location = new System.Drawing.Point(3, 418); - this.checkBox1.Name = "checkBox1"; - this.checkBox1.Size = new System.Drawing.Size(170, 37); - this.checkBox1.TabIndex = 52; - this.checkBox1.Text = "图像切换"; - this.checkBox1.UseVisualStyleBackColor = true; - this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged_1); - // - // checkBox4 - // - this.checkBox4.AutoSize = true; - this.checkBox4.Checked = true; - this.checkBox4.CheckState = System.Windows.Forms.CheckState.Checked; - this.checkBox4.Dock = System.Windows.Forms.DockStyle.Fill; - this.checkBox4.Location = new System.Drawing.Point(3, 461); - this.checkBox4.Name = "checkBox4"; - this.checkBox4.Size = new System.Drawing.Size(170, 28); - this.checkBox4.TabIndex = 55; - this.checkBox4.Text = "偏移检测"; - this.checkBox4.UseVisualStyleBackColor = true; - // - // checkBox5 - // - this.checkBox5.AutoSize = true; - this.checkBox5.Location = new System.Drawing.Point(179, 461); - this.checkBox5.Name = "checkBox5"; - this.checkBox5.Size = new System.Drawing.Size(199, 24); - this.checkBox5.TabIndex = 56; - this.checkBox5.Text = "标定数据存储启用"; - this.checkBox5.UseVisualStyleBackColor = true; - this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged); - // - // label81 - // - this.label81.AutoSize = true; - this.label81.Dock = System.Windows.Forms.DockStyle.Fill; - this.label81.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label81.Location = new System.Drawing.Point(3, 71); - this.label81.Name = "label81"; - this.label81.Size = new System.Drawing.Size(170, 43); - this.label81.TabIndex = 57; - this.label81.Text = "PPU"; - this.label81.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // menuStrip1 - // - this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); - this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.文件ToolStripMenuItem, - this.切换配方ToolStripMenuItem, - this.设置ToolStripMenuItem, - this.登录ToolStripMenuItem}); - this.menuStrip1.Location = new System.Drawing.Point(0, 0); - this.menuStrip1.Name = "menuStrip1"; - this.menuStrip1.Padding = new System.Windows.Forms.Padding(6, 3, 0, 3); - this.menuStrip1.Size = new System.Drawing.Size(1370, 30); - this.menuStrip1.TabIndex = 0; - this.menuStrip1.Text = "menuStrip1"; - // - // 文件ToolStripMenuItem - // - this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.打开QuickBuildToolStripMenuItem, - this.加载QuickBuildToolStripMenuItem, - this.保存QuickBuildToolStripMenuItem}); - this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; - this.文件ToolStripMenuItem.Size = new System.Drawing.Size(53, 24); - this.文件ToolStripMenuItem.Text = "文件"; - // - // 打开QuickBuildToolStripMenuItem - // - this.打开QuickBuildToolStripMenuItem.Name = "打开QuickBuildToolStripMenuItem"; - this.打开QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(199, 26); - this.打开QuickBuildToolStripMenuItem.Text = "打开QuickBuild"; - this.打开QuickBuildToolStripMenuItem.Click += new System.EventHandler(this.打开QuickBuildToolStripMenuItem_Click); - // - // 加载QuickBuildToolStripMenuItem - // - this.加载QuickBuildToolStripMenuItem.Name = "加载QuickBuildToolStripMenuItem"; - this.加载QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(199, 26); - this.加载QuickBuildToolStripMenuItem.Text = "加载QuickBuild"; - // - // 保存QuickBuildToolStripMenuItem - // - this.保存QuickBuildToolStripMenuItem.Name = "保存QuickBuildToolStripMenuItem"; - this.保存QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(199, 26); - this.保存QuickBuildToolStripMenuItem.Text = "保存QuickBuild"; - this.保存QuickBuildToolStripMenuItem.Click += new System.EventHandler(this.保存QuickBuildToolStripMenuItem_Click); - // - // 切换配方ToolStripMenuItem - // - this.切换配方ToolStripMenuItem.Name = "切换配方ToolStripMenuItem"; - this.切换配方ToolStripMenuItem.Size = new System.Drawing.Size(83, 24); - this.切换配方ToolStripMenuItem.Text = "切换配方"; - this.切换配方ToolStripMenuItem.Click += new System.EventHandler(this.切换配方ToolStripMenuItem_Click); - // - // 设置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(53, 24); - this.设置ToolStripMenuItem.Text = "设置"; - // - // 通讯设置ToolStripMenuItem - // - this.通讯设置ToolStripMenuItem.Name = "通讯设置ToolStripMenuItem"; - this.通讯设置ToolStripMenuItem.Size = new System.Drawing.Size(152, 26); - this.通讯设置ToolStripMenuItem.Text = "通讯设置"; - this.通讯设置ToolStripMenuItem.Click += new System.EventHandler(this.通讯设置ToolStripMenuItem_Click); - // - // 参数设置ToolStripMenuItem - // - this.参数设置ToolStripMenuItem.Name = "参数设置ToolStripMenuItem"; - this.参数设置ToolStripMenuItem.Size = new System.Drawing.Size(152, 26); - this.参数设置ToolStripMenuItem.Text = "参数设置"; - this.参数设置ToolStripMenuItem.Click += new System.EventHandler(this.参数设置ToolStripMenuItem_Click); - // - // 登录ToolStripMenuItem - // - this.登录ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.登录ToolStripMenuItem1, - this.退出登录ToolStripMenuItem}); - this.登录ToolStripMenuItem.Name = "登录ToolStripMenuItem"; - this.登录ToolStripMenuItem.Size = new System.Drawing.Size(83, 24); - this.登录ToolStripMenuItem.Text = "登录设置"; - // - // 登录ToolStripMenuItem1 - // - this.登录ToolStripMenuItem1.Name = "登录ToolStripMenuItem1"; - this.登录ToolStripMenuItem1.Size = new System.Drawing.Size(152, 26); - this.登录ToolStripMenuItem1.Text = "登录"; - this.登录ToolStripMenuItem1.Click += new System.EventHandler(this.登录ToolStripMenuItem_Click); - // - // 退出登录ToolStripMenuItem - // - this.退出登录ToolStripMenuItem.Name = "退出登录ToolStripMenuItem"; - this.退出登录ToolStripMenuItem.Size = new System.Drawing.Size(152, 26); - this.退出登录ToolStripMenuItem.Text = "退出登录"; - this.退出登录ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click); - // - // label80 - // - this.label80.AutoSize = true; - this.label80.BackColor = System.Drawing.Color.Yellow; - this.label80.Dock = System.Windows.Forms.DockStyle.Fill; - this.label80.Location = new System.Drawing.Point(516, 184); - this.label80.Name = "label80"; - this.label80.Size = new System.Drawing.Size(119, 185); - this.label80.TabIndex = 62; - this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label65 - // - this.label65.AutoSize = true; - this.label65.BackColor = System.Drawing.Color.Yellow; - this.label65.Dock = System.Windows.Forms.DockStyle.Fill; - this.label65.Location = new System.Drawing.Point(516, 0); - this.label65.Name = "label65"; - this.label65.Size = new System.Drawing.Size(119, 184); - this.label65.TabIndex = 47; - this.label65.Text = "结果对比"; - this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label64 - // - this.label64.AutoSize = true; - this.label64.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.label64.Dock = System.Windows.Forms.DockStyle.Fill; - this.label64.Location = new System.Drawing.Point(327, 184); - this.label64.Name = "label64"; - this.label64.Size = new System.Drawing.Size(183, 185); - this.label64.TabIndex = 46; - this.label64.Text = "74770~75008mm³"; - this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label54 - // - this.label54.AutoSize = true; - this.label54.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.label54.Dock = System.Windows.Forms.DockStyle.Fill; - this.label54.Location = new System.Drawing.Point(157, 184); - this.label54.Name = "label54"; - this.label54.Size = new System.Drawing.Size(164, 185); - this.label54.TabIndex = 36; - this.label54.Text = "0"; - this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label44 - // - this.label44.AutoSize = true; - this.label44.Location = new System.Drawing.Point(3, 184); - this.label44.Name = "label44"; - this.label44.Size = new System.Drawing.Size(135, 40); - this.label44.TabIndex = 26; - this.label44.Text = "标定块整体体积:"; - this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); - this.label19.Dock = System.Windows.Forms.DockStyle.Fill; - this.label19.ForeColor = System.Drawing.Color.Black; - this.label19.Location = new System.Drawing.Point(327, 0); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(183, 184); - this.label19.TabIndex = 3; - this.label19.Text = "合格范围"; - this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); - this.label18.Dock = System.Windows.Forms.DockStyle.Fill; - this.label18.Location = new System.Drawing.Point(157, 0); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(164, 184); - this.label18.TabIndex = 2; - this.label18.Text = "相机测量结果"; - this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 4; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 29.96633F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.1384F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 36.84211F)); - this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 124F)); + this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 126F)); this.tableLayoutPanel3.Controls.Add(this.label18, 1, 0); this.tableLayoutPanel3.Controls.Add(this.label19, 2, 0); this.tableLayoutPanel3.Controls.Add(this.label65, 3, 0); @@ -1060,36 +897,223 @@ this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.25F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 6.25F)); - this.tableLayoutPanel3.Size = new System.Drawing.Size(638, 369); + this.tableLayoutPanel3.Size = new System.Drawing.Size(532, 452); this.tableLayoutPanel3.TabIndex = 0; // + // label18 + // + this.label18.AutoSize = true; + this.label18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.label18.Dock = System.Windows.Forms.DockStyle.Fill; + this.label18.Location = new System.Drawing.Point(124, 0); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(128, 226); + this.label18.TabIndex = 2; + this.label18.Text = "相机测量结果"; + this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); + this.label19.Dock = System.Windows.Forms.DockStyle.Fill; + this.label19.ForeColor = System.Drawing.Color.Black; + this.label19.Location = new System.Drawing.Point(258, 0); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(143, 226); + this.label19.TabIndex = 3; + this.label19.Text = "合格范围"; + this.label19.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label65 + // + this.label65.AutoSize = true; + this.label65.BackColor = System.Drawing.Color.Yellow; + this.label65.Dock = System.Windows.Forms.DockStyle.Fill; + this.label65.Location = new System.Drawing.Point(407, 0); + this.label65.Name = "label65"; + this.label65.Size = new System.Drawing.Size(122, 226); + this.label65.TabIndex = 47; + this.label65.Text = "结果对比"; + this.label65.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label44 + // + this.label44.AutoSize = true; + this.label44.Location = new System.Drawing.Point(3, 226); + this.label44.Name = "label44"; + this.label44.Size = new System.Drawing.Size(109, 32); + this.label44.TabIndex = 26; + this.label44.Text = "标定块整体体积:"; + this.label44.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label80 + // + this.label80.AutoSize = true; + this.label80.BackColor = System.Drawing.Color.Yellow; + this.label80.Dock = System.Windows.Forms.DockStyle.Fill; + this.label80.Location = new System.Drawing.Point(407, 226); + this.label80.Name = "label80"; + this.label80.Size = new System.Drawing.Size(122, 226); + this.label80.TabIndex = 62; + this.label80.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label64 + // + this.label64.AutoSize = true; + this.label64.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); + this.label64.Dock = System.Windows.Forms.DockStyle.Fill; + this.label64.Location = new System.Drawing.Point(258, 226); + this.label64.Name = "label64"; + this.label64.Size = new System.Drawing.Size(143, 226); + this.label64.TabIndex = 46; + this.label64.Text = "74770~75008mm³"; + this.label64.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label54 + // + this.label54.AutoSize = true; + this.label54.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.label54.Dock = System.Windows.Forms.DockStyle.Fill; + this.label54.Location = new System.Drawing.Point(124, 226); + this.label54.Name = "label54"; + this.label54.Size = new System.Drawing.Size(128, 226); + this.label54.TabIndex = 36; + this.label54.Text = "0"; + this.label54.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // menuStrip1 + // + this.menuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.文件ToolStripMenuItem, + this.切换配方ToolStripMenuItem, + this.设置ToolStripMenuItem, + this.登录ToolStripMenuItem}); + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Padding = new System.Windows.Forms.Padding(6, 3, 0, 3); + this.menuStrip1.Size = new System.Drawing.Size(1350, 27); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // 文件ToolStripMenuItem + // + this.文件ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.打开QuickBuildToolStripMenuItem, + this.加载QuickBuildToolStripMenuItem, + this.保存QuickBuildToolStripMenuItem}); + this.文件ToolStripMenuItem.Name = "文件ToolStripMenuItem"; + this.文件ToolStripMenuItem.Size = new System.Drawing.Size(44, 21); + this.文件ToolStripMenuItem.Text = "文件"; + // + // 打开QuickBuildToolStripMenuItem + // + this.打开QuickBuildToolStripMenuItem.Name = "打开QuickBuildToolStripMenuItem"; + this.打开QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(162, 22); + this.打开QuickBuildToolStripMenuItem.Text = "打开QuickBuild"; + this.打开QuickBuildToolStripMenuItem.Click += new System.EventHandler(this.打开QuickBuildToolStripMenuItem_Click); + // + // 加载QuickBuildToolStripMenuItem + // + this.加载QuickBuildToolStripMenuItem.Name = "加载QuickBuildToolStripMenuItem"; + this.加载QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(162, 22); + this.加载QuickBuildToolStripMenuItem.Text = "加载QuickBuild"; + // + // 保存QuickBuildToolStripMenuItem + // + this.保存QuickBuildToolStripMenuItem.Name = "保存QuickBuildToolStripMenuItem"; + this.保存QuickBuildToolStripMenuItem.Size = new System.Drawing.Size(162, 22); + this.保存QuickBuildToolStripMenuItem.Text = "保存QuickBuild"; + this.保存QuickBuildToolStripMenuItem.Click += new System.EventHandler(this.保存QuickBuildToolStripMenuItem_Click); + // + // 切换配方ToolStripMenuItem + // + this.切换配方ToolStripMenuItem.Name = "切换配方ToolStripMenuItem"; + this.切换配方ToolStripMenuItem.Size = new System.Drawing.Size(68, 21); + this.切换配方ToolStripMenuItem.Text = "切换配方"; + this.切换配方ToolStripMenuItem.Click += new System.EventHandler(this.切换配方ToolStripMenuItem_Click); + // + // 设置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(44, 21); + this.设置ToolStripMenuItem.Text = "设置"; + // + // 通讯设置ToolStripMenuItem + // + this.通讯设置ToolStripMenuItem.Name = "通讯设置ToolStripMenuItem"; + this.通讯设置ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.通讯设置ToolStripMenuItem.Text = "通讯设置"; + this.通讯设置ToolStripMenuItem.Click += new System.EventHandler(this.通讯设置ToolStripMenuItem_Click); + // + // 参数设置ToolStripMenuItem + // + this.参数设置ToolStripMenuItem.Name = "参数设置ToolStripMenuItem"; + this.参数设置ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.参数设置ToolStripMenuItem.Text = "参数设置"; + this.参数设置ToolStripMenuItem.Click += new System.EventHandler(this.参数设置ToolStripMenuItem_Click); + // + // 登录ToolStripMenuItem + // + this.登录ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.登录ToolStripMenuItem1, + this.退出登录ToolStripMenuItem}); + this.登录ToolStripMenuItem.Name = "登录ToolStripMenuItem"; + this.登录ToolStripMenuItem.Size = new System.Drawing.Size(68, 21); + this.登录ToolStripMenuItem.Text = "登录设置"; + // + // 登录ToolStripMenuItem1 + // + this.登录ToolStripMenuItem1.Name = "登录ToolStripMenuItem1"; + this.登录ToolStripMenuItem1.Size = new System.Drawing.Size(124, 22); + this.登录ToolStripMenuItem1.Text = "登录"; + this.登录ToolStripMenuItem1.Click += new System.EventHandler(this.登录ToolStripMenuItem_Click); + // + // 退出登录ToolStripMenuItem + // + this.退出登录ToolStripMenuItem.Name = "退出登录ToolStripMenuItem"; + this.退出登录ToolStripMenuItem.Size = new System.Drawing.Size(124, 22); + this.退出登录ToolStripMenuItem.Text = "退出登录"; + this.退出登录ToolStripMenuItem.Click += new System.EventHandler(this.退出ToolStripMenuItem_Click); + // // Form1 // - this.AutoScaleDimensions = new System.Drawing.SizeF(11F, 20F); + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1370, 749); + this.ClientSize = new System.Drawing.Size(1350, 749); this.Controls.Add(this.panel1); this.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.Margin = new System.Windows.Forms.Padding(4); + this.MinimumSize = new System.Drawing.Size(800, 600); this.Name = "Form1"; this.Text = "OP30工位视觉涂胶检测系统"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); + this.tlp_MainContainer.ResumeLayout(false); + this.tlp_MainContainer.PerformLayout(); + this.pnl_LeftContainer1.ResumeLayout(false); + this.pnl_LeftContainer1.PerformLayout(); + this.pnl_BottomContainer.ResumeLayout(false); + this.contextMenuStrip1.ResumeLayout(false); + this.pnl_MiddleContainer1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.cogRecordDisplay1)).EndInit(); + this.pnl_MiddleContainer2.ResumeLayout(false); + this.pnl_RightContainer1.ResumeLayout(false); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); this.tabPage2.ResumeLayout(false); - this.contextMenuStrip1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.cogRecordDisplay1)).EndInit(); - this.menuStrip1.ResumeLayout(false); - this.menuStrip1.PerformLayout(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); + this.menuStrip1.ResumeLayout(false); + this.menuStrip1.PerformLayout(); this.ResumeLayout(false); } @@ -1112,7 +1136,6 @@ private System.Windows.Forms.ToolStripMenuItem 参数设置ToolStripMenuItem; private System.Windows.Forms.ToolStripMenuItem 登录ToolStripMenuItem1; private System.Windows.Forms.ToolStripMenuItem 退出登录ToolStripMenuItem; - private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TabControl tabControl1; private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; @@ -1121,16 +1144,12 @@ private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.Button btn_LoadImage; private System.Windows.Forms.Button btn_ManulTrigger; - private System.Windows.Forms.ListView lvw_Log; - private System.Windows.Forms.ColumnHeader InfoTime; - private System.Windows.Forms.ColumnHeader Information; private System.Windows.Forms.Button btn_Auto; private Cognex.VisionPro.CogRecordDisplay cogRecordDisplay1; private System.Windows.Forms.CheckBox checkBox2; private System.Windows.Forms.Button button1; private System.Windows.Forms.CheckBox checkBox3; private Cognex.VisionPro3D.Cog3DDisplayV2WF cog3DDisplayV2WF1; - private System.Windows.Forms.Label label17; private System.Windows.Forms.Button button2; private System.Windows.Forms.Label lbl_ProductName; private System.Windows.Forms.Label label3; @@ -1173,6 +1192,15 @@ private System.Windows.Forms.Label label80; private System.Windows.Forms.Label label64; private System.Windows.Forms.Label label54; + private System.Windows.Forms.ListView lvw_Log; + private System.Windows.Forms.ColumnHeader InfoTime; + private System.Windows.Forms.ColumnHeader Information; + private System.Windows.Forms.TableLayoutPanel tlp_MainContainer; + private System.Windows.Forms.Panel pnl_LeftContainer1; + private System.Windows.Forms.Panel pnl_BottomContainer; + private System.Windows.Forms.Panel pnl_MiddleContainer1; + private System.Windows.Forms.Panel pnl_MiddleContainer2; + private System.Windows.Forms.Panel pnl_RightContainer1; } } diff --git a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.cs b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.cs index df2ebe7..3eaeb10 100644 --- a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.cs +++ b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.cs @@ -167,8 +167,6 @@ namespace 精工涂胶检测项目 // HslCommunication.Authorization.SetAuthorizationCode("163b691b-ba10-44a1-9070-cac594d67965"); try { - - string ip; int port; if (Properties.Settings.Default.ModbusIP != "") @@ -664,14 +662,11 @@ namespace 精工涂胶检测项目 { process.Kill(); } - } else { e.Cancel = true; } - - } private void checkBox1_CheckedChanged_1(object sender, EventArgs e) { @@ -1383,7 +1378,10 @@ namespace 精工涂胶检测项目 AddLog("数据写入成功", 1); } - catch (Exception ex) { AddLog($"数据写入失败:{ex.Message}", 1); ; } + catch (Exception ex) + { + AddLog($"数据写入失败:{ex.Message}", 1); + } finally { if (workbook != null) @@ -1469,7 +1467,10 @@ namespace 精工涂胶检测项目 AddLog("数据写入成功", 1); } - catch (Exception ex) { AddLog("数据写入成功", 1); ; } + catch (Exception ex) + { + AddLog("数据写入成功", 1); + } finally { if (workbook != null) @@ -1489,13 +1490,11 @@ namespace 精工涂胶检测项目 GC.WaitForPendingFinalizers(); } } - } catch (Exception ex) { MessageBox.Show(ex.ToString()); } - } @@ -1567,7 +1566,6 @@ namespace 精工涂胶检测项目 /// private void btn_Auto_Click(object sender, System.EventArgs e) { - //显示部分 if (this.btn_Auto.Text == "自动模式") { @@ -1618,6 +1616,7 @@ namespace 精工涂胶检测项目 FormCommunication formCommunication = new FormCommunication(); formCommunication.ShowDialog(); } + /// /// 实时LOG /// @@ -1636,6 +1635,8 @@ namespace 精工涂胶检测项目 lvw_Log.Items.Add(list); lvw_Log.Items[lvw_Log.Items.Count - 1].EnsureVisible(); } + + private void Label数据重置() { lbl_Volume1.Text = "0"; diff --git a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.resx b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.resx index 6456ef5..adbf786 100644 --- a/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.resx +++ b/精工涂胶检测项目/精工涂胶检测项目/Form/FormMain.resx @@ -117,12 +117,6 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - - - True - 252, 17 @@ -134,7 +128,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAw - CQAAAk1TRnQBSQFMAgEBAwEAAUABAgFAAQIBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CQAAAk1TRnQBSQFMAgEBAwEAAVABAgFQAQIBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -176,23 +170,20 @@ AX8B8AEHAgAE/wH+AT8CAAs= - - True + + 17, 17 AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAtwAAAAIB - AAAAAQAAAAAAAAAAAAAAAKIAAAAAAQAAiRIAAH4bAAATAAAAAAALAP//CwD//wsA//8DAAAAAAADAAEA + AAAAAQAAAAAAAAAAAAAAAKIAAAAAAQAAHB8AAHAyAAATAAAAAAALAP//CwD//wsA//8DAAAAAAADAAEA AAAFAAAAAAAAAAAABQAAAAAAAAAAAAUAAAAAAAAA8D8TAAAA/wALAP//CwD//xMAAIAAAAMAAwAAAAsA //8LAAAAAAAAAAAA4D8AAAAAAADgPwAAAAAAAOA/AAAAAAAA4D8BAAAAAQAAAAsA//8LAAAACwAAAAsA //8L - - 17, 17 - 25