hisence-yolo-detection/HisenceYoloDetection/MainForm.Designer.cs
2024-06-27 09:22:31 +08:00

2051 lines
76 KiB
C#

namespace HisenceYoloDetection
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
components = new System.ComponentModel.Container();
OpenCvSharp.Mat mat1 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat2 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat3 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat4 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat5 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat6 = new OpenCvSharp.Mat();
OpenCvSharp.Mat mat7 = new OpenCvSharp.Mat();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
tabPage2 = new TabPage();
panel1 = new Panel();
groupBox5 = new GroupBox();
DistanceShow = new TextBox();
label21 = new Label();
txtSetValue = new TextBox();
groupBox4 = new GroupBox();
SetAutoSpeed = new Button();
SetHandleSpeed = new Button();
SetlnEditmiZOP = new TextBox();
SetlnEditmiYOP = new TextBox();
SetlnEditmiXOP = new TextBox();
SetlnEditmiZH = new TextBox();
SetlnEditmiYH = new TextBox();
SetlnEditmiXH = new TextBox();
lnEditmiZOP = new TextBox();
lnEditmiYOP = new TextBox();
lnEditmiXOP = new TextBox();
label17 = new Label();
lnEditmiZS = new TextBox();
lnEditmiYS = new TextBox();
lnEditmiXS = new TextBox();
label16 = new Label();
lnEditmiZHS = new TextBox();
lnEditmiYHS = new TextBox();
lnEditmiXHS = new TextBox();
label15 = new Label();
ZPostion = new Label();
YPostion = new Label();
XPostion = new Label();
XCurrentPostion = new Label();
label14 = new Label();
label13 = new Label();
label12 = new Label();
label11 = new Label();
ModeleShow = new GroupBox();
ZBackwardrbx = new RadioButton();
YBackwardrbx = new RadioButton();
XBackwardrbx = new RadioButton();
ZForwardrbx = new RadioButton();
YForwardrbx = new RadioButton();
XForwardrbx = new RadioButton();
ZZerorbx = new RadioButton();
YZerorbx = new RadioButton();
XZerorbx = new RadioButton();
PLCPostion = new Button();
PLCDiskZero = new Button();
PLCPowerON = new Button();
writePLCValue = new TextBox();
label9 = new Label();
label10 = new Label();
wirteAdressBtn = new Button();
PLCValue = new TextBox();
WriteAdress = new TextBox();
label6 = new Label();
label3 = new Label();
ConnectPLC = new Button();
readAdress = new Button();
showPLC = new TextBox();
readPLc = new TextBox();
tabPage1 = new TabPage();
CamShow2 = new XKRS.UI.Canvas();
CamShow1 = new XKRS.UI.Canvas();
groupBox3 = new GroupBox();
SnapshotCam2 = new Button();
button3 = new Button();
bnSetParam2 = new Button();
label5 = new Label();
Cam2OpenBtn = new Button();
bnGetParam2 = new Button();
tbGain2 = new TextBox();
tbExposure2 = new TextBox();
label7 = new Label();
label8 = new Label();
groupBox1 = new GroupBox();
SnapshotCam1 = new Button();
button2 = new Button();
bnSetParam = new Button();
label1 = new Label();
Cam1OpenBtn = new Button();
bnGetParam = new Button();
tbGain = new TextBox();
tbExposure = new TextBox();
label2 = new Label();
label4 = new Label();
tabControl1 = new TabControl();
tabPage5 = new TabPage();
panel4 = new Panel();
panel5 = new Panel();
DefetShow5 = new XKRS.UI.Canvas();
panel8 = new Panel();
RefeshData = new Button();
= new Label();
OKOrNGShow = new PictureBox();
OKDNum = new TextBox();
label20 = new Label();
NGDNum = new TextBox();
label19 = new Label();
AllDSum = new TextBox();
label18 = new Label();
InsertSqlBtn = new Button();
StartDecBtn = new Button();
ScanDevList = new Button();
DevNameCombo = new ComboBox();
InitMachine = new Button();
panel6 = new Panel();
groupBox2 = new GroupBox();
DefetShow4 = new XKRS.UI.Canvas();
DefetShow3 = new XKRS.UI.Canvas();
DefetShow2 = new XKRS.UI.Canvas();
originMat2Show = new PictureBox();
DefetShow1 = new XKRS.UI.Canvas();
ResultMatShow2 = new PictureBox();
originMatShow2 = new PictureBox();
originMatShow = new PictureBox();
ResultMatShow = new PictureBox();
tabPage3 = new TabPage();
panel2 = new Panel();
WhiteBanCbx = new CheckBox();
label33 = new Label();
label28 = new Label();
openModelBtn = new Button();
modelChangeCbx = new TextBox();
label34 = new Label();
button4 = new Button();
OpenTwoDirBtn = new Button();
OpenDirBtn = new Button();
Cam2MatCbx = new TextBox();
label22 = new Label();
Cam1MatCbx = new TextBox();
label23 = new Label();
QueryoneBtn = new Button();
DetectBArMatbox = new TextBox();
label24 = new Label();
InsertBtn = new Button();
moveTwoZbox = new TextBox();
label25 = new Label();
moveTwoYbox = new TextBox();
label26 = new Label();
moveTwoXbox = new TextBox();
label27 = new Label();
moveZbox = new TextBox();
moveYbox = new TextBox();
label29 = new Label();
moveXbox = new TextBox();
label30 = new Label();
OcrBarBox = new TextBox();
label31 = new Label();
TypeBox = new TextBox();
queryALLBtn = new Button();
label32 = new Label();
InsertDataDgv = new DataGridView();
timer1 = new System.Windows.Forms.Timer(components);
timer2 = new System.Windows.Forms.Timer(components);
timer3 = new System.Windows.Forms.Timer(components);
timer4 = new System.Windows.Forms.Timer(components);
timer5 = new System.Windows.Forms.Timer(components);
timer6 = new System.Windows.Forms.Timer(components);
richTextBox1 = new RichTextBox();
contextMenuStrip1 = new ContextMenuStrip(components);
backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
tabPage2.SuspendLayout();
panel1.SuspendLayout();
groupBox5.SuspendLayout();
groupBox4.SuspendLayout();
ModeleShow.SuspendLayout();
tabPage1.SuspendLayout();
groupBox3.SuspendLayout();
groupBox1.SuspendLayout();
tabControl1.SuspendLayout();
tabPage5.SuspendLayout();
panel4.SuspendLayout();
panel5.SuspendLayout();
panel8.SuspendLayout();
((System.ComponentModel.ISupportInitialize)OKOrNGShow).BeginInit();
panel6.SuspendLayout();
groupBox2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)originMat2Show).BeginInit();
((System.ComponentModel.ISupportInitialize)ResultMatShow2).BeginInit();
((System.ComponentModel.ISupportInitialize)originMatShow2).BeginInit();
((System.ComponentModel.ISupportInitialize)originMatShow).BeginInit();
((System.ComponentModel.ISupportInitialize)ResultMatShow).BeginInit();
tabPage3.SuspendLayout();
panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)InsertDataDgv).BeginInit();
SuspendLayout();
//
// tabPage2
//
tabPage2.Controls.Add(panel1);
tabPage2.Location = new Point(4, 26);
tabPage2.Name = "tabPage2";
tabPage2.Padding = new Padding(3);
tabPage2.Size = new Size(1276, 765);
tabPage2.TabIndex = 1;
tabPage2.Text = "PLC";
tabPage2.UseVisualStyleBackColor = true;
//
// panel1
//
panel1.Controls.Add(groupBox5);
panel1.Controls.Add(txtSetValue);
panel1.Controls.Add(groupBox4);
panel1.Controls.Add(ModeleShow);
panel1.Controls.Add(writePLCValue);
panel1.Controls.Add(label9);
panel1.Controls.Add(label10);
panel1.Controls.Add(wirteAdressBtn);
panel1.Controls.Add(PLCValue);
panel1.Controls.Add(WriteAdress);
panel1.Controls.Add(label6);
panel1.Controls.Add(label3);
panel1.Controls.Add(ConnectPLC);
panel1.Controls.Add(readAdress);
panel1.Controls.Add(showPLC);
panel1.Controls.Add(readPLc);
panel1.Location = new Point(6, 6);
panel1.Name = "panel1";
panel1.Size = new Size(1171, 489);
panel1.TabIndex = 4;
//
// groupBox5
//
groupBox5.Controls.Add(DistanceShow);
groupBox5.Controls.Add(label21);
groupBox5.Location = new Point(806, 10);
groupBox5.Name = "groupBox5";
groupBox5.Size = new Size(356, 100);
groupBox5.TabIndex = 15;
groupBox5.TabStop = false;
groupBox5.Text = "实时显示";
//
// DistanceShow
//
DistanceShow.Location = new Point(86, 30);
DistanceShow.Name = "DistanceShow";
DistanceShow.ReadOnly = true;
DistanceShow.Size = new Size(100, 23);
DistanceShow.TabIndex = 10;
//
// label21
//
label21.AutoSize = true;
label21.Location = new Point(28, 33);
label21.Name = "label21";
label21.Size = new Size(32, 17);
label21.TabIndex = 0;
label21.Text = "测距";
//
// txtSetValue
//
txtSetValue.Location = new Point(574, 78);
txtSetValue.Name = "txtSetValue";
txtSetValue.Size = new Size(196, 23);
txtSetValue.TabIndex = 14;
//
// groupBox4
//
groupBox4.Controls.Add(SetAutoSpeed);
groupBox4.Controls.Add(SetHandleSpeed);
groupBox4.Controls.Add(SetlnEditmiZOP);
groupBox4.Controls.Add(SetlnEditmiYOP);
groupBox4.Controls.Add(SetlnEditmiXOP);
groupBox4.Controls.Add(SetlnEditmiZH);
groupBox4.Controls.Add(SetlnEditmiYH);
groupBox4.Controls.Add(SetlnEditmiXH);
groupBox4.Controls.Add(lnEditmiZOP);
groupBox4.Controls.Add(lnEditmiYOP);
groupBox4.Controls.Add(lnEditmiXOP);
groupBox4.Controls.Add(label17);
groupBox4.Controls.Add(lnEditmiZS);
groupBox4.Controls.Add(lnEditmiYS);
groupBox4.Controls.Add(lnEditmiXS);
groupBox4.Controls.Add(label16);
groupBox4.Controls.Add(lnEditmiZHS);
groupBox4.Controls.Add(lnEditmiYHS);
groupBox4.Controls.Add(lnEditmiXHS);
groupBox4.Controls.Add(label15);
groupBox4.Controls.Add(ZPostion);
groupBox4.Controls.Add(YPostion);
groupBox4.Controls.Add(XPostion);
groupBox4.Controls.Add(XCurrentPostion);
groupBox4.Controls.Add(label14);
groupBox4.Controls.Add(label13);
groupBox4.Controls.Add(label12);
groupBox4.Controls.Add(label11);
groupBox4.Location = new Point(611, 107);
groupBox4.Name = "groupBox4";
groupBox4.Size = new Size(557, 373);
groupBox4.TabIndex = 13;
groupBox4.TabStop = false;
groupBox4.Text = "位置显示";
//
// SetAutoSpeed
//
SetAutoSpeed.Location = new Point(8, 315);
SetAutoSpeed.Name = "SetAutoSpeed";
SetAutoSpeed.Size = new Size(88, 23);
SetAutoSpeed.TabIndex = 29;
SetAutoSpeed.Text = "设置自动速度";
SetAutoSpeed.UseVisualStyleBackColor = true;
SetAutoSpeed.Click += SetAutoSpeed_Click;
//
// SetHandleSpeed
//
SetHandleSpeed.Location = new Point(8, 258);
SetHandleSpeed.Name = "SetHandleSpeed";
SetHandleSpeed.Size = new Size(88, 23);
SetHandleSpeed.TabIndex = 28;
SetHandleSpeed.Text = "设置手动速度";
SetHandleSpeed.UseVisualStyleBackColor = true;
SetHandleSpeed.Click += SetHandleSpeed_Click;
//
// SetlnEditmiZOP
//
SetlnEditmiZOP.Location = new Point(409, 315);
SetlnEditmiZOP.Name = "SetlnEditmiZOP";
SetlnEditmiZOP.Size = new Size(100, 23);
SetlnEditmiZOP.TabIndex = 27;
//
// SetlnEditmiYOP
//
SetlnEditmiYOP.Location = new Point(256, 315);
SetlnEditmiYOP.Name = "SetlnEditmiYOP";
SetlnEditmiYOP.Size = new Size(100, 23);
SetlnEditmiYOP.TabIndex = 26;
//
// SetlnEditmiXOP
//
SetlnEditmiXOP.Location = new Point(107, 315);
SetlnEditmiXOP.Name = "SetlnEditmiXOP";
SetlnEditmiXOP.Size = new Size(100, 23);
SetlnEditmiXOP.TabIndex = 25;
//
// SetlnEditmiZH
//
SetlnEditmiZH.Location = new Point(409, 258);
SetlnEditmiZH.Name = "SetlnEditmiZH";
SetlnEditmiZH.Size = new Size(100, 23);
SetlnEditmiZH.TabIndex = 23;
//
// SetlnEditmiYH
//
SetlnEditmiYH.Location = new Point(256, 258);
SetlnEditmiYH.Name = "SetlnEditmiYH";
SetlnEditmiYH.Size = new Size(100, 23);
SetlnEditmiYH.TabIndex = 22;
//
// SetlnEditmiXH
//
SetlnEditmiXH.Location = new Point(107, 258);
SetlnEditmiXH.Name = "SetlnEditmiXH";
SetlnEditmiXH.Size = new Size(100, 23);
SetlnEditmiXH.TabIndex = 21;
//
// lnEditmiZOP
//
lnEditmiZOP.Location = new Point(409, 200);
lnEditmiZOP.Name = "lnEditmiZOP";
lnEditmiZOP.Size = new Size(100, 23);
lnEditmiZOP.TabIndex = 19;
//
// lnEditmiYOP
//
lnEditmiYOP.Location = new Point(256, 200);
lnEditmiYOP.Name = "lnEditmiYOP";
lnEditmiYOP.Size = new Size(100, 23);
lnEditmiYOP.TabIndex = 18;
//
// lnEditmiXOP
//
lnEditmiXOP.Location = new Point(107, 200);
lnEditmiXOP.Name = "lnEditmiXOP";
lnEditmiXOP.Size = new Size(100, 23);
lnEditmiXOP.TabIndex = 17;
//
// label17
//
label17.AutoSize = true;
label17.Location = new Point(32, 203);
label17.Name = "label17";
label17.Size = new Size(56, 17);
label17.TabIndex = 16;
label17.Text = "定位位置";
//
// lnEditmiZS
//
lnEditmiZS.Location = new Point(409, 144);
lnEditmiZS.Name = "lnEditmiZS";
lnEditmiZS.ReadOnly = true;
lnEditmiZS.Size = new Size(100, 23);
lnEditmiZS.TabIndex = 15;
//
// lnEditmiYS
//
lnEditmiYS.Location = new Point(256, 144);
lnEditmiYS.Name = "lnEditmiYS";
lnEditmiYS.ReadOnly = true;
lnEditmiYS.Size = new Size(100, 23);
lnEditmiYS.TabIndex = 14;
//
// lnEditmiXS
//
lnEditmiXS.Location = new Point(107, 144);
lnEditmiXS.Name = "lnEditmiXS";
lnEditmiXS.ReadOnly = true;
lnEditmiXS.Size = new Size(100, 23);
lnEditmiXS.TabIndex = 13;
//
// label16
//
label16.AutoSize = true;
label16.Location = new Point(8, 147);
label16.Name = "label16";
label16.Size = new Size(80, 17);
label16.TabIndex = 12;
label16.Text = "当前定位速度";
//
// lnEditmiZHS
//
lnEditmiZHS.Location = new Point(409, 87);
lnEditmiZHS.Name = "lnEditmiZHS";
lnEditmiZHS.ReadOnly = true;
lnEditmiZHS.Size = new Size(100, 23);
lnEditmiZHS.TabIndex = 11;
//
// lnEditmiYHS
//
lnEditmiYHS.Location = new Point(256, 87);
lnEditmiYHS.Name = "lnEditmiYHS";
lnEditmiYHS.ReadOnly = true;
lnEditmiYHS.Size = new Size(100, 23);
lnEditmiYHS.TabIndex = 10;
//
// lnEditmiXHS
//
lnEditmiXHS.Location = new Point(107, 87);
lnEditmiXHS.Name = "lnEditmiXHS";
lnEditmiXHS.ReadOnly = true;
lnEditmiXHS.Size = new Size(100, 23);
lnEditmiXHS.TabIndex = 9;
//
// label15
//
label15.AutoSize = true;
label15.Location = new Point(8, 90);
label15.Name = "label15";
label15.Size = new Size(80, 17);
label15.TabIndex = 8;
label15.Text = "当前手动速度";
//
// ZPostion
//
ZPostion.AutoSize = true;
ZPostion.Location = new Point(451, 45);
ZPostion.Name = "ZPostion";
ZPostion.Size = new Size(15, 17);
ZPostion.TabIndex = 7;
ZPostion.Text = "0";
//
// YPostion
//
YPostion.AutoSize = true;
YPostion.Location = new Point(300, 45);
YPostion.Name = "YPostion";
YPostion.Size = new Size(15, 17);
YPostion.TabIndex = 6;
YPostion.Text = "0";
//
// XPostion
//
XPostion.AutoSize = true;
XPostion.Location = new Point(144, 45);
XPostion.Name = "XPostion";
XPostion.Size = new Size(15, 17);
XPostion.TabIndex = 5;
XPostion.Text = "0";
//
// XCurrentPostion
//
XCurrentPostion.AutoSize = true;
XCurrentPostion.Location = new Point(132, 45);
XCurrentPostion.Name = "XCurrentPostion";
XCurrentPostion.Size = new Size(0, 17);
XCurrentPostion.TabIndex = 4;
//
// label14
//
label14.AutoSize = true;
label14.Location = new Point(451, 22);
label14.Name = "label14";
label14.Size = new Size(15, 17);
label14.TabIndex = 3;
label14.Text = "Z";
//
// label13
//
label13.AutoSize = true;
label13.Location = new Point(300, 19);
label13.Name = "label13";
label13.Size = new Size(15, 17);
label13.TabIndex = 2;
label13.Text = "Y";
//
// label12
//
label12.AutoSize = true;
label12.Location = new Point(143, 19);
label12.Name = "label12";
label12.Size = new Size(16, 17);
label12.TabIndex = 1;
label12.Text = "X";
//
// label11
//
label11.AutoSize = true;
label11.Location = new Point(32, 45);
label11.Name = "label11";
label11.Size = new Size(56, 17);
label11.TabIndex = 0;
label11.Text = "当前位置";
//
// ModeleShow
//
ModeleShow.Controls.Add(ZBackwardrbx);
ModeleShow.Controls.Add(YBackwardrbx);
ModeleShow.Controls.Add(XBackwardrbx);
ModeleShow.Controls.Add(ZForwardrbx);
ModeleShow.Controls.Add(YForwardrbx);
ModeleShow.Controls.Add(XForwardrbx);
ModeleShow.Controls.Add(ZZerorbx);
ModeleShow.Controls.Add(YZerorbx);
ModeleShow.Controls.Add(XZerorbx);
ModeleShow.Controls.Add(PLCPostion);
ModeleShow.Controls.Add(PLCDiskZero);
ModeleShow.Controls.Add(PLCPowerON);
ModeleShow.Location = new Point(14, 107);
ModeleShow.Name = "ModeleShow";
ModeleShow.Size = new Size(579, 373);
ModeleShow.TabIndex = 12;
ModeleShow.TabStop = false;
ModeleShow.Text = "模组显示";
//
// ZBackwardrbx
//
ZBackwardrbx.Appearance = Appearance.Button;
ZBackwardrbx.Location = new Point(410, 180);
ZBackwardrbx.Name = "ZBackwardrbx";
ZBackwardrbx.Size = new Size(125, 62);
ZBackwardrbx.TabIndex = 21;
ZBackwardrbx.Text = "Z反向";
ZBackwardrbx.TextAlign = ContentAlignment.MiddleCenter;
ZBackwardrbx.UseVisualStyleBackColor = true;
ZBackwardrbx.Click += ZBackwardrbx_Click;
//
// YBackwardrbx
//
YBackwardrbx.Appearance = Appearance.Button;
YBackwardrbx.Location = new Point(266, 180);
YBackwardrbx.Name = "YBackwardrbx";
YBackwardrbx.Size = new Size(125, 62);
YBackwardrbx.TabIndex = 20;
YBackwardrbx.Text = "Y反向";
YBackwardrbx.TextAlign = ContentAlignment.MiddleCenter;
YBackwardrbx.UseVisualStyleBackColor = true;
YBackwardrbx.Click += YBackwardrbx_Click;
//
// XBackwardrbx
//
XBackwardrbx.Appearance = Appearance.Button;
XBackwardrbx.Location = new Point(126, 180);
XBackwardrbx.Name = "XBackwardrbx";
XBackwardrbx.Size = new Size(125, 62);
XBackwardrbx.TabIndex = 19;
XBackwardrbx.Text = "X反向";
XBackwardrbx.TextAlign = ContentAlignment.MiddleCenter;
XBackwardrbx.UseVisualStyleBackColor = true;
XBackwardrbx.Click += XBackwardrbx_Click;
//
// ZForwardrbx
//
ZForwardrbx.Appearance = Appearance.Button;
ZForwardrbx.Location = new Point(410, 105);
ZForwardrbx.Name = "ZForwardrbx";
ZForwardrbx.Size = new Size(125, 62);
ZForwardrbx.TabIndex = 18;
ZForwardrbx.Text = "Z正向";
ZForwardrbx.TextAlign = ContentAlignment.MiddleCenter;
ZForwardrbx.UseVisualStyleBackColor = true;
ZForwardrbx.Click += ZForwardrbx_Click;
//
// YForwardrbx
//
YForwardrbx.Appearance = Appearance.Button;
YForwardrbx.Location = new Point(266, 102);
YForwardrbx.Name = "YForwardrbx";
YForwardrbx.Size = new Size(125, 62);
YForwardrbx.TabIndex = 17;
YForwardrbx.Text = "Y正向";
YForwardrbx.TextAlign = ContentAlignment.MiddleCenter;
YForwardrbx.UseVisualStyleBackColor = true;
YForwardrbx.Click += YForwardrbx_Click;
//
// XForwardrbx
//
XForwardrbx.Appearance = Appearance.Button;
XForwardrbx.Location = new Point(126, 105);
XForwardrbx.Name = "XForwardrbx";
XForwardrbx.Size = new Size(125, 62);
XForwardrbx.TabIndex = 16;
XForwardrbx.Text = "X正向";
XForwardrbx.TextAlign = ContentAlignment.MiddleCenter;
XForwardrbx.UseVisualStyleBackColor = true;
XForwardrbx.Click += XForwardrbx_Click;
//
// ZZerorbx
//
ZZerorbx.Appearance = Appearance.Button;
ZZerorbx.Location = new Point(410, 22);
ZZerorbx.Name = "ZZerorbx";
ZZerorbx.Size = new Size(125, 62);
ZZerorbx.TabIndex = 15;
ZZerorbx.Text = "Z归零";
ZZerorbx.TextAlign = ContentAlignment.MiddleCenter;
ZZerorbx.UseVisualStyleBackColor = true;
ZZerorbx.Click += ZZerorbx_Click;
//
// YZerorbx
//
YZerorbx.Appearance = Appearance.Button;
YZerorbx.Location = new Point(266, 22);
YZerorbx.Name = "YZerorbx";
YZerorbx.Size = new Size(125, 62);
YZerorbx.TabIndex = 14;
YZerorbx.Text = "Y归零";
YZerorbx.TextAlign = ContentAlignment.MiddleCenter;
YZerorbx.UseVisualStyleBackColor = true;
YZerorbx.Click += YZerorbx_Click;
//
// XZerorbx
//
XZerorbx.Appearance = Appearance.Button;
XZerorbx.Location = new Point(126, 22);
XZerorbx.Name = "XZerorbx";
XZerorbx.Size = new Size(125, 62);
XZerorbx.TabIndex = 13;
XZerorbx.Text = "X归零";
XZerorbx.TextAlign = ContentAlignment.MiddleCenter;
XZerorbx.UseVisualStyleBackColor = true;
XZerorbx.Click += XZerorbx_Click;
//
// PLCPostion
//
PLCPostion.Location = new Point(6, 266);
PLCPostion.Name = "PLCPostion";
PLCPostion.Size = new Size(97, 101);
PLCPostion.TabIndex = 2;
PLCPostion.Text = "定位";
PLCPostion.UseVisualStyleBackColor = true;
PLCPostion.Click += PLCPostion_Click;
//
// PLCDiskZero
//
PLCDiskZero.Location = new Point(6, 141);
PLCDiskZero.Name = "PLCDiskZero";
PLCDiskZero.Size = new Size(97, 101);
PLCDiskZero.TabIndex = 1;
PLCDiskZero.Text = "归零";
PLCDiskZero.UseVisualStyleBackColor = true;
PLCDiskZero.Click += PLCDiskZero_Click;
//
// PLCPowerON
//
PLCPowerON.Location = new Point(6, 22);
PLCPowerON.Name = "PLCPowerON";
PLCPowerON.Size = new Size(97, 101);
PLCPowerON.TabIndex = 0;
PLCPowerON.Text = "使能ON";
PLCPowerON.UseVisualStyleBackColor = true;
PLCPowerON.Click += PLCPowerON_Click;
//
// writePLCValue
//
writePLCValue.Location = new Point(670, 10);
writePLCValue.Name = "writePLCValue";
writePLCValue.Size = new Size(100, 23);
writePLCValue.TabIndex = 11;
//
// label9
//
label9.AutoSize = true;
label9.Location = new Point(400, 52);
label9.Name = "label9";
label9.Size = new Size(20, 17);
label9.TabIndex = 10;
label9.Text = "值";
//
// label10
//
label10.AutoSize = true;
label10.Location = new Point(400, 16);
label10.Name = "label10";
label10.Size = new Size(32, 17);
label10.TabIndex = 9;
label10.Text = "地址";
//
// wirteAdressBtn
//
wirteAdressBtn.Location = new Point(574, 13);
wirteAdressBtn.Name = "wirteAdressBtn";
wirteAdressBtn.Size = new Size(75, 23);
wirteAdressBtn.TabIndex = 7;
wirteAdressBtn.Text = "写地址INT";
wirteAdressBtn.UseVisualStyleBackColor = true;
wirteAdressBtn.Click += wirteAdress_Click;
//
// PLCValue
//
PLCValue.Location = new Point(449, 46);
PLCValue.Name = "PLCValue";
PLCValue.Size = new Size(100, 23);
PLCValue.TabIndex = 8;
//
// WriteAdress
//
WriteAdress.Location = new Point(449, 13);
WriteAdress.Name = "WriteAdress";
WriteAdress.Size = new Size(100, 23);
WriteAdress.TabIndex = 6;
//
// label6
//
label6.AutoSize = true;
label6.Location = new Point(126, 55);
label6.Name = "label6";
label6.Size = new Size(20, 17);
label6.TabIndex = 5;
label6.Text = "值";
//
// label3
//
label3.AutoSize = true;
label3.Location = new Point(126, 19);
label3.Name = "label3";
label3.Size = new Size(32, 17);
label3.TabIndex = 4;
label3.Text = "地址";
//
// ConnectPLC
//
ConnectPLC.Location = new Point(14, 16);
ConnectPLC.Name = "ConnectPLC";
ConnectPLC.Size = new Size(99, 56);
ConnectPLC.TabIndex = 0;
ConnectPLC.Text = "链接PLC";
ConnectPLC.UseVisualStyleBackColor = true;
ConnectPLC.Click += button4_Click;
//
// readAdress
//
readAdress.Location = new Point(300, 16);
readAdress.Name = "readAdress";
readAdress.Size = new Size(75, 23);
readAdress.TabIndex = 2;
readAdress.Text = "读地址INT";
readAdress.UseVisualStyleBackColor = true;
readAdress.Click += readAdress_Click;
//
// showPLC
//
showPLC.Location = new Point(175, 49);
showPLC.Name = "showPLC";
showPLC.Size = new Size(100, 23);
showPLC.TabIndex = 3;
//
// readPLc
//
readPLc.Location = new Point(175, 16);
readPLc.Name = "readPLc";
readPLc.Size = new Size(100, 23);
readPLc.TabIndex = 1;
//
// tabPage1
//
tabPage1.Controls.Add(CamShow2);
tabPage1.Controls.Add(CamShow1);
tabPage1.Controls.Add(groupBox3);
tabPage1.Controls.Add(groupBox1);
tabPage1.Location = new Point(4, 26);
tabPage1.Name = "tabPage1";
tabPage1.Padding = new Padding(3);
tabPage1.Size = new Size(1276, 765);
tabPage1.TabIndex = 0;
tabPage1.Text = "相机";
tabPage1.UseVisualStyleBackColor = true;
//
// CamShow2
//
CamShow2.AllowSelectDefect = true;
CamShow2.BrushColor = null;
CamShow2.ImagePath = "";
mat1.IsEnabledDispose = true;
CamShow2.ImaMAt = mat1;
CamShow2.ImgData = null;
CamShow2.Location = new Point(578, 6);
CamShow2.MoveStep = 5F;
CamShow2.Name = "CamShow2";
CamShow2.Route = 0D;
CamShow2.Scale = 1D;
CamShow2.Size = new Size(690, 310);
CamShow2.TabIndex = 21;
CamShow2.WholeScale = 0F;
CamShow2.XMove = 0F;
CamShow2.XScale = 0F;
CamShow2.YMove = 0F;
CamShow2.YScale = 0F;
//
// CamShow1
//
CamShow1.AllowSelectDefect = true;
CamShow1.BrushColor = null;
CamShow1.ImagePath = "";
mat2.IsEnabledDispose = true;
CamShow1.ImaMAt = mat2;
CamShow1.ImgData = null;
CamShow1.Location = new Point(14, 6);
CamShow1.MoveStep = 5F;
CamShow1.Name = "CamShow1";
CamShow1.Route = 0D;
CamShow1.Scale = 1D;
CamShow1.Size = new Size(546, 293);
CamShow1.TabIndex = 20;
CamShow1.WholeScale = 0F;
CamShow1.XMove = 0F;
CamShow1.XScale = 0F;
CamShow1.YMove = 0F;
CamShow1.YScale = 0F;
//
// groupBox3
//
groupBox3.Controls.Add(SnapshotCam2);
groupBox3.Controls.Add(button3);
groupBox3.Controls.Add(bnSetParam2);
groupBox3.Controls.Add(label5);
groupBox3.Controls.Add(Cam2OpenBtn);
groupBox3.Controls.Add(bnGetParam2);
groupBox3.Controls.Add(tbGain2);
groupBox3.Controls.Add(tbExposure2);
groupBox3.Controls.Add(label7);
groupBox3.Controls.Add(label8);
groupBox3.Location = new Point(566, 322);
groupBox3.Name = "groupBox3";
groupBox3.Size = new Size(300, 174);
groupBox3.TabIndex = 19;
groupBox3.TabStop = false;
groupBox3.Text = "参数";
//
// SnapshotCam2
//
SnapshotCam2.Location = new Point(200, 143);
SnapshotCam2.Name = "SnapshotCam2";
SnapshotCam2.Size = new Size(75, 23);
SnapshotCam2.TabIndex = 9;
SnapshotCam2.Text = "拍照";
SnapshotCam2.UseVisualStyleBackColor = true;
SnapshotCam2.Click += SnapshotCam2_Click_1;
//
// button3
//
button3.Location = new Point(200, 91);
button3.Name = "button3";
button3.Size = new Size(75, 23);
button3.TabIndex = 8;
button3.Text = "关闭";
button3.UseVisualStyleBackColor = true;
//
// bnSetParam2
//
bnSetParam2.Enabled = false;
bnSetParam2.Location = new Point(97, 135);
bnSetParam2.Name = "bnSetParam2";
bnSetParam2.Size = new Size(75, 23);
bnSetParam2.TabIndex = 7;
bnSetParam2.Text = "设置参数";
bnSetParam2.UseVisualStyleBackColor = true;
//
// label5
//
label5.AutoSize = true;
label5.Location = new Point(200, 19);
label5.Name = "label5";
label5.Size = new Size(56, 17);
label5.TabIndex = 2;
label5.Text = "链接相机";
//
// Cam2OpenBtn
//
Cam2OpenBtn.Location = new Point(200, 44);
Cam2OpenBtn.Name = "Cam2OpenBtn";
Cam2OpenBtn.Size = new Size(75, 23);
Cam2OpenBtn.TabIndex = 1;
Cam2OpenBtn.Text = "开启";
Cam2OpenBtn.UseVisualStyleBackColor = true;
Cam2OpenBtn.Click += Cam2OpenBtn_Click_1;
//
// bnGetParam2
//
bnGetParam2.Location = new Point(12, 135);
bnGetParam2.Name = "bnGetParam2";
bnGetParam2.Size = new Size(75, 23);
bnGetParam2.TabIndex = 6;
bnGetParam2.Text = "获取参数";
bnGetParam2.UseVisualStyleBackColor = true;
bnGetParam2.Click += bnGetParam2_Click_1;
//
// tbGain2
//
tbGain2.Location = new Point(72, 57);
tbGain2.Name = "tbGain2";
tbGain2.Size = new Size(100, 23);
tbGain2.TabIndex = 4;
//
// tbExposure2
//
tbExposure2.Location = new Point(72, 23);
tbExposure2.Name = "tbExposure2";
tbExposure2.Size = new Size(100, 23);
tbExposure2.TabIndex = 3;
//
// label7
//
label7.AutoSize = true;
label7.Location = new Point(12, 60);
label7.Name = "label7";
label7.Size = new Size(32, 17);
label7.TabIndex = 1;
label7.Text = "增益";
//
// label8
//
label8.AutoSize = true;
label8.Location = new Point(12, 25);
label8.Name = "label8";
label8.Size = new Size(32, 17);
label8.TabIndex = 0;
label8.Text = "曝光";
//
// groupBox1
//
groupBox1.Controls.Add(SnapshotCam1);
groupBox1.Controls.Add(button2);
groupBox1.Controls.Add(bnSetParam);
groupBox1.Controls.Add(label1);
groupBox1.Controls.Add(Cam1OpenBtn);
groupBox1.Controls.Add(bnGetParam);
groupBox1.Controls.Add(tbGain);
groupBox1.Controls.Add(tbExposure);
groupBox1.Controls.Add(label2);
groupBox1.Controls.Add(label4);
groupBox1.Location = new Point(8, 311);
groupBox1.Name = "groupBox1";
groupBox1.Size = new Size(300, 174);
groupBox1.TabIndex = 17;
groupBox1.TabStop = false;
groupBox1.Text = "参数";
//
// SnapshotCam1
//
SnapshotCam1.Location = new Point(200, 143);
SnapshotCam1.Name = "SnapshotCam1";
SnapshotCam1.Size = new Size(75, 23);
SnapshotCam1.TabIndex = 9;
SnapshotCam1.Text = "拍照";
SnapshotCam1.UseVisualStyleBackColor = true;
SnapshotCam1.Click += SnapshotCam1_Click;
//
// button2
//
button2.Location = new Point(200, 91);
button2.Name = "button2";
button2.Size = new Size(75, 23);
button2.TabIndex = 8;
button2.Text = "关闭";
button2.UseVisualStyleBackColor = true;
button2.Click += button2_Click;
//
// bnSetParam
//
bnSetParam.Enabled = false;
bnSetParam.Location = new Point(97, 135);
bnSetParam.Name = "bnSetParam";
bnSetParam.Size = new Size(75, 23);
bnSetParam.TabIndex = 7;
bnSetParam.Text = "设置参数";
bnSetParam.UseVisualStyleBackColor = true;
bnSetParam.Click += bnSetParam_Click;
//
// label1
//
label1.AutoSize = true;
label1.Location = new Point(200, 19);
label1.Name = "label1";
label1.Size = new Size(56, 17);
label1.TabIndex = 2;
label1.Text = "链接相机";
//
// Cam1OpenBtn
//
Cam1OpenBtn.Location = new Point(200, 44);
Cam1OpenBtn.Name = "Cam1OpenBtn";
Cam1OpenBtn.Size = new Size(75, 23);
Cam1OpenBtn.TabIndex = 1;
Cam1OpenBtn.Text = "开启";
Cam1OpenBtn.UseVisualStyleBackColor = true;
Cam1OpenBtn.Click += CamOpenBtn_Click;
//
// bnGetParam
//
bnGetParam.Location = new Point(12, 135);
bnGetParam.Name = "bnGetParam";
bnGetParam.Size = new Size(75, 23);
bnGetParam.TabIndex = 6;
bnGetParam.Text = "获取参数";
bnGetParam.UseVisualStyleBackColor = true;
bnGetParam.Click += bnGetParam_Click;
//
// tbGain
//
tbGain.Location = new Point(72, 57);
tbGain.Name = "tbGain";
tbGain.Size = new Size(100, 23);
tbGain.TabIndex = 4;
//
// tbExposure
//
tbExposure.Location = new Point(72, 23);
tbExposure.Name = "tbExposure";
tbExposure.Size = new Size(100, 23);
tbExposure.TabIndex = 3;
//
// label2
//
label2.AutoSize = true;
label2.Location = new Point(12, 60);
label2.Name = "label2";
label2.Size = new Size(32, 17);
label2.TabIndex = 1;
label2.Text = "增益";
//
// label4
//
label4.AutoSize = true;
label4.Location = new Point(12, 25);
label4.Name = "label4";
label4.Size = new Size(32, 17);
label4.TabIndex = 0;
label4.Text = "曝光";
//
// tabControl1
//
tabControl1.Controls.Add(tabPage1);
tabControl1.Controls.Add(tabPage2);
tabControl1.Controls.Add(tabPage5);
tabControl1.Controls.Add(tabPage3);
tabControl1.Dock = DockStyle.Top;
tabControl1.Location = new Point(0, 0);
tabControl1.Name = "tabControl1";
tabControl1.SelectedIndex = 0;
tabControl1.Size = new Size(1284, 795);
tabControl1.TabIndex = 0;
//
// tabPage5
//
tabPage5.Controls.Add(panel4);
tabPage5.Location = new Point(4, 26);
tabPage5.Name = "tabPage5";
tabPage5.Size = new Size(1276, 765);
tabPage5.TabIndex = 3;
tabPage5.Text = "流程";
tabPage5.UseVisualStyleBackColor = true;
//
// panel4
//
panel4.Controls.Add(panel5);
panel4.Dock = DockStyle.Fill;
panel4.Location = new Point(0, 0);
panel4.Name = "panel4";
panel4.Size = new Size(1276, 765);
panel4.TabIndex = 0;
//
// panel5
//
panel5.Controls.Add(DefetShow5);
panel5.Controls.Add(panel8);
panel5.Controls.Add(panel6);
panel5.Dock = DockStyle.Top;
panel5.Location = new Point(0, 0);
panel5.Name = "panel5";
panel5.Size = new Size(1276, 762);
panel5.TabIndex = 0;
//
// DefetShow5
//
DefetShow5.AllowSelectDefect = true;
DefetShow5.BrushColor = null;
DefetShow5.ImagePath = "";
mat3.IsEnabledDispose = true;
DefetShow5.ImaMAt = mat3;
DefetShow5.ImgData = null;
DefetShow5.Location = new Point(853, 464);
DefetShow5.MoveStep = 5F;
DefetShow5.Name = "DefetShow5";
DefetShow5.Route = 0D;
DefetShow5.Scale = 1D;
DefetShow5.Size = new Size(254, 196);
DefetShow5.TabIndex = 10;
DefetShow5.WholeScale = 0F;
DefetShow5.XMove = 0F;
DefetShow5.XScale = 0F;
DefetShow5.YMove = 0F;
DefetShow5.YScale = 0F;
//
// panel8
//
panel8.Controls.Add(RefeshData);
panel8.Controls.Add();
panel8.Controls.Add(OKOrNGShow);
panel8.Controls.Add(OKDNum);
panel8.Controls.Add(label20);
panel8.Controls.Add(NGDNum);
panel8.Controls.Add(label19);
panel8.Controls.Add(AllDSum);
panel8.Controls.Add(label18);
panel8.Controls.Add(InsertSqlBtn);
panel8.Controls.Add(StartDecBtn);
panel8.Controls.Add(ScanDevList);
panel8.Controls.Add(DevNameCombo);
panel8.Controls.Add(InitMachine);
panel8.Location = new Point(853, 0);
panel8.Name = "panel8";
panel8.Size = new Size(440, 458);
panel8.TabIndex = 2;
panel8.Paint += panel8_Paint;
//
// RefeshData
//
RefeshData.Location = new Point(24, 340);
RefeshData.Name = "RefeshData";
RefeshData.Size = new Size(94, 43);
RefeshData.TabIndex = 13;
RefeshData.Text = "刷新";
RefeshData.UseVisualStyleBackColor = true;
RefeshData.Click += RefeshData_Click;
//
// 实时显示
//
.AutoSize = true;
.Location = new Point(326, 175);
.Name = "实时显示";
.Size = new Size(56, 17);
.TabIndex = 12;
.Text = "实时显示";
//
// OKOrNGShow
//
OKOrNGShow.Location = new Point(254, 204);
OKOrNGShow.Name = "OKOrNGShow";
OKOrNGShow.Size = new Size(183, 179);
OKOrNGShow.SizeMode = PictureBoxSizeMode.CenterImage;
OKOrNGShow.TabIndex = 11;
OKOrNGShow.TabStop = false;
//
// OKDNum
//
OKDNum.Location = new Point(125, 296);
OKDNum.Name = "OKDNum";
OKDNum.ReadOnly = true;
OKDNum.Size = new Size(100, 23);
OKDNum.TabIndex = 10;
//
// label20
//
label20.AutoSize = true;
label20.Location = new Point(49, 300);
label20.Name = "label20";
label20.Size = new Size(50, 17);
label20.TabIndex = 9;
label20.Text = "OK个数";
//
// NGDNum
//
NGDNum.Location = new Point(125, 249);
NGDNum.Name = "NGDNum";
NGDNum.ReadOnly = true;
NGDNum.Size = new Size(100, 23);
NGDNum.TabIndex = 8;
//
// label19
//
label19.AutoSize = true;
label19.Location = new Point(49, 253);
label19.Name = "label19";
label19.Size = new Size(51, 17);
label19.TabIndex = 7;
label19.Text = "NG个数";
//
// AllDSum
//
AllDSum.Location = new Point(125, 204);
AllDSum.Name = "AllDSum";
AllDSum.ReadOnly = true;
AllDSum.Size = new Size(100, 23);
AllDSum.TabIndex = 6;
//
// label18
//
label18.AutoSize = true;
label18.Location = new Point(49, 208);
label18.Name = "label18";
label18.Size = new Size(44, 17);
label18.TabIndex = 5;
label18.Text = "总个数";
//
// InsertSqlBtn
//
InsertSqlBtn.Location = new Point(54, 56);
InsertSqlBtn.Name = "InsertSqlBtn";
InsertSqlBtn.Size = new Size(92, 48);
InsertSqlBtn.TabIndex = 4;
InsertSqlBtn.Text = "型号录入";
InsertSqlBtn.UseVisualStyleBackColor = true;
InsertSqlBtn.Visible = false;
InsertSqlBtn.Click += InsertSqlBtn_Click;
//
// StartDecBtn
//
StartDecBtn.Location = new Point(160, 127);
StartDecBtn.Name = "StartDecBtn";
StartDecBtn.Size = new Size(94, 43);
StartDecBtn.TabIndex = 3;
StartDecBtn.Text = "开启检测";
StartDecBtn.UseVisualStyleBackColor = true;
StartDecBtn.Click += StartDecBtn_Click;
//
// ScanDevList
//
ScanDevList.Location = new Point(272, 25);
ScanDevList.Name = "ScanDevList";
ScanDevList.Size = new Size(75, 23);
ScanDevList.TabIndex = 2;
ScanDevList.Text = "Scan";
ScanDevList.UseVisualStyleBackColor = true;
ScanDevList.Click += ScanDevList_Click;
//
// DevNameCombo
//
DevNameCombo.FormattingEnabled = true;
DevNameCombo.Location = new Point(54, 25);
DevNameCombo.Name = "DevNameCombo";
DevNameCombo.Size = new Size(200, 25);
DevNameCombo.TabIndex = 1;
//
// InitMachine
//
InitMachine.Location = new Point(54, 127);
InitMachine.Name = "InitMachine";
InitMachine.Size = new Size(94, 43);
InitMachine.TabIndex = 0;
InitMachine.Text = "初始化设备";
InitMachine.UseVisualStyleBackColor = true;
InitMachine.Click += InitMachine_Click;
//
// panel6
//
panel6.Controls.Add(groupBox2);
panel6.Location = new Point(0, 0);
panel6.Name = "panel6";
panel6.Size = new Size(847, 759);
panel6.TabIndex = 1;
//
// groupBox2
//
groupBox2.AutoSize = true;
groupBox2.Controls.Add(DefetShow4);
groupBox2.Controls.Add(DefetShow3);
groupBox2.Controls.Add(DefetShow2);
groupBox2.Controls.Add(originMat2Show);
groupBox2.Controls.Add(DefetShow1);
groupBox2.Controls.Add(ResultMatShow2);
groupBox2.Controls.Add(originMatShow2);
groupBox2.Controls.Add(originMatShow);
groupBox2.Controls.Add(ResultMatShow);
groupBox2.Location = new Point(8, 4);
groupBox2.Name = "groupBox2";
groupBox2.Size = new Size(885, 768);
groupBox2.TabIndex = 0;
groupBox2.TabStop = false;
groupBox2.Text = "图片";
groupBox2.Enter += groupBox2_Enter;
//
// DefetShow4
//
DefetShow4.AllowSelectDefect = true;
DefetShow4.BrushColor = null;
DefetShow4.ImagePath = "";
mat4.IsEnabledDispose = true;
DefetShow4.ImaMAt = mat4;
DefetShow4.ImgData = null;
DefetShow4.Location = new Point(574, 460);
DefetShow4.MoveStep = 5F;
DefetShow4.Name = "DefetShow4";
DefetShow4.Route = 0D;
DefetShow4.Scale = 1D;
DefetShow4.Size = new Size(265, 196);
DefetShow4.TabIndex = 11;
DefetShow4.WholeScale = 0F;
DefetShow4.XMove = 0F;
DefetShow4.XScale = 0F;
DefetShow4.YMove = 0F;
DefetShow4.YScale = 0F;
//
// DefetShow3
//
DefetShow3.AllowSelectDefect = true;
DefetShow3.BrushColor = null;
DefetShow3.ImagePath = "";
mat5.IsEnabledDispose = true;
DefetShow3.ImaMAt = mat5;
DefetShow3.ImgData = null;
DefetShow3.Location = new Point(303, 460);
DefetShow3.MoveStep = 5F;
DefetShow3.Name = "DefetShow3";
DefetShow3.Route = 0D;
DefetShow3.Scale = 1D;
DefetShow3.Size = new Size(265, 196);
DefetShow3.TabIndex = 10;
DefetShow3.WholeScale = 0F;
DefetShow3.XMove = 0F;
DefetShow3.XScale = 0F;
DefetShow3.YMove = 0F;
DefetShow3.YScale = 0F;
//
// DefetShow2
//
DefetShow2.AllowSelectDefect = true;
DefetShow2.BrushColor = null;
DefetShow2.ImagePath = "";
mat6.IsEnabledDispose = true;
DefetShow2.ImaMAt = mat6;
DefetShow2.ImgData = null;
DefetShow2.Location = new Point(6, 460);
DefetShow2.MoveStep = 5F;
DefetShow2.Name = "DefetShow2";
DefetShow2.Route = 0D;
DefetShow2.Scale = 1D;
DefetShow2.Size = new Size(285, 196);
DefetShow2.TabIndex = 9;
DefetShow2.WholeScale = 0F;
DefetShow2.XMove = 0F;
DefetShow2.XScale = 0F;
DefetShow2.YMove = 0F;
DefetShow2.YScale = 0F;
//
// originMat2Show
//
originMat2Show.Location = new Point(574, 21);
originMat2Show.Name = "originMat2Show";
originMat2Show.Size = new Size(271, 213);
originMat2Show.SizeMode = PictureBoxSizeMode.StretchImage;
originMat2Show.TabIndex = 8;
originMat2Show.TabStop = false;
//
// DefetShow1
//
DefetShow1.AllowSelectDefect = true;
DefetShow1.BrushColor = null;
DefetShow1.ImagePath = "";
mat7.IsEnabledDispose = true;
DefetShow1.ImaMAt = mat7;
DefetShow1.ImgData = null;
DefetShow1.Location = new Point(574, 245);
DefetShow1.MoveStep = 5F;
DefetShow1.Name = "DefetShow1";
DefetShow1.Route = 0D;
DefetShow1.Scale = 1D;
DefetShow1.Size = new Size(262, 209);
DefetShow1.TabIndex = 7;
DefetShow1.WholeScale = 0F;
DefetShow1.XMove = 0F;
DefetShow1.XScale = 0F;
DefetShow1.YMove = 0F;
DefetShow1.YScale = 0F;
//
// ResultMatShow2
//
ResultMatShow2.Location = new Point(297, 241);
ResultMatShow2.Name = "ResultMatShow2";
ResultMatShow2.Size = new Size(271, 213);
ResultMatShow2.SizeMode = PictureBoxSizeMode.StretchImage;
ResultMatShow2.TabIndex = 5;
ResultMatShow2.TabStop = false;
//
// originMatShow2
//
originMatShow2.Location = new Point(6, 241);
originMatShow2.Name = "originMatShow2";
originMatShow2.Size = new Size(285, 213);
originMatShow2.SizeMode = PictureBoxSizeMode.StretchImage;
originMatShow2.TabIndex = 4;
originMatShow2.TabStop = false;
//
// originMatShow
//
originMatShow.Location = new Point(6, 22);
originMatShow.Name = "originMatShow";
originMatShow.Size = new Size(285, 213);
originMatShow.SizeMode = PictureBoxSizeMode.StretchImage;
originMatShow.TabIndex = 3;
originMatShow.TabStop = false;
//
// ResultMatShow
//
ResultMatShow.Location = new Point(297, 22);
ResultMatShow.Name = "ResultMatShow";
ResultMatShow.Size = new Size(271, 213);
ResultMatShow.SizeMode = PictureBoxSizeMode.StretchImage;
ResultMatShow.TabIndex = 2;
ResultMatShow.TabStop = false;
//
// tabPage3
//
tabPage3.Controls.Add(panel2);
tabPage3.Location = new Point(4, 26);
tabPage3.Name = "tabPage3";
tabPage3.Size = new Size(1276, 765);
tabPage3.TabIndex = 4;
tabPage3.Text = "录入新型号";
tabPage3.UseVisualStyleBackColor = true;
//
// panel2
//
panel2.Controls.Add(WhiteBanCbx);
panel2.Controls.Add(label33);
panel2.Controls.Add(label28);
panel2.Controls.Add(openModelBtn);
panel2.Controls.Add(modelChangeCbx);
panel2.Controls.Add(label34);
panel2.Controls.Add(button4);
panel2.Controls.Add(OpenTwoDirBtn);
panel2.Controls.Add(OpenDirBtn);
panel2.Controls.Add(Cam2MatCbx);
panel2.Controls.Add(label22);
panel2.Controls.Add(Cam1MatCbx);
panel2.Controls.Add(label23);
panel2.Controls.Add(QueryoneBtn);
panel2.Controls.Add(DetectBArMatbox);
panel2.Controls.Add(label24);
panel2.Controls.Add(InsertBtn);
panel2.Controls.Add(moveTwoZbox);
panel2.Controls.Add(label25);
panel2.Controls.Add(moveTwoYbox);
panel2.Controls.Add(label26);
panel2.Controls.Add(moveTwoXbox);
panel2.Controls.Add(label27);
panel2.Controls.Add(moveZbox);
panel2.Controls.Add(moveYbox);
panel2.Controls.Add(label29);
panel2.Controls.Add(moveXbox);
panel2.Controls.Add(label30);
panel2.Controls.Add(OcrBarBox);
panel2.Controls.Add(label31);
panel2.Controls.Add(TypeBox);
panel2.Controls.Add(queryALLBtn);
panel2.Controls.Add(label32);
panel2.Controls.Add(InsertDataDgv);
panel2.Location = new Point(8, 3);
panel2.Name = "panel2";
panel2.Size = new Size(1260, 533);
panel2.TabIndex = 1;
panel2.Paint += panel2_Paint;
//
// WhiteBanCbx
//
WhiteBanCbx.AutoSize = true;
WhiteBanCbx.Checked = true;
WhiteBanCbx.CheckState = CheckState.Checked;
WhiteBanCbx.Location = new Point(577, 245);
WhiteBanCbx.Name = "WhiteBanCbx";
WhiteBanCbx.Size = new Size(39, 21);
WhiteBanCbx.TabIndex = 40;
WhiteBanCbx.Text = "是";
WhiteBanCbx.UseVisualStyleBackColor = true;
//
// label33
//
label33.AutoSize = true;
label33.Location = new Point(366, 246);
label33.Name = "label33";
label33.Size = new Size(140, 17);
label33.TabIndex = 39;
label33.Text = "面板第二块区域是白板吗";
//
// label28
//
label28.AutoSize = true;
label28.Location = new Point(18, 199);
label28.Name = "label28";
label28.Size = new Size(87, 17);
label28.TabIndex = 14;
label28.Text = "第一次拍照Z轴";
//
// openModelBtn
//
openModelBtn.Location = new Point(1042, 15);
openModelBtn.Name = "openModelBtn";
openModelBtn.Size = new Size(75, 23);
openModelBtn.TabIndex = 37;
openModelBtn.Text = "打开模型";
openModelBtn.UseVisualStyleBackColor = true;
openModelBtn.Click += openModelBtn_Click;
//
// modelChangeCbx
//
modelChangeCbx.Location = new Point(824, 15);
modelChangeCbx.Name = "modelChangeCbx";
modelChangeCbx.Size = new Size(188, 23);
modelChangeCbx.TabIndex = 34;
modelChangeCbx.Text = "D:\\Hisence\\config\\chinese.json";
//
// label34
//
label34.AutoSize = true;
label34.Location = new Point(718, 21);
label34.Name = "label34";
label34.Size = new Size(80, 17);
label34.TabIndex = 33;
label34.Text = "面板语言选择";
//
// button4
//
button4.Location = new Point(697, 110);
button4.Name = "button4";
button4.Size = new Size(75, 23);
button4.TabIndex = 32;
button4.Text = "打开文件";
button4.UseVisualStyleBackColor = true;
button4.Click += button4_Click_1;
//
// OpenTwoDirBtn
//
OpenTwoDirBtn.Location = new Point(697, 202);
OpenTwoDirBtn.Name = "OpenTwoDirBtn";
OpenTwoDirBtn.Size = new Size(75, 23);
OpenTwoDirBtn.TabIndex = 31;
OpenTwoDirBtn.Text = "打开文件";
OpenTwoDirBtn.UseVisualStyleBackColor = true;
OpenTwoDirBtn.Click += OpenTwoDirBtn_Click;
//
// OpenDirBtn
//
OpenDirBtn.Location = new Point(697, 154);
OpenDirBtn.Name = "OpenDirBtn";
OpenDirBtn.Size = new Size(75, 23);
OpenDirBtn.TabIndex = 30;
OpenDirBtn.Text = "打开文件";
OpenDirBtn.UseVisualStyleBackColor = true;
OpenDirBtn.Click += OpenDirBtn_Click;
//
// Cam2MatCbx
//
Cam2MatCbx.Location = new Point(473, 202);
Cam2MatCbx.Name = "Cam2MatCbx";
Cam2MatCbx.Size = new Size(218, 23);
Cam2MatCbx.TabIndex = 29;
Cam2MatCbx.Text = "D:\\Hisence\\类型\\Lp\\002jpg";
//
// label22
//
label22.AutoSize = true;
label22.Location = new Point(366, 202);
label22.Name = "label22";
label22.Size = new Size(80, 17);
label22.TabIndex = 28;
label22.Text = "面板第二张图";
//
// Cam1MatCbx
//
Cam1MatCbx.Location = new Point(473, 151);
Cam1MatCbx.Name = "Cam1MatCbx";
Cam1MatCbx.Size = new Size(218, 23);
Cam1MatCbx.TabIndex = 27;
Cam1MatCbx.Text = "D:\\Hisence\\类型\\Lp\\001.jpg";
//
// label23
//
label23.AutoSize = true;
label23.Location = new Point(367, 157);
label23.Name = "label23";
label23.Size = new Size(80, 17);
label23.TabIndex = 26;
label23.Text = "面板第一张图";
//
// QueryoneBtn
//
QueryoneBtn.Location = new Point(838, 222);
QueryoneBtn.Name = "QueryoneBtn";
QueryoneBtn.Size = new Size(115, 53);
QueryoneBtn.TabIndex = 25;
QueryoneBtn.Text = "条件查询";
QueryoneBtn.UseVisualStyleBackColor = true;
QueryoneBtn.Click += QueryoneBtn_Click;
//
// DetectBArMatbox
//
DetectBArMatbox.Location = new Point(472, 110);
DetectBArMatbox.Name = "DetectBArMatbox";
DetectBArMatbox.Size = new Size(219, 23);
DetectBArMatbox.TabIndex = 24;
DetectBArMatbox.Text = "D:\\Hisence\\类型\\Lp202452414231.jpg";
//
// label24
//
label24.AutoSize = true;
label24.Location = new Point(366, 116);
label24.Name = "label24";
label24.Size = new Size(56, 17);
label24.TabIndex = 23;
label24.Text = "条码录入";
//
// InsertBtn
//
InsertBtn.Location = new Point(838, 92);
InsertBtn.Name = "InsertBtn";
InsertBtn.Size = new Size(115, 47);
InsertBtn.TabIndex = 22;
InsertBtn.Text = "插入";
InsertBtn.UseVisualStyleBackColor = true;
InsertBtn.Click += InsertBtn_Click;
//
// moveTwoZbox
//
moveTwoZbox.Location = new Point(472, 59);
moveTwoZbox.Name = "moveTwoZbox";
moveTwoZbox.Size = new Size(219, 23);
moveTwoZbox.TabIndex = 21;
moveTwoZbox.Text = "0";
//
// label25
//
label25.AutoSize = true;
label25.Location = new Point(366, 65);
label25.Name = "label25";
label25.Size = new Size(87, 17);
label25.TabIndex = 20;
label25.Text = "第二次拍照Z轴";
//
// moveTwoYbox
//
moveTwoYbox.Location = new Point(472, 12);
moveTwoYbox.Name = "moveTwoYbox";
moveTwoYbox.Size = new Size(219, 23);
moveTwoYbox.TabIndex = 19;
moveTwoYbox.Text = "0";
//
// label26
//
label26.AutoSize = true;
label26.Location = new Point(366, 18);
label26.Name = "label26";
label26.Size = new Size(87, 17);
label26.TabIndex = 18;
label26.Text = "第二次拍照Y轴";
//
// moveTwoXbox
//
moveTwoXbox.Location = new Point(111, 243);
moveTwoXbox.Name = "moveTwoXbox";
moveTwoXbox.Size = new Size(224, 23);
moveTwoXbox.TabIndex = 17;
moveTwoXbox.Text = "54964";
//
// label27
//
label27.AutoSize = true;
label27.Location = new Point(16, 248);
label27.Name = "label27";
label27.Size = new Size(88, 17);
label27.TabIndex = 16;
label27.Text = "第二次拍照X轴";
//
// moveZbox
//
moveZbox.Location = new Point(111, 193);
moveZbox.Name = "moveZbox";
moveZbox.Size = new Size(224, 23);
moveZbox.TabIndex = 15;
moveZbox.Text = "0";
//
// moveYbox
//
moveYbox.Location = new Point(111, 146);
moveYbox.Name = "moveYbox";
moveYbox.Size = new Size(224, 23);
moveYbox.TabIndex = 13;
moveYbox.Text = "0";
//
// label29
//
label29.AutoSize = true;
label29.Location = new Point(17, 152);
label29.Name = "label29";
label29.Size = new Size(87, 17);
label29.TabIndex = 12;
label29.Text = "第一次拍照Y轴";
//
// moveXbox
//
moveXbox.Location = new Point(111, 104);
moveXbox.Name = "moveXbox";
moveXbox.Size = new Size(224, 23);
moveXbox.TabIndex = 11;
moveXbox.Text = "8974";
//
// label30
//
label30.AutoSize = true;
label30.Location = new Point(17, 110);
label30.Name = "label30";
label30.Size = new Size(88, 17);
label30.TabIndex = 10;
label30.Text = "第一次拍照X轴";
//
// OcrBarBox
//
OcrBarBox.Location = new Point(111, 54);
OcrBarBox.Name = "OcrBarBox";
OcrBarBox.Size = new Size(224, 23);
OcrBarBox.TabIndex = 5;
OcrBarBox.Text = "1234567890";
//
// label31
//
label31.AutoSize = true;
label31.Location = new Point(14, 60);
label31.Name = "label31";
label31.Size = new Size(32, 17);
label31.TabIndex = 4;
label31.Text = "条码";
//
// TypeBox
//
TypeBox.Location = new Point(111, 12);
TypeBox.Name = "TypeBox";
TypeBox.Size = new Size(224, 23);
TypeBox.TabIndex = 3;
TypeBox.Text = "1";
//
// queryALLBtn
//
queryALLBtn.Location = new Point(838, 157);
queryALLBtn.Name = "queryALLBtn";
queryALLBtn.Size = new Size(115, 59);
queryALLBtn.TabIndex = 2;
queryALLBtn.Text = "查询全部";
queryALLBtn.UseVisualStyleBackColor = true;
queryALLBtn.Click += queryALLBtn_Click;
//
// label32
//
label32.AutoSize = true;
label32.Location = new Point(14, 18);
label32.Name = "label32";
label32.Size = new Size(32, 17);
label32.TabIndex = 1;
label32.Text = "类型";
//
// InsertDataDgv
//
InsertDataDgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
InsertDataDgv.Location = new Point(12, 281);
InsertDataDgv.Name = "InsertDataDgv";
InsertDataDgv.RowTemplate.Height = 25;
InsertDataDgv.Size = new Size(1245, 219);
InsertDataDgv.TabIndex = 0;
//
// richTextBox1
//
richTextBox1.Dock = DockStyle.Bottom;
richTextBox1.Location = new Point(0, 801);
richTextBox1.Name = "richTextBox1";
richTextBox1.Size = new Size(1284, 176);
richTextBox1.TabIndex = 1;
richTextBox1.Text = "";
//
// contextMenuStrip1
//
contextMenuStrip1.Name = "contextMenuStrip1";
contextMenuStrip1.Size = new Size(61, 4);
//
// MainForm
//
AutoScaleDimensions = new SizeF(7F, 17F);
AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1284, 977);
Controls.Add(richTextBox1);
Controls.Add(tabControl1);
Icon = (Icon)resources.GetObject("$this.Icon");
Name = "MainForm";
Text = "海信视觉防差错";
Load += MainForm_Load;
tabPage2.ResumeLayout(false);
panel1.ResumeLayout(false);
panel1.PerformLayout();
groupBox5.ResumeLayout(false);
groupBox5.PerformLayout();
groupBox4.ResumeLayout(false);
groupBox4.PerformLayout();
ModeleShow.ResumeLayout(false);
tabPage1.ResumeLayout(false);
groupBox3.ResumeLayout(false);
groupBox3.PerformLayout();
groupBox1.ResumeLayout(false);
groupBox1.PerformLayout();
tabControl1.ResumeLayout(false);
tabPage5.ResumeLayout(false);
panel4.ResumeLayout(false);
panel5.ResumeLayout(false);
panel8.ResumeLayout(false);
panel8.PerformLayout();
((System.ComponentModel.ISupportInitialize)OKOrNGShow).EndInit();
panel6.ResumeLayout(false);
panel6.PerformLayout();
groupBox2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)originMat2Show).EndInit();
((System.ComponentModel.ISupportInitialize)ResultMatShow2).EndInit();
((System.ComponentModel.ISupportInitialize)originMatShow2).EndInit();
((System.ComponentModel.ISupportInitialize)originMatShow).EndInit();
((System.ComponentModel.ISupportInitialize)ResultMatShow).EndInit();
tabPage3.ResumeLayout(false);
panel2.ResumeLayout(false);
panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)InsertDataDgv).EndInit();
ResumeLayout(false);
}
#endregion
private TabPage tabPage2;
private TabPage tabPage1;
private Label label1;
private Button Cam1OpenBtn;
private TabControl tabControl1;
private TabPage tabPage5;
private Panel panel4;
private Panel panel7;
private Panel panel6;
private Panel panel5;
private Panel panel8;
private GroupBox groupBox2;
private PictureBox originMatShow;
private PictureBox ResultMatShow;
private GroupBox groupBox1;
private Button bnSetParam;
private Button bnGetParam;
private TextBox tbGain;
private TextBox tbExposure;
private Label label2;
private Label label4;
private Button button2;
private Button SnapshotCam1;
private Button InitMachine;
private TextBox readPLc;
private Button ConnectPLC;
private Button readAdress;
private TextBox showPLC;
private Panel panel1;
private Label label9;
private Label label10;
private Button wirteAdressBtn;
private TextBox PLCValue;
private TextBox WriteAdress;
private Label label6;
private Label label3;
private TextBox writePLCValue;
private GroupBox ModeleShow;
private Button PLCPowerON;
private Button PLCPostion;
private Button PLCDiskZero;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.Timer timer2;
private System.Windows.Forms.Timer timer3;
private System.Windows.Forms.Timer timer4;
private System.Windows.Forms.Timer timer5;
private System.Windows.Forms.Timer timer6;
private GroupBox groupBox4;
private Label XCurrentPostion;
private Label label14;
private Label label13;
private Label label12;
private Label label11;
private Label ZPostion;
private Label YPostion;
private Label XPostion;
private Button ScanDevList;
private ComboBox DevNameCombo;
private RichTextBox richTextBox1;
private TextBox txtSetValue;
private TextBox lnEditmiZOP;
private TextBox lnEditmiYOP;
private TextBox lnEditmiXOP;
private Label label17;
private TextBox lnEditmiZS;
private TextBox lnEditmiYS;
private TextBox lnEditmiXS;
private Label label16;
private TextBox lnEditmiZHS;
private TextBox lnEditmiYHS;
private TextBox lnEditmiXHS;
private Label label15;
private Button StartDecBtn;
private ContextMenuStrip contextMenuStrip1;
private Button InsertSqlBtn;
private PictureBox ResultMatShow2;
private PictureBox originMatShow2;
private TextBox OKDNum;
private Label label20;
private TextBox NGDNum;
private Label label19;
private TextBox AllDSum;
private Label label18;
private Label ;
private PictureBox OKOrNGShow;
private Button RefeshData;
private GroupBox groupBox3;
private Button SnapshotCam2;
private Button button3;
private Button bnSetParam2;
private Label label5;
private Button Cam2OpenBtn;
private Button bnGetParam2;
private TextBox tbGain2;
private TextBox tbExposure2;
private Label label7;
private Label label8;
private TextBox SetlnEditmiZOP;
private TextBox SetlnEditmiYOP;
private TextBox SetlnEditmiXOP;
private TextBox SetlnEditmiZH;
private TextBox SetlnEditmiYH;
private TextBox SetlnEditmiXH;
private Button SetAutoSpeed;
private Button SetHandleSpeed;
private RadioButton XZerorbx;
private System.ComponentModel.BackgroundWorker backgroundWorker1;
private RadioButton YZerorbx;
private RadioButton ZZerorbx;
private RadioButton XForwardrbx;
private RadioButton YForwardrbx;
private RadioButton ZForwardrbx;
private RadioButton XBackwardrbx;
private RadioButton YBackwardrbx;
private RadioButton ZBackwardrbx;
private GroupBox groupBox5;
private TextBox DistanceShow;
private Label label21;
private TabPage tabPage3;
private Panel panel2;
private Button button4;
private Button OpenTwoDirBtn;
private Button OpenDirBtn;
private TextBox Cam2MatCbx;
private Label label22;
private TextBox Cam1MatCbx;
private Label label23;
private Button QueryoneBtn;
private TextBox DetectBArMatbox;
private Label label24;
private Button InsertBtn;
private TextBox moveTwoZbox;
private Label label25;
private TextBox moveTwoYbox;
private Label label26;
private TextBox moveTwoXbox;
private Label label27;
private TextBox moveZbox;
private Label label28;
private TextBox moveYbox;
private Label label29;
private TextBox moveXbox;
private Label label30;
private TextBox OcrBarBox;
private Label label31;
private TextBox TypeBox;
private Button queryALLBtn;
private Label label32;
private DataGridView InsertDataDgv;
private Button openModelBtn;
private TextBox modelChangeCbx;
private Label label34;
private Button button1;
private Label label33;
private CheckBox WhiteBanCbx;
private XKRS.UI.Canvas DefetShow1;
private XKRS.UI.Canvas CamShow1;
private XKRS.UI.Canvas CamShow2;
private XKRS.UI.Canvas DefetShow5;
private XKRS.UI.Canvas DefetShow4;
private XKRS.UI.Canvas DefetShow3;
private XKRS.UI.Canvas DefetShow2;
private PictureBox originMat2Show;
}
}