From 5f82890823d0d307328f339b71e8057812d60979 Mon Sep 17 00:00:00 2001 From: lhiven <236881222@qq.com> Date: Sat, 20 Apr 2024 15:22:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8B=B1=E6=96=87=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=20ButtonEx=E5=A2=9E=E5=8A=A0=E6=A0=87=E5=AE=9A?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Rs.Controls/AxisMove.cs | 8 + Rs.Controls/ButtonEx.cs | 7 +- Rs.Controls/CameraTemplate.Designer.cs | 48 +- Rs.Controls/CameraTemplate.en-US.resx | 84 ++- Rs.Controls/CameraTemplate.resx | 856 ++++++++++++------------- 5 files changed, 535 insertions(+), 468 deletions(-) diff --git a/Rs.Controls/AxisMove.cs b/Rs.Controls/AxisMove.cs index 25963e1..acf7471 100644 --- a/Rs.Controls/AxisMove.cs +++ b/Rs.Controls/AxisMove.cs @@ -121,6 +121,14 @@ namespace Rs.MotionPlat { if(m_axis!=null) { + if(m_axis.Config.NeedGoHome==0) + { + btnGoHome.Visible = false; + } + else + { + btnGoHome.Visible = true; + } ErrorCode errCode; m_axis.GetPrfPosition(out double prfPos); txtPrfPos.Text = prfPos.ToString("0.000"); diff --git a/Rs.Controls/ButtonEx.cs b/Rs.Controls/ButtonEx.cs index ca30725..fd5d1ab 100644 --- a/Rs.Controls/ButtonEx.cs +++ b/Rs.Controls/ButtonEx.cs @@ -18,7 +18,8 @@ namespace Rs.Controls About, Permission, Language, - Quit + Quit, + Calib } public class ButtonEx : Button { @@ -91,6 +92,10 @@ namespace Rs.Controls case EButtonType.Quit: str = " \ue67d"; break; + case EButtonType.Calib: + + str = "\uec31"; + break; default: break; } diff --git a/Rs.Controls/CameraTemplate.Designer.cs b/Rs.Controls/CameraTemplate.Designer.cs index d6a1e19..1ae550e 100644 --- a/Rs.Controls/CameraTemplate.Designer.cs +++ b/Rs.Controls/CameraTemplate.Designer.cs @@ -29,11 +29,11 @@ private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CameraTemplate)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); this.panelEx3 = new Rs.Controls.PanelEx(); this.panelEx7 = new Rs.Controls.PanelEx(); this.groupBox7 = new System.Windows.Forms.GroupBox(); @@ -295,9 +295,9 @@ this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.AllowUserToResizeColumns = false; this.dataGridView1.AllowUserToResizeRows = false; - dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); - dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White; - this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56))))); + dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White; + this.dataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36))))); this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { @@ -310,14 +310,14 @@ this.dataGridView1.MultiSelect = false; this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36))))); - dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle10.ForeColor = System.Drawing.Color.White; - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.White; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.White; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36))))); + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.White; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.White; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; this.dataGridView1.RowHeadersVisible = false; this.dataGridView1.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing; this.dataGridView1.RowTemplate.DefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36))))); @@ -336,8 +336,8 @@ // X // this.X.DataPropertyName = "X"; - dataGridViewCellStyle7.Format = "0.000"; - this.X.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle2.Format = "0.000"; + this.X.DefaultCellStyle = dataGridViewCellStyle2; this.X.FillWeight = 25.76511F; resources.ApplyResources(this.X, "X"); this.X.Name = "X"; @@ -346,8 +346,8 @@ // Y // this.Y.DataPropertyName = "Y"; - dataGridViewCellStyle8.Format = "0.000"; - this.Y.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle3.Format = "0.000"; + this.Y.DefaultCellStyle = dataGridViewCellStyle3; this.Y.FillWeight = 24.21075F; resources.ApplyResources(this.Y, "Y"); this.Y.Name = "Y"; @@ -355,10 +355,10 @@ // // Move // - dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle9.BackColor = System.Drawing.Color.Silver; - dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White; - this.Move.DefaultCellStyle = dataGridViewCellStyle9; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle4.BackColor = System.Drawing.Color.Silver; + dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White; + this.Move.DefaultCellStyle = dataGridViewCellStyle4; this.Move.FillWeight = 26.00443F; resources.ApplyResources(this.Move, "Move"); this.Move.Name = "Move"; diff --git a/Rs.Controls/CameraTemplate.en-US.resx b/Rs.Controls/CameraTemplate.en-US.resx index 6c52382..a96cf8b 100644 --- a/Rs.Controls/CameraTemplate.en-US.resx +++ b/Rs.Controls/CameraTemplate.en-US.resx @@ -117,21 +117,30 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 667, 673 + + + 673, 693 + picture show - - Camera paramters - - 47, 12 Camera: + + 275, 58 + + + 117, 27 + - Save + Parameter Saving 0, 25 @@ -148,15 +157,48 @@ Gain + + 278, 17 + + + 392, 58 + + + 0, 693 + + + 673, 78 + + + Camera Parameter + + + 673, 771 + + + 673, 771 + + + 673, 771 + + + 673, 40 + Vision template + + 673, 40 + + + 322, 137 + + + 328, 157 + Result - - Location parameter - 151, 144 @@ -227,8 +269,8 @@ VPT: - - Paint-Erasure + + Parameter 151, 57 @@ -278,14 +320,14 @@ Erasure - - Draw + + Paint-Erasure Rect - Barcode + 2DID Any @@ -293,8 +335,8 @@ Circle - - Search + + Draw 88, 16 @@ -314,6 +356,9 @@ Whole image + + Search + Test @@ -332,4 +377,13 @@ Continue grab + + 673, 0 + + + 328, 811 + + + 1001, 811 + \ No newline at end of file diff --git a/Rs.Controls/CameraTemplate.resx b/Rs.Controls/CameraTemplate.resx index 3fd7c65..6797b03 100644 --- a/Rs.Controls/CameraTemplate.resx +++ b/Rs.Controls/CameraTemplate.resx @@ -117,9 +117,8 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Top + + 角度范围: @@ -130,7 +129,7 @@ 0, 0 - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null --> @@ -141,6 +140,7 @@ 299, 105 + Flat @@ -165,6 +165,9 @@ 忽略极性 + + Flat + hWindow_Final2 @@ -183,6 +186,9 @@ groupBox4 + + 0 + 21, 64 @@ -204,17 +210,14 @@ Fill - - 3 - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 0 - - Flat + + 30 Fill @@ -225,15 +228,21 @@ 55, 23 - - btnGrabContinue + + 3 Flat + + 0 + panelEx10 + + Top + 866, 738 @@ -246,11 +255,8 @@ Row - - btnDrawBarCode - - - 3, 17 + + 一键涂抹 0, 352 @@ -258,20 +264,26 @@ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + cboxCamera + + + groupBox4 + 3 System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - True - 3 - - 0 + + 59, 12 + + + 2 拍照取图 @@ -279,9 +291,6 @@ Top - - 8 - 0, 620 @@ -294,9 +303,6 @@ 3 - - True - Fill @@ -312,6 +318,9 @@ 1 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + Fill @@ -351,6 +360,9 @@ groupBox1 + + 1 + 3 @@ -360,14 +372,11 @@ 538, 40 - - System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 328, 130 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 207, 20 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 groupBox1 @@ -396,9 +405,6 @@ 0 - - groupBox4 - label7 @@ -408,14 +414,14 @@ 加载图片 - - 4 + + 极性: <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="btnGrab" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnLoadImage" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="btnGrabContinue" Row="0" RowSpan="1" Column="2" ColumnSpan="1" /></Controls><Columns Styles="Percent,33.33334,Percent,33.33334,Percent,33.33334,Absolute,20" /><Rows Styles="Percent,100" /></TableLayoutSettings> - - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + + btnDrawCircle 0 @@ -423,26 +429,29 @@ Flat - - 66, 24 + + Index - - label2 + + Flat + + + System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + panel1 Y - - 矩形 - 0 17, 12 - - 画圆 + + 保存 Center @@ -453,6 +462,9 @@ 3 + + 10 + 112, 3 @@ -462,8 +474,8 @@ Fill - - 3 + + 0 75, 57 @@ -489,17 +501,14 @@ 73, 100 - - True + + 8 19, 25 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Flat + + btnTestModel @@ -516,23 +525,17 @@ 6 - - 8 - hWindow_Final1 - - 70, 16 - - - 12 + + 87, 20 - - + + 76, 34 - - groupBox4 + + 125, 92 True @@ -552,14 +555,11 @@ panelEx3 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - groupBox1 - - 极性: + + groupBox4 71, 23 @@ -573,14 +573,17 @@ panelEx2 - - 9, 105 + + MiddleCenter + + + Flat 8 - - Flat + + btnGrabContinue Center @@ -603,11 +606,8 @@ 538, 620 - - 3 - - - True + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 txtAngleStart @@ -615,12 +615,12 @@ System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - panelEx7 - groupBox2 + + groupBox1 + 49, 21 @@ -663,11 +663,11 @@ 0, 654 - - groupBox4 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 172, 26 + + 1 Move @@ -678,14 +678,17 @@ 227, 21 + + 0, 0 + groupBox4 538, 40 - - 阈值: + + 89, 188 165, 25 @@ -696,24 +699,33 @@ 0, 228 + + groupBox1 + 9, 25 + + 17, 12 + 222, 100 - - groupBox3 + + 9, 105 Fill - - groupBox4 + + Fill + + 35, 12 + 3, 3 @@ -726,32 +738,38 @@ 画矩形 + + Center + Flat - - 76, 34 + + groupBox1 txtGain + + 5 + True - - True + + 1 - - groupBox1 + + 0 - - btnStudy + + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null - - 0 + + 59, 12 - - True + + System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 104, 34 @@ -765,27 +783,27 @@ 164, 147 - - 13 - - - Right + + label13 - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null label4 - - label5 + + 129, 57 + + + 328, 172 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 训练 - - 6, 12 - 0 @@ -804,14 +822,20 @@ panel1 - - 0 - - + groupBox1 + + 5 + + + 0 + + + Flat + - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null lblContrast @@ -822,8 +846,8 @@ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 10 + + label5 538, 698 @@ -846,8 +870,8 @@ 2 - - 84, 20 + + panelEx7 System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -855,12 +879,18 @@ True + + 59, 12 + + + panelEx7 + + + 239, 0 + 30 - - 6 - Top @@ -882,8 +912,8 @@ 3 - - Flat + + 59, 12 1 @@ -891,12 +921,6 @@ 9 - - 0 - - - rbtnSearchSelectedRegion - 2 @@ -909,11 +933,8 @@ 1 - - panelEx5 - - - 0 + + groupBox7 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -921,15 +942,21 @@ 299, 59 + + 0 + 测试定位结果 55, 23 - + Flat + + 1 + 6 @@ -942,9 +969,6 @@ 328, 40 - - 定位参数 - 538, 698 @@ -960,11 +984,8 @@ 30 - - Top - - - 538, 0 + + panelEx5 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -984,20 +1005,20 @@ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - txtScore - Right System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 75, 23 + + 84, 20 - - groupBox7 + + 保存模板 + + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 35, 12 @@ -1017,20 +1038,20 @@ groupBox1 - - True + + lblHeadText + + + 涂抹与擦除 Fill - - 59, 12 - - - panelEx1 + + 4 - - 0 + + 74, 27 5 @@ -1050,8 +1071,8 @@ 1 - - 328, 188 + + 76, 34 7 @@ -1071,9 +1092,6 @@ groupBox1 - - 画笔形状: - 349, 58 @@ -1098,8 +1116,11 @@ 4 - - 1 + + groupBox4 + + + label14 75, 24 @@ -1113,35 +1134,35 @@ 117, 20 + + 17 + 46, 16 66, 55 - - groupBox1 + + 圆形 groupBox3 - - 1 + + True - - 5 + + panel1 - - Index + + panelEx3 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Flat - - - groupBox1 + + panelEx5 comboBox1 @@ -1155,11 +1176,8 @@ 11 - - 59, 12 - - - 328, 61 + + True System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1167,20 +1185,23 @@ panelEx10 + + 3 + 4 True - - 1 - 186, 17 - - True + + Fill + + + rbtnSearchSelectedRegion System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1191,20 +1212,14 @@ 8 - - 69, 21 - - - 1 - True groupBox1 - - 4 + + label15 System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1215,45 +1230,39 @@ 3 - - 分数: - 任意 0 - - 4 - btnPaint 162, 20 + + 328, 84 + tableLayoutPanel1 groupBox5 - - label13 + + 3 - - 0 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 3 + + 172, 26 btnLoadImage - - Score - 76, 34 @@ -1269,8 +1278,8 @@ System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - btnDrawCircle + + 阈值: panelEx3 @@ -1281,29 +1290,32 @@ 框选区域 + + 299, 28 + 0 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + panelEx11 + System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - panelEx1 - - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 74, 27 + + 3 groupBox3 - - 二维码 + + Top 擦除 @@ -1311,11 +1323,8 @@ groupBox2 - - 221, 3 - - - label14 + + btnDrawBarCode 5 @@ -1323,8 +1332,8 @@ 2 - - panelEx7 + + Score 1 @@ -1344,11 +1353,8 @@ X - - 绘制模板 - - - 103, 34 + + 13 System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1359,9 +1365,15 @@ 4 + + groupBox7 + 2 + + groupBox6 + 视觉模板 @@ -1374,32 +1386,32 @@ 3 + + groupBox3 + 0 - - Center - btnSaveParamer - - 35, 12 + + 1 System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 6, 6 + + 5 - - 7, 50 + + System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 532, 600 - - 0, 289 + + 12, 20 panelEx5 @@ -1407,29 +1419,29 @@ Fill - - groupBox6 + + Flat System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 60, 19 + + panel2 groupBox2 + + 画圆 + 9 groupBox4 - - groupBox4 - - - 0, 0 + + 3, 17 panelEx10 @@ -1437,17 +1449,17 @@ btnClear - - 1 - - - 6 + + 7, 50 增益: - - System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 0, 289 + + + True 搜索区域 @@ -1455,9 +1467,6 @@ groupBox5 - - True - btnDrawSearch @@ -1476,8 +1485,8 @@ panelEx1 - - 保存 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 0 @@ -1485,26 +1494,32 @@ Top - - panel1 + + System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 角度范围: + + 328, 130 + + + 0 System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 使用极性 + 4 - - 239, 0 + + txtScore 6 - - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + + 207, 20 239, 188 @@ -1527,11 +1542,11 @@ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - groupBox2 + + cboxMetric - - 一键涂抹 + + 103, 34 System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1563,26 +1578,26 @@ 17, 12 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 70, 16 对比度: - - 17, 12 + + 定位参数 14 - - groupBox7 + + 6 - - + + 8 - - 87, 20 + + groupBox2 True @@ -1590,20 +1605,20 @@ Flat - - 圆形 + + 0 System.Windows.Forms.DataGridViewTextBoxColumn, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - MiddleCenter + + True 连续取图 - - 使用极性 + + 分数: 0, 0 @@ -1614,33 +1629,30 @@ 6 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 4 - - 89, 188 + + groupBox1 panel2 - - 30 + + 绘制模板 14 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - panel1 + + 328, 188 - + 4 + + 画笔形状: + $this @@ -1653,11 +1665,11 @@ Fill - - Flat + + btnStudy - - panelEx11 + + groupBox4 panelEx7 @@ -1671,8 +1683,8 @@ Flat - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + panelEx1 0, 0 @@ -1689,35 +1701,35 @@ panel1 - - 10 + + True 71, 21 - - 2 - 4 1 + + 35, 12 + 8 True - - 5 + + 12 22, 21 - - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + + 矩形 1 @@ -1734,53 +1746,50 @@ 227, 21 - - 328, 172 - panelEx1 - - 保存模板 + + 60, 19 - - groupBox1 + + Center 8 - - 328, 84 + + 1 9 - - 2 + + 0 - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null - - 12, 20 + + label2 328, 40 - - 0 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 0 + + 66, 24 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 12 - - 125, 92 + + True - - lblHeadText + + True 8 @@ -1794,17 +1803,17 @@ 121, 20 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 221, 3 - - 59, 12 + + Right - + 8 - - 59, 12 + + panelEx1 3 @@ -1824,26 +1833,23 @@ 0 - - 3 + + 538, 0 70, 16 - - 相机参数 - 237, 20 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Flat System.Windows.Forms.UserControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 17 + + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @@ -1857,17 +1863,17 @@ 0, 40 - - 涂抹与擦除 + + 239, 188 - - 1 + + System.Windows.Forms.DataGridView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - Fill + + groupBox4 - - System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + True 538, 698 @@ -1875,8 +1881,8 @@ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 76, 34 + + 3 0 @@ -1887,23 +1893,20 @@ 1 - - 0 + + 1 groupBox1 - - panelEx5 - panelEx2 - - Center + + 10 - - panelEx3 + + True 7 @@ -1911,24 +1914,21 @@ 272, 17 - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 6, 6 label8 - - cboxCamera + + groupBox1 - - 1 + + 69, 21 System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 5 - 搜索区域 @@ -1941,11 +1941,11 @@ Fill - - panel2 + + 二维码 - - System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 相机参数 Angle @@ -1962,14 +1962,14 @@ 116, 21 - - 35, 12 + + 0 us - - System.Windows.Forms.TrackBar, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 2 label3 @@ -1980,35 +1980,35 @@ True - - cboxMetric + + 75, 23 - - label15 + + 4 - Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.2, Culture=neutral, PublicKeyToken=null + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null - - 5 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 129, 57 + + 328, 61 - - 239, 188 + + Rs.Controls.PanelEx, Rs.Controls, Version=2.20.24.4, Culture=neutral, PublicKeyToken=null panel1 - - 299, 28 + + 6 538, 78 - - groupBox1 + + 5 en-US