2274 lines
87 KiB
C#
2274 lines
87 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();
|
|
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();
|
|
handStopBtn = new Button();
|
|
HandRuningBtn = new Button();
|
|
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();
|
|
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();
|
|
groupBox9 = new GroupBox();
|
|
label38 = new Label();
|
|
statusButton = new Button();
|
|
DevNameCombo = new ComboBox();
|
|
ScanDevList = new Button();
|
|
groupBox2 = new GroupBox();
|
|
pictureBox1 = new PictureBox();
|
|
canvas3 = new XKRS.UI.Canvas();
|
|
canvas2 = new XKRS.UI.Canvas();
|
|
canvas1 = new XKRS.UI.Canvas();
|
|
originMatShow = new PictureBox();
|
|
ResultMatShow = new PictureBox();
|
|
panel8 = new Panel();
|
|
groupBox8 = new GroupBox();
|
|
textBox4 = new TextBox();
|
|
label36 = new Label();
|
|
label26 = new Label();
|
|
label18 = new Label();
|
|
AllDSum = new TextBox();
|
|
label19 = new Label();
|
|
NGDNum = new TextBox();
|
|
OKOrNGShow = new PictureBox();
|
|
OKDNum = new TextBox();
|
|
label20 = new Label();
|
|
textBox1 = new TextBox();
|
|
label35 = new Label();
|
|
groupBox7 = new GroupBox();
|
|
InitMachine = new Button();
|
|
StartDecBtn = new Button();
|
|
CloseDecBtn = new Button();
|
|
groupBox6 = new GroupBox();
|
|
button6 = new Button();
|
|
button5 = new Button();
|
|
button4 = new Button();
|
|
textBox2 = new TextBox();
|
|
label37 = new Label();
|
|
textBox3 = new TextBox();
|
|
label25 = new Label();
|
|
label24 = new Label();
|
|
ScannerBox = new TextBox();
|
|
linkLabel1 = new LinkLabel();
|
|
tabPage3 = new TabPage();
|
|
panel2 = new Panel();
|
|
button1 = new Button();
|
|
contextMenuStrip1 = new ContextMenuStrip(components);
|
|
WhiteBanCbx = new CheckBox();
|
|
label33 = new Label();
|
|
label28 = new Label();
|
|
openModelBtn = new Button();
|
|
modelChangeCbx = new TextBox();
|
|
label34 = new Label();
|
|
OpenTwoDirBtn = new Button();
|
|
OpenDirBtn = new Button();
|
|
Cam2MatCbx = new TextBox();
|
|
label22 = new Label();
|
|
Cam1MatCbx = new TextBox();
|
|
label23 = new Label();
|
|
QueryoneBtn = new Button();
|
|
InsertBtn = new Button();
|
|
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();
|
|
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();
|
|
groupBox9.SuspendLayout();
|
|
groupBox2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)originMatShow).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)ResultMatShow).BeginInit();
|
|
panel8.SuspendLayout();
|
|
groupBox8.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)OKOrNGShow).BeginInit();
|
|
groupBox7.SuspendLayout();
|
|
groupBox6.SuspendLayout();
|
|
tabPage3.SuspendLayout();
|
|
panel2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)InsertDataDgv).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(panel1);
|
|
tabPage2.Location = new Point(4, 26);
|
|
tabPage2.Margin = new Padding(4, 2, 4, 2);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(4, 2, 4, 2);
|
|
tabPage2.Size = new Size(1276, 900);
|
|
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(0, 6);
|
|
panel1.Margin = new Padding(4, 2, 4, 2);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(1514, 921);
|
|
panel1.TabIndex = 4;
|
|
//
|
|
// groupBox5
|
|
//
|
|
groupBox5.Controls.Add(DistanceShow);
|
|
groupBox5.Controls.Add(label21);
|
|
groupBox5.Location = new Point(1036, 9);
|
|
groupBox5.Margin = new Padding(4, 2, 4, 2);
|
|
groupBox5.Name = "groupBox5";
|
|
groupBox5.Padding = new Padding(4, 2, 4, 2);
|
|
groupBox5.Size = new Size(458, 94);
|
|
groupBox5.TabIndex = 15;
|
|
groupBox5.TabStop = false;
|
|
groupBox5.Text = "实时显示";
|
|
//
|
|
// DistanceShow
|
|
//
|
|
DistanceShow.Location = new Point(111, 29);
|
|
DistanceShow.Margin = new Padding(4, 2, 4, 2);
|
|
DistanceShow.Name = "DistanceShow";
|
|
DistanceShow.ReadOnly = true;
|
|
DistanceShow.Size = new Size(127, 23);
|
|
DistanceShow.TabIndex = 10;
|
|
//
|
|
// label21
|
|
//
|
|
label21.AutoSize = true;
|
|
label21.Location = new Point(36, 31);
|
|
label21.Margin = new Padding(4, 0, 4, 0);
|
|
label21.Name = "label21";
|
|
label21.Size = new Size(36, 17);
|
|
label21.TabIndex = 0;
|
|
label21.Text = "测距";
|
|
//
|
|
// txtSetValue
|
|
//
|
|
txtSetValue.Location = new Point(738, 73);
|
|
txtSetValue.Margin = new Padding(4, 2, 4, 2);
|
|
txtSetValue.Name = "txtSetValue";
|
|
txtSetValue.Size = new Size(251, 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(622, 101);
|
|
groupBox4.Margin = new Padding(4, 2, 4, 2);
|
|
groupBox4.Name = "groupBox4";
|
|
groupBox4.Padding = new Padding(4, 2, 4, 2);
|
|
groupBox4.Size = new Size(880, 351);
|
|
groupBox4.TabIndex = 13;
|
|
groupBox4.TabStop = false;
|
|
groupBox4.Text = "位置显示";
|
|
//
|
|
// SetAutoSpeed
|
|
//
|
|
SetAutoSpeed.Location = new Point(10, 296);
|
|
SetAutoSpeed.Margin = new Padding(4, 2, 4, 2);
|
|
SetAutoSpeed.Name = "SetAutoSpeed";
|
|
SetAutoSpeed.Size = new Size(113, 32);
|
|
SetAutoSpeed.TabIndex = 29;
|
|
SetAutoSpeed.Text = "设置自动速度";
|
|
SetAutoSpeed.UseVisualStyleBackColor = true;
|
|
SetAutoSpeed.Click += SetAutoSpeed_Click;
|
|
//
|
|
// SetHandleSpeed
|
|
//
|
|
SetHandleSpeed.Location = new Point(10, 242);
|
|
SetHandleSpeed.Margin = new Padding(4, 2, 4, 2);
|
|
SetHandleSpeed.Name = "SetHandleSpeed";
|
|
SetHandleSpeed.Size = new Size(113, 26);
|
|
SetHandleSpeed.TabIndex = 28;
|
|
SetHandleSpeed.Text = "设置手动速度";
|
|
SetHandleSpeed.UseVisualStyleBackColor = true;
|
|
SetHandleSpeed.Click += SetHandleSpeed_Click;
|
|
//
|
|
// SetlnEditmiZOP
|
|
//
|
|
SetlnEditmiZOP.Location = new Point(526, 296);
|
|
SetlnEditmiZOP.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiZOP.Name = "SetlnEditmiZOP";
|
|
SetlnEditmiZOP.Size = new Size(127, 23);
|
|
SetlnEditmiZOP.TabIndex = 27;
|
|
//
|
|
// SetlnEditmiYOP
|
|
//
|
|
SetlnEditmiYOP.Location = new Point(329, 296);
|
|
SetlnEditmiYOP.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiYOP.Name = "SetlnEditmiYOP";
|
|
SetlnEditmiYOP.Size = new Size(127, 23);
|
|
SetlnEditmiYOP.TabIndex = 26;
|
|
//
|
|
// SetlnEditmiXOP
|
|
//
|
|
SetlnEditmiXOP.Location = new Point(138, 296);
|
|
SetlnEditmiXOP.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiXOP.Name = "SetlnEditmiXOP";
|
|
SetlnEditmiXOP.Size = new Size(127, 23);
|
|
SetlnEditmiXOP.TabIndex = 25;
|
|
//
|
|
// SetlnEditmiZH
|
|
//
|
|
SetlnEditmiZH.Location = new Point(526, 242);
|
|
SetlnEditmiZH.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiZH.Name = "SetlnEditmiZH";
|
|
SetlnEditmiZH.Size = new Size(127, 23);
|
|
SetlnEditmiZH.TabIndex = 23;
|
|
//
|
|
// SetlnEditmiYH
|
|
//
|
|
SetlnEditmiYH.Location = new Point(329, 242);
|
|
SetlnEditmiYH.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiYH.Name = "SetlnEditmiYH";
|
|
SetlnEditmiYH.Size = new Size(127, 23);
|
|
SetlnEditmiYH.TabIndex = 22;
|
|
//
|
|
// SetlnEditmiXH
|
|
//
|
|
SetlnEditmiXH.Location = new Point(138, 242);
|
|
SetlnEditmiXH.Margin = new Padding(4, 2, 4, 2);
|
|
SetlnEditmiXH.Name = "SetlnEditmiXH";
|
|
SetlnEditmiXH.Size = new Size(127, 23);
|
|
SetlnEditmiXH.TabIndex = 21;
|
|
//
|
|
// lnEditmiZOP
|
|
//
|
|
lnEditmiZOP.Location = new Point(526, 189);
|
|
lnEditmiZOP.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiZOP.Name = "lnEditmiZOP";
|
|
lnEditmiZOP.Size = new Size(127, 23);
|
|
lnEditmiZOP.TabIndex = 19;
|
|
//
|
|
// lnEditmiYOP
|
|
//
|
|
lnEditmiYOP.Location = new Point(329, 189);
|
|
lnEditmiYOP.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiYOP.Name = "lnEditmiYOP";
|
|
lnEditmiYOP.Size = new Size(127, 23);
|
|
lnEditmiYOP.TabIndex = 18;
|
|
//
|
|
// lnEditmiXOP
|
|
//
|
|
lnEditmiXOP.Location = new Point(138, 189);
|
|
lnEditmiXOP.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiXOP.Name = "lnEditmiXOP";
|
|
lnEditmiXOP.Size = new Size(127, 23);
|
|
lnEditmiXOP.TabIndex = 17;
|
|
//
|
|
// label17
|
|
//
|
|
label17.AutoSize = true;
|
|
label17.Location = new Point(41, 191);
|
|
label17.Margin = new Padding(4, 0, 4, 0);
|
|
label17.Name = "label17";
|
|
label17.Size = new Size(64, 17);
|
|
label17.TabIndex = 16;
|
|
label17.Text = "定位位置";
|
|
//
|
|
// lnEditmiZS
|
|
//
|
|
lnEditmiZS.Location = new Point(526, 136);
|
|
lnEditmiZS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiZS.Name = "lnEditmiZS";
|
|
lnEditmiZS.ReadOnly = true;
|
|
lnEditmiZS.Size = new Size(127, 23);
|
|
lnEditmiZS.TabIndex = 15;
|
|
//
|
|
// lnEditmiYS
|
|
//
|
|
lnEditmiYS.Location = new Point(329, 136);
|
|
lnEditmiYS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiYS.Name = "lnEditmiYS";
|
|
lnEditmiYS.ReadOnly = true;
|
|
lnEditmiYS.Size = new Size(127, 23);
|
|
lnEditmiYS.TabIndex = 14;
|
|
//
|
|
// lnEditmiXS
|
|
//
|
|
lnEditmiXS.Location = new Point(138, 136);
|
|
lnEditmiXS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiXS.Name = "lnEditmiXS";
|
|
lnEditmiXS.ReadOnly = true;
|
|
lnEditmiXS.Size = new Size(127, 23);
|
|
lnEditmiXS.TabIndex = 13;
|
|
//
|
|
// label16
|
|
//
|
|
label16.AutoSize = true;
|
|
label16.Location = new Point(10, 138);
|
|
label16.Margin = new Padding(4, 0, 4, 0);
|
|
label16.Name = "label16";
|
|
label16.Size = new Size(92, 17);
|
|
label16.TabIndex = 12;
|
|
label16.Text = "当前定位速度";
|
|
//
|
|
// lnEditmiZHS
|
|
//
|
|
lnEditmiZHS.Location = new Point(526, 82);
|
|
lnEditmiZHS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiZHS.Name = "lnEditmiZHS";
|
|
lnEditmiZHS.ReadOnly = true;
|
|
lnEditmiZHS.Size = new Size(127, 23);
|
|
lnEditmiZHS.TabIndex = 11;
|
|
//
|
|
// lnEditmiYHS
|
|
//
|
|
lnEditmiYHS.Location = new Point(329, 82);
|
|
lnEditmiYHS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiYHS.Name = "lnEditmiYHS";
|
|
lnEditmiYHS.ReadOnly = true;
|
|
lnEditmiYHS.Size = new Size(127, 23);
|
|
lnEditmiYHS.TabIndex = 10;
|
|
//
|
|
// lnEditmiXHS
|
|
//
|
|
lnEditmiXHS.Location = new Point(138, 82);
|
|
lnEditmiXHS.Margin = new Padding(4, 2, 4, 2);
|
|
lnEditmiXHS.Name = "lnEditmiXHS";
|
|
lnEditmiXHS.ReadOnly = true;
|
|
lnEditmiXHS.Size = new Size(127, 23);
|
|
lnEditmiXHS.TabIndex = 9;
|
|
//
|
|
// label15
|
|
//
|
|
label15.AutoSize = true;
|
|
label15.Location = new Point(10, 85);
|
|
label15.Margin = new Padding(4, 0, 4, 0);
|
|
label15.Name = "label15";
|
|
label15.Size = new Size(92, 17);
|
|
label15.TabIndex = 8;
|
|
label15.Text = "当前手动速度";
|
|
//
|
|
// ZPostion
|
|
//
|
|
ZPostion.AutoSize = true;
|
|
ZPostion.Location = new Point(580, 42);
|
|
ZPostion.Margin = new Padding(4, 0, 4, 0);
|
|
ZPostion.Name = "ZPostion";
|
|
ZPostion.Size = new Size(16, 17);
|
|
ZPostion.TabIndex = 7;
|
|
ZPostion.Text = "0";
|
|
//
|
|
// YPostion
|
|
//
|
|
YPostion.AutoSize = true;
|
|
YPostion.Location = new Point(386, 42);
|
|
YPostion.Margin = new Padding(4, 0, 4, 0);
|
|
YPostion.Name = "YPostion";
|
|
YPostion.Size = new Size(16, 17);
|
|
YPostion.TabIndex = 6;
|
|
YPostion.Text = "0";
|
|
//
|
|
// XPostion
|
|
//
|
|
XPostion.AutoSize = true;
|
|
XPostion.Location = new Point(185, 42);
|
|
XPostion.Margin = new Padding(4, 0, 4, 0);
|
|
XPostion.Name = "XPostion";
|
|
XPostion.Size = new Size(16, 17);
|
|
XPostion.TabIndex = 5;
|
|
XPostion.Text = "0";
|
|
//
|
|
// XCurrentPostion
|
|
//
|
|
XCurrentPostion.AutoSize = true;
|
|
XCurrentPostion.Location = new Point(170, 42);
|
|
XCurrentPostion.Margin = new Padding(4, 0, 4, 0);
|
|
XCurrentPostion.Name = "XCurrentPostion";
|
|
XCurrentPostion.Size = new Size(0, 17);
|
|
XCurrentPostion.TabIndex = 4;
|
|
//
|
|
// label14
|
|
//
|
|
label14.AutoSize = true;
|
|
label14.Location = new Point(580, 21);
|
|
label14.Margin = new Padding(4, 0, 4, 0);
|
|
label14.Name = "label14";
|
|
label14.Size = new Size(17, 17);
|
|
label14.TabIndex = 3;
|
|
label14.Text = "Z";
|
|
//
|
|
// label13
|
|
//
|
|
label13.AutoSize = true;
|
|
label13.Location = new Point(386, 18);
|
|
label13.Margin = new Padding(4, 0, 4, 0);
|
|
label13.Name = "label13";
|
|
label13.Size = new Size(17, 17);
|
|
label13.TabIndex = 2;
|
|
label13.Text = "Y";
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.Location = new Point(184, 18);
|
|
label12.Margin = new Padding(4, 0, 4, 0);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(17, 17);
|
|
label12.TabIndex = 1;
|
|
label12.Text = "X";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Location = new Point(41, 42);
|
|
label11.Margin = new Padding(4, 0, 4, 0);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(64, 17);
|
|
label11.TabIndex = 0;
|
|
label11.Text = "当前位置";
|
|
//
|
|
// ModeleShow
|
|
//
|
|
ModeleShow.Controls.Add(handStopBtn);
|
|
ModeleShow.Controls.Add(HandRuningBtn);
|
|
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(18, 101);
|
|
ModeleShow.Margin = new Padding(4, 2, 4, 2);
|
|
ModeleShow.Name = "ModeleShow";
|
|
ModeleShow.Padding = new Padding(4, 2, 4, 2);
|
|
ModeleShow.Size = new Size(596, 351);
|
|
ModeleShow.TabIndex = 12;
|
|
ModeleShow.TabStop = false;
|
|
ModeleShow.Text = "模组显示";
|
|
//
|
|
// handStopBtn
|
|
//
|
|
handStopBtn.Location = new Point(323, 250);
|
|
handStopBtn.Margin = new Padding(4, 2, 4, 2);
|
|
handStopBtn.Name = "handStopBtn";
|
|
handStopBtn.Size = new Size(107, 78);
|
|
handStopBtn.TabIndex = 23;
|
|
handStopBtn.Text = "手动阻塞";
|
|
handStopBtn.UseVisualStyleBackColor = true;
|
|
handStopBtn.Click += handStopBtn_Click;
|
|
//
|
|
// HandRuningBtn
|
|
//
|
|
HandRuningBtn.Location = new Point(466, 250);
|
|
HandRuningBtn.Margin = new Padding(4, 2, 4, 2);
|
|
HandRuningBtn.Name = "HandRuningBtn";
|
|
HandRuningBtn.Size = new Size(106, 78);
|
|
HandRuningBtn.TabIndex = 22;
|
|
HandRuningBtn.Text = "手动放行";
|
|
HandRuningBtn.UseVisualStyleBackColor = true;
|
|
HandRuningBtn.Click += HandRuningBtn_Click;
|
|
//
|
|
// ZBackwardrbx
|
|
//
|
|
ZBackwardrbx.Appearance = Appearance.Button;
|
|
ZBackwardrbx.Location = new Point(466, 169);
|
|
ZBackwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
ZBackwardrbx.Name = "ZBackwardrbx";
|
|
ZBackwardrbx.Size = new Size(106, 58);
|
|
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(323, 169);
|
|
YBackwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
YBackwardrbx.Name = "YBackwardrbx";
|
|
YBackwardrbx.Size = new Size(107, 58);
|
|
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(162, 169);
|
|
XBackwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
XBackwardrbx.Name = "XBackwardrbx";
|
|
XBackwardrbx.Size = new Size(116, 58);
|
|
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(466, 98);
|
|
ZForwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
ZForwardrbx.Name = "ZForwardrbx";
|
|
ZForwardrbx.Size = new Size(106, 58);
|
|
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(323, 97);
|
|
YForwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
YForwardrbx.Name = "YForwardrbx";
|
|
YForwardrbx.Size = new Size(107, 58);
|
|
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(162, 98);
|
|
XForwardrbx.Margin = new Padding(4, 2, 4, 2);
|
|
XForwardrbx.Name = "XForwardrbx";
|
|
XForwardrbx.Size = new Size(116, 58);
|
|
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(466, 21);
|
|
ZZerorbx.Margin = new Padding(4, 2, 4, 2);
|
|
ZZerorbx.Name = "ZZerorbx";
|
|
ZZerorbx.Size = new Size(106, 58);
|
|
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(323, 20);
|
|
YZerorbx.Margin = new Padding(4, 2, 4, 2);
|
|
YZerorbx.Name = "YZerorbx";
|
|
YZerorbx.Size = new Size(107, 59);
|
|
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(162, 21);
|
|
XZerorbx.Margin = new Padding(4, 2, 4, 2);
|
|
XZerorbx.Name = "XZerorbx";
|
|
XZerorbx.Size = new Size(116, 58);
|
|
XZerorbx.TabIndex = 13;
|
|
XZerorbx.Text = "X归零";
|
|
XZerorbx.TextAlign = ContentAlignment.MiddleCenter;
|
|
XZerorbx.UseVisualStyleBackColor = true;
|
|
XZerorbx.Click += XZerorbx_Click;
|
|
//
|
|
// PLCPostion
|
|
//
|
|
PLCPostion.Location = new Point(8, 250);
|
|
PLCPostion.Margin = new Padding(4, 2, 4, 2);
|
|
PLCPostion.Name = "PLCPostion";
|
|
PLCPostion.Size = new Size(99, 95);
|
|
PLCPostion.TabIndex = 2;
|
|
PLCPostion.Text = "定位";
|
|
PLCPostion.UseVisualStyleBackColor = true;
|
|
PLCPostion.Click += PLCPostion_Click;
|
|
//
|
|
// PLCDiskZero
|
|
//
|
|
PLCDiskZero.Location = new Point(8, 133);
|
|
PLCDiskZero.Margin = new Padding(4, 2, 4, 2);
|
|
PLCDiskZero.Name = "PLCDiskZero";
|
|
PLCDiskZero.Size = new Size(99, 95);
|
|
PLCDiskZero.TabIndex = 1;
|
|
PLCDiskZero.Text = "归零";
|
|
PLCDiskZero.UseVisualStyleBackColor = true;
|
|
PLCDiskZero.Click += PLCDiskZero_Click;
|
|
//
|
|
// PLCPowerON
|
|
//
|
|
PLCPowerON.Location = new Point(8, 21);
|
|
PLCPowerON.Margin = new Padding(4, 2, 4, 2);
|
|
PLCPowerON.Name = "PLCPowerON";
|
|
PLCPowerON.Size = new Size(99, 95);
|
|
PLCPowerON.TabIndex = 0;
|
|
PLCPowerON.Text = "使能ON";
|
|
PLCPowerON.UseVisualStyleBackColor = true;
|
|
PLCPowerON.Click += PLCPowerON_Click;
|
|
//
|
|
// writePLCValue
|
|
//
|
|
writePLCValue.Location = new Point(861, 9);
|
|
writePLCValue.Margin = new Padding(4, 2, 4, 2);
|
|
writePLCValue.Name = "writePLCValue";
|
|
writePLCValue.Size = new Size(127, 23);
|
|
writePLCValue.TabIndex = 11;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Location = new Point(514, 49);
|
|
label9.Margin = new Padding(4, 0, 4, 0);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(22, 17);
|
|
label9.TabIndex = 10;
|
|
label9.Text = "值";
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Location = new Point(514, 15);
|
|
label10.Margin = new Padding(4, 0, 4, 0);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(36, 17);
|
|
label10.TabIndex = 9;
|
|
label10.Text = "地址";
|
|
//
|
|
// wirteAdressBtn
|
|
//
|
|
wirteAdressBtn.Location = new Point(738, 13);
|
|
wirteAdressBtn.Margin = new Padding(4, 2, 4, 2);
|
|
wirteAdressBtn.Name = "wirteAdressBtn";
|
|
wirteAdressBtn.Size = new Size(99, 43);
|
|
wirteAdressBtn.TabIndex = 7;
|
|
wirteAdressBtn.Text = "写地址INT";
|
|
wirteAdressBtn.UseVisualStyleBackColor = true;
|
|
wirteAdressBtn.Click += wirteAdress_Click;
|
|
//
|
|
// PLCValue
|
|
//
|
|
PLCValue.Location = new Point(577, 43);
|
|
PLCValue.Margin = new Padding(4, 2, 4, 2);
|
|
PLCValue.Name = "PLCValue";
|
|
PLCValue.Size = new Size(127, 23);
|
|
PLCValue.TabIndex = 8;
|
|
//
|
|
// WriteAdress
|
|
//
|
|
WriteAdress.Location = new Point(577, 13);
|
|
WriteAdress.Margin = new Padding(4, 2, 4, 2);
|
|
WriteAdress.Name = "WriteAdress";
|
|
WriteAdress.Size = new Size(127, 23);
|
|
WriteAdress.TabIndex = 6;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Location = new Point(162, 51);
|
|
label6.Margin = new Padding(4, 0, 4, 0);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(22, 17);
|
|
label6.TabIndex = 5;
|
|
label6.Text = "值";
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(162, 18);
|
|
label3.Margin = new Padding(4, 0, 4, 0);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(36, 17);
|
|
label3.TabIndex = 4;
|
|
label3.Text = "地址";
|
|
//
|
|
// ConnectPLC
|
|
//
|
|
ConnectPLC.Location = new Point(18, 15);
|
|
ConnectPLC.Margin = new Padding(4, 2, 4, 2);
|
|
ConnectPLC.Name = "ConnectPLC";
|
|
ConnectPLC.Size = new Size(127, 53);
|
|
ConnectPLC.TabIndex = 0;
|
|
ConnectPLC.Text = "链接PLC";
|
|
ConnectPLC.UseVisualStyleBackColor = true;
|
|
ConnectPLC.Click += button4_Click;
|
|
//
|
|
// readAdress
|
|
//
|
|
readAdress.Location = new Point(386, 15);
|
|
readAdress.Margin = new Padding(4, 2, 4, 2);
|
|
readAdress.Name = "readAdress";
|
|
readAdress.Size = new Size(98, 41);
|
|
readAdress.TabIndex = 2;
|
|
readAdress.Text = "读地址INT";
|
|
readAdress.UseVisualStyleBackColor = true;
|
|
readAdress.Click += readAdress_Click;
|
|
//
|
|
// showPLC
|
|
//
|
|
showPLC.Location = new Point(225, 46);
|
|
showPLC.Margin = new Padding(4, 2, 4, 2);
|
|
showPLC.Name = "showPLC";
|
|
showPLC.Size = new Size(127, 23);
|
|
showPLC.TabIndex = 3;
|
|
//
|
|
// readPLc
|
|
//
|
|
readPLc.Location = new Point(225, 15);
|
|
readPLc.Margin = new Padding(4, 2, 4, 2);
|
|
readPLc.Name = "readPLc";
|
|
readPLc.Size = new Size(127, 23);
|
|
readPLc.TabIndex = 1;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(groupBox3);
|
|
tabPage1.Controls.Add(groupBox1);
|
|
tabPage1.Location = new Point(4, 26);
|
|
tabPage1.Margin = new Padding(4, 2, 4, 2);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(4, 2, 4, 2);
|
|
tabPage1.Size = new Size(1276, 900);
|
|
tabPage1.TabIndex = 0;
|
|
tabPage1.Text = "相机";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// 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(728, 303);
|
|
groupBox3.Margin = new Padding(4, 2, 4, 2);
|
|
groupBox3.Name = "groupBox3";
|
|
groupBox3.Padding = new Padding(4, 2, 4, 2);
|
|
groupBox3.Size = new Size(386, 163);
|
|
groupBox3.TabIndex = 19;
|
|
groupBox3.TabStop = false;
|
|
groupBox3.Text = "参数";
|
|
//
|
|
// SnapshotCam2
|
|
//
|
|
SnapshotCam2.Location = new Point(257, 135);
|
|
SnapshotCam2.Margin = new Padding(4, 2, 4, 2);
|
|
SnapshotCam2.Name = "SnapshotCam2";
|
|
SnapshotCam2.Size = new Size(96, 22);
|
|
SnapshotCam2.TabIndex = 9;
|
|
SnapshotCam2.Text = "拍照";
|
|
SnapshotCam2.UseVisualStyleBackColor = true;
|
|
SnapshotCam2.Click += SnapshotCam2_Click_1;
|
|
//
|
|
// button3
|
|
//
|
|
button3.Location = new Point(257, 86);
|
|
button3.Margin = new Padding(4, 2, 4, 2);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(96, 22);
|
|
button3.TabIndex = 8;
|
|
button3.Text = "关闭";
|
|
button3.UseVisualStyleBackColor = true;
|
|
//
|
|
// bnSetParam2
|
|
//
|
|
bnSetParam2.Enabled = false;
|
|
bnSetParam2.Location = new Point(125, 127);
|
|
bnSetParam2.Margin = new Padding(4, 2, 4, 2);
|
|
bnSetParam2.Name = "bnSetParam2";
|
|
bnSetParam2.Size = new Size(96, 22);
|
|
bnSetParam2.TabIndex = 7;
|
|
bnSetParam2.Text = "设置参数";
|
|
bnSetParam2.UseVisualStyleBackColor = true;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Location = new Point(257, 18);
|
|
label5.Margin = new Padding(4, 0, 4, 0);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(64, 17);
|
|
label5.TabIndex = 2;
|
|
label5.Text = "链接相机";
|
|
//
|
|
// Cam2OpenBtn
|
|
//
|
|
Cam2OpenBtn.Location = new Point(257, 41);
|
|
Cam2OpenBtn.Margin = new Padding(4, 2, 4, 2);
|
|
Cam2OpenBtn.Name = "Cam2OpenBtn";
|
|
Cam2OpenBtn.Size = new Size(96, 22);
|
|
Cam2OpenBtn.TabIndex = 1;
|
|
Cam2OpenBtn.Text = "开启";
|
|
Cam2OpenBtn.UseVisualStyleBackColor = true;
|
|
Cam2OpenBtn.Click += Cam2OpenBtn_Click_1;
|
|
//
|
|
// bnGetParam2
|
|
//
|
|
bnGetParam2.Location = new Point(15, 127);
|
|
bnGetParam2.Margin = new Padding(4, 2, 4, 2);
|
|
bnGetParam2.Name = "bnGetParam2";
|
|
bnGetParam2.Size = new Size(96, 22);
|
|
bnGetParam2.TabIndex = 6;
|
|
bnGetParam2.Text = "获取参数";
|
|
bnGetParam2.UseVisualStyleBackColor = true;
|
|
bnGetParam2.Click += bnGetParam2_Click_1;
|
|
//
|
|
// tbGain2
|
|
//
|
|
tbGain2.Location = new Point(93, 54);
|
|
tbGain2.Margin = new Padding(4, 2, 4, 2);
|
|
tbGain2.Name = "tbGain2";
|
|
tbGain2.Size = new Size(127, 23);
|
|
tbGain2.TabIndex = 4;
|
|
//
|
|
// tbExposure2
|
|
//
|
|
tbExposure2.Location = new Point(93, 22);
|
|
tbExposure2.Margin = new Padding(4, 2, 4, 2);
|
|
tbExposure2.Name = "tbExposure2";
|
|
tbExposure2.Size = new Size(127, 23);
|
|
tbExposure2.TabIndex = 3;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Location = new Point(15, 56);
|
|
label7.Margin = new Padding(4, 0, 4, 0);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(36, 17);
|
|
label7.TabIndex = 1;
|
|
label7.Text = "增益";
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Location = new Point(15, 24);
|
|
label8.Margin = new Padding(4, 0, 4, 0);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(36, 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(10, 293);
|
|
groupBox1.Margin = new Padding(4, 2, 4, 2);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Padding = new Padding(4, 2, 4, 2);
|
|
groupBox1.Size = new Size(386, 163);
|
|
groupBox1.TabIndex = 17;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "参数";
|
|
//
|
|
// SnapshotCam1
|
|
//
|
|
SnapshotCam1.Location = new Point(257, 135);
|
|
SnapshotCam1.Margin = new Padding(4, 2, 4, 2);
|
|
SnapshotCam1.Name = "SnapshotCam1";
|
|
SnapshotCam1.Size = new Size(96, 22);
|
|
SnapshotCam1.TabIndex = 9;
|
|
SnapshotCam1.Text = "拍照";
|
|
SnapshotCam1.UseVisualStyleBackColor = true;
|
|
SnapshotCam1.Click += SnapshotCam1_Click;
|
|
//
|
|
// button2
|
|
//
|
|
button2.Location = new Point(257, 86);
|
|
button2.Margin = new Padding(4, 2, 4, 2);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(96, 22);
|
|
button2.TabIndex = 8;
|
|
button2.Text = "关闭";
|
|
button2.UseVisualStyleBackColor = true;
|
|
button2.Click += button2_Click;
|
|
//
|
|
// bnSetParam
|
|
//
|
|
bnSetParam.Enabled = false;
|
|
bnSetParam.Location = new Point(125, 127);
|
|
bnSetParam.Margin = new Padding(4, 2, 4, 2);
|
|
bnSetParam.Name = "bnSetParam";
|
|
bnSetParam.Size = new Size(96, 22);
|
|
bnSetParam.TabIndex = 7;
|
|
bnSetParam.Text = "设置参数";
|
|
bnSetParam.UseVisualStyleBackColor = true;
|
|
bnSetParam.Click += bnSetParam_Click;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(257, 18);
|
|
label1.Margin = new Padding(4, 0, 4, 0);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(64, 17);
|
|
label1.TabIndex = 2;
|
|
label1.Text = "链接相机";
|
|
//
|
|
// Cam1OpenBtn
|
|
//
|
|
Cam1OpenBtn.Location = new Point(257, 41);
|
|
Cam1OpenBtn.Margin = new Padding(4, 2, 4, 2);
|
|
Cam1OpenBtn.Name = "Cam1OpenBtn";
|
|
Cam1OpenBtn.Size = new Size(96, 22);
|
|
Cam1OpenBtn.TabIndex = 1;
|
|
Cam1OpenBtn.Text = "开启";
|
|
Cam1OpenBtn.UseVisualStyleBackColor = true;
|
|
Cam1OpenBtn.Click += CamOpenBtn_Click;
|
|
//
|
|
// bnGetParam
|
|
//
|
|
bnGetParam.Location = new Point(15, 127);
|
|
bnGetParam.Margin = new Padding(4, 2, 4, 2);
|
|
bnGetParam.Name = "bnGetParam";
|
|
bnGetParam.Size = new Size(96, 22);
|
|
bnGetParam.TabIndex = 6;
|
|
bnGetParam.Text = "获取参数";
|
|
bnGetParam.UseVisualStyleBackColor = true;
|
|
bnGetParam.Click += bnGetParam_Click;
|
|
//
|
|
// tbGain
|
|
//
|
|
tbGain.Location = new Point(93, 54);
|
|
tbGain.Margin = new Padding(4, 2, 4, 2);
|
|
tbGain.Name = "tbGain";
|
|
tbGain.Size = new Size(127, 23);
|
|
tbGain.TabIndex = 4;
|
|
//
|
|
// tbExposure
|
|
//
|
|
tbExposure.Location = new Point(93, 22);
|
|
tbExposure.Margin = new Padding(4, 2, 4, 2);
|
|
tbExposure.Name = "tbExposure";
|
|
tbExposure.Size = new Size(127, 23);
|
|
tbExposure.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(15, 56);
|
|
label2.Margin = new Padding(4, 0, 4, 0);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(36, 17);
|
|
label2.TabIndex = 1;
|
|
label2.Text = "增益";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(15, 24);
|
|
label4.Margin = new Padding(4, 0, 4, 0);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(36, 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.Margin = new Padding(4, 2, 4, 2);
|
|
tabControl1.Name = "tabControl1";
|
|
tabControl1.SelectedIndex = 0;
|
|
tabControl1.Size = new Size(1284, 930);
|
|
tabControl1.TabIndex = 0;
|
|
tabControl1.SelectedIndexChanged += tabControl1_SelectedIndexChanged;
|
|
//
|
|
// tabPage5
|
|
//
|
|
tabPage5.Controls.Add(panel4);
|
|
tabPage5.Location = new Point(4, 26);
|
|
tabPage5.Margin = new Padding(4, 2, 4, 2);
|
|
tabPage5.Name = "tabPage5";
|
|
tabPage5.Size = new Size(1276, 900);
|
|
tabPage5.TabIndex = 3;
|
|
tabPage5.Text = "流程";
|
|
tabPage5.UseVisualStyleBackColor = true;
|
|
//
|
|
// panel4
|
|
//
|
|
panel4.Controls.Add(panel5);
|
|
panel4.Dock = DockStyle.Fill;
|
|
panel4.Location = new Point(0, 0);
|
|
panel4.Margin = new Padding(4, 2, 4, 2);
|
|
panel4.Name = "panel4";
|
|
panel4.Size = new Size(1276, 900);
|
|
panel4.TabIndex = 0;
|
|
//
|
|
// panel5
|
|
//
|
|
panel5.BackColor = SystemColors.Control;
|
|
panel5.Controls.Add(groupBox9);
|
|
panel5.Controls.Add(groupBox2);
|
|
panel5.Controls.Add(panel8);
|
|
panel5.Dock = DockStyle.Top;
|
|
panel5.Location = new Point(0, 0);
|
|
panel5.Margin = new Padding(4, 2, 4, 2);
|
|
panel5.Name = "panel5";
|
|
panel5.Size = new Size(1276, 820);
|
|
panel5.TabIndex = 0;
|
|
//
|
|
// groupBox9
|
|
//
|
|
groupBox9.Controls.Add(label38);
|
|
groupBox9.Controls.Add(statusButton);
|
|
groupBox9.Controls.Add(DevNameCombo);
|
|
groupBox9.Controls.Add(ScanDevList);
|
|
groupBox9.Location = new Point(8, 16);
|
|
groupBox9.Name = "groupBox9";
|
|
groupBox9.Size = new Size(658, 78);
|
|
groupBox9.TabIndex = 25;
|
|
groupBox9.TabStop = false;
|
|
groupBox9.Text = "设备状态";
|
|
groupBox9.Enter += groupBox9_Enter;
|
|
//
|
|
// label38
|
|
//
|
|
label38.AutoSize = true;
|
|
label38.Location = new Point(272, 36);
|
|
label38.Margin = new Padding(4, 0, 4, 0);
|
|
label38.Name = "label38";
|
|
label38.Size = new Size(64, 17);
|
|
label38.TabIndex = 26;
|
|
label38.Text = "设备状态";
|
|
label38.Click += label38_Click;
|
|
//
|
|
// statusButton
|
|
//
|
|
statusButton.Location = new Point(367, 22);
|
|
statusButton.Name = "statusButton";
|
|
statusButton.Size = new Size(98, 46);
|
|
statusButton.TabIndex = 3;
|
|
statusButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// DevNameCombo
|
|
//
|
|
DevNameCombo.FormattingEnabled = true;
|
|
DevNameCombo.Location = new Point(8, 33);
|
|
DevNameCombo.Margin = new Padding(4, 2, 4, 2);
|
|
DevNameCombo.Name = "DevNameCombo";
|
|
DevNameCombo.Size = new Size(161, 25);
|
|
DevNameCombo.TabIndex = 1;
|
|
//
|
|
// ScanDevList
|
|
//
|
|
ScanDevList.Location = new Point(557, 22);
|
|
ScanDevList.Margin = new Padding(4, 2, 4, 2);
|
|
ScanDevList.Name = "ScanDevList";
|
|
ScanDevList.Size = new Size(94, 46);
|
|
ScanDevList.TabIndex = 2;
|
|
ScanDevList.Text = "Scan";
|
|
ScanDevList.UseVisualStyleBackColor = true;
|
|
ScanDevList.Click += ScanDevList_Click;
|
|
//
|
|
// groupBox2
|
|
//
|
|
groupBox2.AutoSize = true;
|
|
groupBox2.Controls.Add(pictureBox1);
|
|
groupBox2.Controls.Add(canvas3);
|
|
groupBox2.Controls.Add(canvas2);
|
|
groupBox2.Controls.Add(canvas1);
|
|
groupBox2.Controls.Add(originMatShow);
|
|
groupBox2.Controls.Add(ResultMatShow);
|
|
groupBox2.Location = new Point(8, 120);
|
|
groupBox2.Margin = new Padding(4, 2, 4, 2);
|
|
groupBox2.Name = "groupBox2";
|
|
groupBox2.Padding = new Padding(4, 2, 4, 2);
|
|
groupBox2.Size = new Size(669, 694);
|
|
groupBox2.TabIndex = 0;
|
|
groupBox2.TabStop = false;
|
|
groupBox2.Text = "结果展示";
|
|
groupBox2.Enter += groupBox2_Enter;
|
|
//
|
|
// pictureBox1
|
|
//
|
|
pictureBox1.Location = new Point(367, 454);
|
|
pictureBox1.Margin = new Padding(4, 2, 4, 2);
|
|
pictureBox1.Name = "pictureBox1";
|
|
pictureBox1.Size = new Size(291, 202);
|
|
pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;
|
|
pictureBox1.TabIndex = 12;
|
|
pictureBox1.TabStop = false;
|
|
//
|
|
// canvas3
|
|
//
|
|
canvas3.AllowSelectDefect = true;
|
|
canvas3.BrushColor = null;
|
|
canvas3.ImagePath = "";
|
|
mat1.IsEnabledDispose = true;
|
|
canvas3.ImaMAt = mat1;
|
|
canvas3.ImgData = null;
|
|
canvas3.Location = new Point(8, 454);
|
|
canvas3.Margin = new Padding(5, 4, 5, 4);
|
|
canvas3.MoveStep = 5F;
|
|
canvas3.Name = "canvas3";
|
|
canvas3.Route = 0D;
|
|
canvas3.Scale = 1D;
|
|
canvas3.Size = new Size(280, 202);
|
|
canvas3.TabIndex = 6;
|
|
canvas3.WholeScale = 0F;
|
|
canvas3.XMove = 0F;
|
|
canvas3.XScale = 0F;
|
|
canvas3.YMove = 0F;
|
|
canvas3.YScale = 0F;
|
|
//
|
|
// canvas2
|
|
//
|
|
canvas2.AllowSelectDefect = true;
|
|
canvas2.BrushColor = null;
|
|
canvas2.ImagePath = "";
|
|
mat2.IsEnabledDispose = true;
|
|
canvas2.ImaMAt = mat2;
|
|
canvas2.ImgData = null;
|
|
canvas2.Location = new Point(367, 251);
|
|
canvas2.Margin = new Padding(5, 4, 5, 4);
|
|
canvas2.MoveStep = 5F;
|
|
canvas2.Name = "canvas2";
|
|
canvas2.Route = 0D;
|
|
canvas2.Scale = 1D;
|
|
canvas2.Size = new Size(288, 195);
|
|
canvas2.TabIndex = 5;
|
|
canvas2.WholeScale = 0F;
|
|
canvas2.XMove = 0F;
|
|
canvas2.XScale = 0F;
|
|
canvas2.YMove = 0F;
|
|
canvas2.YScale = 0F;
|
|
canvas2.Load += canvas2_Load;
|
|
//
|
|
// canvas1
|
|
//
|
|
canvas1.AllowSelectDefect = true;
|
|
canvas1.BrushColor = null;
|
|
canvas1.ImagePath = "";
|
|
mat3.IsEnabledDispose = true;
|
|
canvas1.ImaMAt = mat3;
|
|
canvas1.ImgData = null;
|
|
canvas1.Location = new Point(8, 248);
|
|
canvas1.Margin = new Padding(5, 4, 5, 4);
|
|
canvas1.MoveStep = 5F;
|
|
canvas1.Name = "canvas1";
|
|
canvas1.Route = 0D;
|
|
canvas1.Scale = 1D;
|
|
canvas1.Size = new Size(280, 198);
|
|
canvas1.TabIndex = 4;
|
|
canvas1.WholeScale = 0F;
|
|
canvas1.XMove = 0F;
|
|
canvas1.XScale = 0F;
|
|
canvas1.YMove = 0F;
|
|
canvas1.YScale = 0F;
|
|
canvas1.Load += canvas1_Load;
|
|
//
|
|
// originMatShow
|
|
//
|
|
originMatShow.Location = new Point(7, 31);
|
|
originMatShow.Margin = new Padding(4, 2, 4, 2);
|
|
originMatShow.Name = "originMatShow";
|
|
originMatShow.Size = new Size(280, 200);
|
|
originMatShow.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
originMatShow.TabIndex = 3;
|
|
originMatShow.TabStop = false;
|
|
//
|
|
// ResultMatShow
|
|
//
|
|
ResultMatShow.Location = new Point(367, 31);
|
|
ResultMatShow.Margin = new Padding(4, 2, 4, 2);
|
|
ResultMatShow.Name = "ResultMatShow";
|
|
ResultMatShow.Size = new Size(288, 200);
|
|
ResultMatShow.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
ResultMatShow.TabIndex = 2;
|
|
ResultMatShow.TabStop = false;
|
|
//
|
|
// panel8
|
|
//
|
|
panel8.Controls.Add(groupBox8);
|
|
panel8.Controls.Add(groupBox7);
|
|
panel8.Controls.Add(groupBox6);
|
|
panel8.Controls.Add(linkLabel1);
|
|
panel8.Location = new Point(673, 0);
|
|
panel8.Margin = new Padding(4, 2, 4, 2);
|
|
panel8.Name = "panel8";
|
|
panel8.Size = new Size(633, 819);
|
|
panel8.TabIndex = 2;
|
|
panel8.Paint += panel8_Paint;
|
|
//
|
|
// groupBox8
|
|
//
|
|
groupBox8.BackColor = SystemColors.Control;
|
|
groupBox8.Controls.Add(textBox4);
|
|
groupBox8.Controls.Add(label36);
|
|
groupBox8.Controls.Add(label26);
|
|
groupBox8.Controls.Add(label18);
|
|
groupBox8.Controls.Add(AllDSum);
|
|
groupBox8.Controls.Add(label19);
|
|
groupBox8.Controls.Add(NGDNum);
|
|
groupBox8.Controls.Add(OKOrNGShow);
|
|
groupBox8.Controls.Add(OKDNum);
|
|
groupBox8.Controls.Add(label20);
|
|
groupBox8.Controls.Add(textBox1);
|
|
groupBox8.Controls.Add(label35);
|
|
groupBox8.Location = new Point(11, 368);
|
|
groupBox8.Name = "groupBox8";
|
|
groupBox8.RightToLeft = RightToLeft.No;
|
|
groupBox8.Size = new Size(596, 420);
|
|
groupBox8.TabIndex = 24;
|
|
groupBox8.TabStop = false;
|
|
groupBox8.Text = "生产信息";
|
|
//
|
|
// textBox4
|
|
//
|
|
textBox4.Location = new Point(463, 93);
|
|
textBox4.Margin = new Padding(4, 2, 4, 2);
|
|
textBox4.Name = "textBox4";
|
|
textBox4.ReadOnly = true;
|
|
textBox4.Size = new Size(67, 23);
|
|
textBox4.TabIndex = 18;
|
|
//
|
|
// label36
|
|
//
|
|
label36.AutoSize = true;
|
|
label36.Location = new Point(392, 93);
|
|
label36.Name = "label36";
|
|
label36.Size = new Size(64, 17);
|
|
label36.TabIndex = 17;
|
|
label36.Text = "机身倾斜";
|
|
//
|
|
// label26
|
|
//
|
|
label26.AutoSize = true;
|
|
label26.Font = new Font("黑体", 22F, FontStyle.Regular, GraphicsUnit.Point);
|
|
label26.Location = new Point(42, 262);
|
|
label26.Margin = new Padding(4, 0, 4, 0);
|
|
label26.Name = "label26";
|
|
label26.Size = new Size(133, 30);
|
|
label26.TabIndex = 16;
|
|
label26.Text = "检测结果";
|
|
//
|
|
// label18
|
|
//
|
|
label18.AutoSize = true;
|
|
label18.Location = new Point(7, 67);
|
|
label18.Margin = new Padding(4, 0, 4, 0);
|
|
label18.Name = "label18";
|
|
label18.Size = new Size(64, 17);
|
|
label18.TabIndex = 5;
|
|
label18.Text = "总产量数";
|
|
label18.Click += label18_Click;
|
|
//
|
|
// AllDSum
|
|
//
|
|
AllDSum.Location = new Point(86, 64);
|
|
AllDSum.Margin = new Padding(4, 2, 4, 2);
|
|
AllDSum.Name = "AllDSum";
|
|
AllDSum.ReadOnly = true;
|
|
AllDSum.Size = new Size(64, 23);
|
|
AllDSum.TabIndex = 6;
|
|
//
|
|
// label19
|
|
//
|
|
label19.AutoSize = true;
|
|
label19.Location = new Point(173, 93);
|
|
label19.Margin = new Padding(4, 0, 4, 0);
|
|
label19.Name = "label19";
|
|
label19.Size = new Size(71, 17);
|
|
label19.TabIndex = 7;
|
|
label19.Text = "NG产品数";
|
|
//
|
|
// NGDNum
|
|
//
|
|
NGDNum.Location = new Point(265, 90);
|
|
NGDNum.Margin = new Padding(4, 2, 4, 2);
|
|
NGDNum.Name = "NGDNum";
|
|
NGDNum.ReadOnly = true;
|
|
NGDNum.Size = new Size(76, 23);
|
|
NGDNum.TabIndex = 8;
|
|
//
|
|
// OKOrNGShow
|
|
//
|
|
OKOrNGShow.Location = new Point(265, 180);
|
|
OKOrNGShow.Margin = new Padding(4, 2, 4, 2);
|
|
OKOrNGShow.Name = "OKOrNGShow";
|
|
OKOrNGShow.Size = new Size(284, 220);
|
|
OKOrNGShow.SizeMode = PictureBoxSizeMode.CenterImage;
|
|
OKOrNGShow.TabIndex = 11;
|
|
OKOrNGShow.TabStop = false;
|
|
//
|
|
// OKDNum
|
|
//
|
|
OKDNum.Location = new Point(265, 41);
|
|
OKDNum.Margin = new Padding(4, 2, 4, 2);
|
|
OKDNum.Name = "OKDNum";
|
|
OKDNum.ReadOnly = true;
|
|
OKDNum.Size = new Size(76, 23);
|
|
OKDNum.TabIndex = 10;
|
|
//
|
|
// label20
|
|
//
|
|
label20.AutoSize = true;
|
|
label20.Location = new Point(173, 41);
|
|
label20.Margin = new Padding(4, 0, 4, 0);
|
|
label20.Name = "label20";
|
|
label20.Size = new Size(70, 17);
|
|
label20.TabIndex = 9;
|
|
label20.Text = "OK产品数";
|
|
//
|
|
// textBox1
|
|
//
|
|
textBox1.Location = new Point(463, 41);
|
|
textBox1.Margin = new Padding(4, 2, 4, 2);
|
|
textBox1.Name = "textBox1";
|
|
textBox1.ReadOnly = true;
|
|
textBox1.Size = new Size(67, 23);
|
|
textBox1.TabIndex = 15;
|
|
//
|
|
// label35
|
|
//
|
|
label35.AutoSize = true;
|
|
label35.Location = new Point(392, 44);
|
|
label35.Name = "label35";
|
|
label35.Size = new Size(50, 17);
|
|
label35.TabIndex = 14;
|
|
label35.Text = "误检数";
|
|
//
|
|
// groupBox7
|
|
//
|
|
groupBox7.Controls.Add(InitMachine);
|
|
groupBox7.Controls.Add(StartDecBtn);
|
|
groupBox7.Controls.Add(CloseDecBtn);
|
|
groupBox7.Location = new Point(11, 16);
|
|
groupBox7.Name = "groupBox7";
|
|
groupBox7.Size = new Size(582, 94);
|
|
groupBox7.TabIndex = 23;
|
|
groupBox7.TabStop = false;
|
|
groupBox7.Text = "操作按钮";
|
|
//
|
|
// InitMachine
|
|
//
|
|
InitMachine.Location = new Point(7, 29);
|
|
InitMachine.Margin = new Padding(4, 2, 4, 2);
|
|
InitMachine.Name = "InitMachine";
|
|
InitMachine.Size = new Size(159, 60);
|
|
InitMachine.TabIndex = 0;
|
|
InitMachine.Text = "初始化设备";
|
|
InitMachine.UseVisualStyleBackColor = true;
|
|
InitMachine.Click += InitMachine_Click;
|
|
//
|
|
// StartDecBtn
|
|
//
|
|
StartDecBtn.Location = new Point(206, 29);
|
|
StartDecBtn.Margin = new Padding(4, 2, 4, 2);
|
|
StartDecBtn.Name = "StartDecBtn";
|
|
StartDecBtn.Size = new Size(137, 60);
|
|
StartDecBtn.TabIndex = 3;
|
|
StartDecBtn.Text = "开启检测";
|
|
StartDecBtn.UseVisualStyleBackColor = true;
|
|
StartDecBtn.Click += StartDecBtn_Click;
|
|
//
|
|
// CloseDecBtn
|
|
//
|
|
CloseDecBtn.Location = new Point(392, 29);
|
|
CloseDecBtn.Margin = new Padding(4, 2, 4, 2);
|
|
CloseDecBtn.Name = "CloseDecBtn";
|
|
CloseDecBtn.Size = new Size(140, 60);
|
|
CloseDecBtn.TabIndex = 20;
|
|
CloseDecBtn.Text = "关闭检测";
|
|
CloseDecBtn.UseVisualStyleBackColor = true;
|
|
CloseDecBtn.Click += CloseDecBtn_Click;
|
|
//
|
|
// groupBox6
|
|
//
|
|
groupBox6.Controls.Add(button6);
|
|
groupBox6.Controls.Add(button5);
|
|
groupBox6.Controls.Add(button4);
|
|
groupBox6.Controls.Add(textBox2);
|
|
groupBox6.Controls.Add(label37);
|
|
groupBox6.Controls.Add(textBox3);
|
|
groupBox6.Controls.Add(label25);
|
|
groupBox6.Controls.Add(label24);
|
|
groupBox6.Controls.Add(ScannerBox);
|
|
groupBox6.Location = new Point(11, 120);
|
|
groupBox6.Name = "groupBox6";
|
|
groupBox6.Size = new Size(582, 231);
|
|
groupBox6.TabIndex = 22;
|
|
groupBox6.TabStop = false;
|
|
groupBox6.Text = "基础信息";
|
|
//
|
|
// button6
|
|
//
|
|
button6.Location = new Point(438, 172);
|
|
button6.Margin = new Padding(4, 2, 4, 2);
|
|
button6.Name = "button6";
|
|
button6.Size = new Size(137, 54);
|
|
button6.TabIndex = 25;
|
|
button6.Text = "第二块NG";
|
|
button6.UseVisualStyleBackColor = true;
|
|
button6.Click += button6_Click;
|
|
//
|
|
// button5
|
|
//
|
|
button5.Location = new Point(438, 95);
|
|
button5.Margin = new Padding(4, 2, 4, 2);
|
|
button5.Name = "button5";
|
|
button5.Size = new Size(137, 54);
|
|
button5.TabIndex = 24;
|
|
button5.Text = "第一块NG";
|
|
button5.UseVisualStyleBackColor = true;
|
|
button5.Click += button5_Click;
|
|
//
|
|
// button4
|
|
//
|
|
button4.Location = new Point(438, 22);
|
|
button4.Margin = new Padding(4, 2, 4, 2);
|
|
button4.Name = "button4";
|
|
button4.Size = new Size(137, 54);
|
|
button4.TabIndex = 21;
|
|
button4.Text = "相机照片";
|
|
button4.UseVisualStyleBackColor = true;
|
|
button4.Click += button4_Click_2;
|
|
//
|
|
// textBox2
|
|
//
|
|
textBox2.Location = new Point(128, 169);
|
|
textBox2.Margin = new Padding(4, 2, 4, 2);
|
|
textBox2.Name = "textBox2";
|
|
textBox2.ReadOnly = true;
|
|
textBox2.Size = new Size(115, 23);
|
|
textBox2.TabIndex = 23;
|
|
//
|
|
// label37
|
|
//
|
|
label37.AutoSize = true;
|
|
label37.Location = new Point(7, 172);
|
|
label37.Margin = new Padding(4, 0, 4, 0);
|
|
label37.Name = "label37";
|
|
label37.Size = new Size(64, 17);
|
|
label37.TabIndex = 22;
|
|
label37.Text = "旋钮颜色";
|
|
label37.Click += label37_Click;
|
|
//
|
|
// textBox3
|
|
//
|
|
textBox3.Location = new Point(128, 107);
|
|
textBox3.Margin = new Padding(4, 2, 4, 2);
|
|
textBox3.Name = "textBox3";
|
|
textBox3.ReadOnly = true;
|
|
textBox3.Size = new Size(279, 23);
|
|
textBox3.TabIndex = 21;
|
|
//
|
|
// label25
|
|
//
|
|
label25.AutoSize = true;
|
|
label25.Location = new Point(7, 110);
|
|
label25.Margin = new Padding(4, 0, 4, 0);
|
|
label25.Name = "label25";
|
|
label25.Size = new Size(64, 17);
|
|
label25.TabIndex = 20;
|
|
label25.Text = "产品型号";
|
|
label25.Click += label25_Click;
|
|
//
|
|
// label24
|
|
//
|
|
label24.AutoSize = true;
|
|
label24.Location = new Point(7, 40);
|
|
label24.Margin = new Padding(4, 0, 4, 0);
|
|
label24.Name = "label24";
|
|
label24.Size = new Size(64, 17);
|
|
label24.TabIndex = 19;
|
|
label24.Text = "产品条码";
|
|
label24.Click += label24_Click;
|
|
//
|
|
// ScannerBox
|
|
//
|
|
ScannerBox.Location = new Point(128, 34);
|
|
ScannerBox.Margin = new Padding(4, 2, 4, 2);
|
|
ScannerBox.Name = "ScannerBox";
|
|
ScannerBox.ReadOnly = true;
|
|
ScannerBox.Size = new Size(279, 23);
|
|
ScannerBox.TabIndex = 18;
|
|
//
|
|
// linkLabel1
|
|
//
|
|
linkLabel1.AutoSize = true;
|
|
linkLabel1.Location = new Point(161, 387);
|
|
linkLabel1.Name = "linkLabel1";
|
|
linkLabel1.Size = new Size(0, 17);
|
|
linkLabel1.TabIndex = 21;
|
|
//
|
|
// tabPage3
|
|
//
|
|
tabPage3.Controls.Add(panel2);
|
|
tabPage3.Location = new Point(4, 26);
|
|
tabPage3.Margin = new Padding(4, 2, 4, 2);
|
|
tabPage3.Name = "tabPage3";
|
|
tabPage3.Size = new Size(1276, 900);
|
|
tabPage3.TabIndex = 4;
|
|
tabPage3.Text = "录入新型号";
|
|
tabPage3.UseVisualStyleBackColor = true;
|
|
//
|
|
// panel2
|
|
//
|
|
panel2.Controls.Add(button1);
|
|
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(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(InsertBtn);
|
|
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(0, 2);
|
|
panel2.Margin = new Padding(4, 2, 4, 2);
|
|
panel2.Name = "panel2";
|
|
panel2.Size = new Size(1630, 925);
|
|
panel2.TabIndex = 1;
|
|
panel2.Paint += panel2_Paint;
|
|
//
|
|
// button1
|
|
//
|
|
button1.ContextMenuStrip = contextMenuStrip1;
|
|
button1.Location = new Point(493, 46);
|
|
button1.Margin = new Padding(4, 2, 4, 2);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(96, 38);
|
|
button1.TabIndex = 41;
|
|
button1.Text = "获取";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click_1;
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
contextMenuStrip1.ImageScalingSize = new Size(24, 24);
|
|
contextMenuStrip1.Name = "contextMenuStrip1";
|
|
contextMenuStrip1.Size = new Size(61, 4);
|
|
//
|
|
// WhiteBanCbx
|
|
//
|
|
WhiteBanCbx.AutoSize = true;
|
|
WhiteBanCbx.Checked = true;
|
|
WhiteBanCbx.CheckState = CheckState.Checked;
|
|
WhiteBanCbx.Location = new Point(867, 146);
|
|
WhiteBanCbx.Margin = new Padding(4, 2, 4, 2);
|
|
WhiteBanCbx.Name = "WhiteBanCbx";
|
|
WhiteBanCbx.Size = new Size(41, 21);
|
|
WhiteBanCbx.TabIndex = 40;
|
|
WhiteBanCbx.Text = "是";
|
|
WhiteBanCbx.UseVisualStyleBackColor = true;
|
|
//
|
|
// label33
|
|
//
|
|
label33.AutoSize = true;
|
|
label33.Location = new Point(596, 147);
|
|
label33.Margin = new Padding(4, 0, 4, 0);
|
|
label33.Name = "label33";
|
|
label33.Size = new Size(162, 17);
|
|
label33.TabIndex = 39;
|
|
label33.Text = "面板第二块区域是白板吗";
|
|
//
|
|
// label28
|
|
//
|
|
label28.AutoSize = true;
|
|
label28.Location = new Point(23, 187);
|
|
label28.Margin = new Padding(4, 0, 4, 0);
|
|
label28.Name = "label28";
|
|
label28.Size = new Size(101, 17);
|
|
label28.TabIndex = 14;
|
|
label28.Text = "第一次拍照Z轴";
|
|
//
|
|
// openModelBtn
|
|
//
|
|
openModelBtn.Location = new Point(1340, 14);
|
|
openModelBtn.Margin = new Padding(4, 2, 4, 2);
|
|
openModelBtn.Name = "openModelBtn";
|
|
openModelBtn.Size = new Size(96, 26);
|
|
openModelBtn.TabIndex = 37;
|
|
openModelBtn.Text = "打开模型";
|
|
openModelBtn.UseVisualStyleBackColor = true;
|
|
openModelBtn.Click += openModelBtn_Click;
|
|
//
|
|
// modelChangeCbx
|
|
//
|
|
modelChangeCbx.Location = new Point(750, 14);
|
|
modelChangeCbx.Margin = new Padding(4, 2, 4, 2);
|
|
modelChangeCbx.Name = "modelChangeCbx";
|
|
modelChangeCbx.Size = new Size(241, 23);
|
|
modelChangeCbx.TabIndex = 34;
|
|
modelChangeCbx.Text = "D:\\Hisence\\config\\chinese.json";
|
|
//
|
|
// label34
|
|
//
|
|
label34.AutoSize = true;
|
|
label34.Location = new Point(597, 14);
|
|
label34.Margin = new Padding(4, 0, 4, 0);
|
|
label34.Name = "label34";
|
|
label34.Size = new Size(92, 17);
|
|
label34.TabIndex = 33;
|
|
label34.Text = "面板语言选择";
|
|
//
|
|
// OpenTwoDirBtn
|
|
//
|
|
OpenTwoDirBtn.Location = new Point(1066, 105);
|
|
OpenTwoDirBtn.Margin = new Padding(4, 2, 4, 2);
|
|
OpenTwoDirBtn.Name = "OpenTwoDirBtn";
|
|
OpenTwoDirBtn.Size = new Size(96, 35);
|
|
OpenTwoDirBtn.TabIndex = 31;
|
|
OpenTwoDirBtn.Text = "打开文件";
|
|
OpenTwoDirBtn.UseVisualStyleBackColor = true;
|
|
OpenTwoDirBtn.Click += OpenTwoDirBtn_Click;
|
|
//
|
|
// OpenDirBtn
|
|
//
|
|
OpenDirBtn.Location = new Point(1066, 53);
|
|
OpenDirBtn.Margin = new Padding(4, 2, 4, 2);
|
|
OpenDirBtn.Name = "OpenDirBtn";
|
|
OpenDirBtn.Size = new Size(96, 34);
|
|
OpenDirBtn.TabIndex = 30;
|
|
OpenDirBtn.Text = "打开文件";
|
|
OpenDirBtn.UseVisualStyleBackColor = true;
|
|
OpenDirBtn.Click += OpenDirBtn_Click;
|
|
//
|
|
// Cam2MatCbx
|
|
//
|
|
Cam2MatCbx.Location = new Point(750, 111);
|
|
Cam2MatCbx.Margin = new Padding(4, 2, 4, 2);
|
|
Cam2MatCbx.Name = "Cam2MatCbx";
|
|
Cam2MatCbx.Size = new Size(279, 23);
|
|
Cam2MatCbx.TabIndex = 29;
|
|
Cam2MatCbx.Text = "D:\\Hisence\\类型\\Lp\\002jpg";
|
|
//
|
|
// label22
|
|
//
|
|
label22.AutoSize = true;
|
|
label22.Location = new Point(596, 105);
|
|
label22.Margin = new Padding(4, 0, 4, 0);
|
|
label22.Name = "label22";
|
|
label22.Size = new Size(92, 17);
|
|
label22.TabIndex = 28;
|
|
label22.Text = "面板第二张图";
|
|
//
|
|
// Cam1MatCbx
|
|
//
|
|
Cam1MatCbx.Location = new Point(750, 59);
|
|
Cam1MatCbx.Margin = new Padding(4, 2, 4, 2);
|
|
Cam1MatCbx.Name = "Cam1MatCbx";
|
|
Cam1MatCbx.Size = new Size(279, 23);
|
|
Cam1MatCbx.TabIndex = 27;
|
|
Cam1MatCbx.Text = "D:\\Hisence\\类型\\Lp\\001.jpg";
|
|
//
|
|
// label23
|
|
//
|
|
label23.AutoSize = true;
|
|
label23.Location = new Point(597, 62);
|
|
label23.Margin = new Padding(4, 0, 4, 0);
|
|
label23.Name = "label23";
|
|
label23.Size = new Size(92, 17);
|
|
label23.TabIndex = 26;
|
|
label23.Text = "面板第一张图";
|
|
//
|
|
// QueryoneBtn
|
|
//
|
|
QueryoneBtn.Location = new Point(978, 204);
|
|
QueryoneBtn.Margin = new Padding(4, 2, 4, 2);
|
|
QueryoneBtn.Name = "QueryoneBtn";
|
|
QueryoneBtn.Size = new Size(148, 50);
|
|
QueryoneBtn.TabIndex = 25;
|
|
QueryoneBtn.Text = "条件查询";
|
|
QueryoneBtn.UseVisualStyleBackColor = true;
|
|
QueryoneBtn.Click += QueryoneBtn_Click;
|
|
//
|
|
// InsertBtn
|
|
//
|
|
InsertBtn.Location = new Point(608, 204);
|
|
InsertBtn.Margin = new Padding(4, 2, 4, 2);
|
|
InsertBtn.Name = "InsertBtn";
|
|
InsertBtn.Size = new Size(156, 56);
|
|
InsertBtn.TabIndex = 22;
|
|
InsertBtn.Text = "插入";
|
|
InsertBtn.UseVisualStyleBackColor = true;
|
|
InsertBtn.Click += InsertBtn_Click;
|
|
//
|
|
// moveZbox
|
|
//
|
|
moveZbox.Location = new Point(183, 184);
|
|
moveZbox.Margin = new Padding(4, 2, 4, 2);
|
|
moveZbox.Name = "moveZbox";
|
|
moveZbox.Size = new Size(287, 23);
|
|
moveZbox.TabIndex = 15;
|
|
moveZbox.Text = "0";
|
|
//
|
|
// moveYbox
|
|
//
|
|
moveYbox.Location = new Point(183, 141);
|
|
moveYbox.Margin = new Padding(4, 2, 4, 2);
|
|
moveYbox.Name = "moveYbox";
|
|
moveYbox.Size = new Size(287, 23);
|
|
moveYbox.TabIndex = 13;
|
|
moveYbox.Text = "0";
|
|
//
|
|
// label29
|
|
//
|
|
label29.AutoSize = true;
|
|
label29.Location = new Point(22, 143);
|
|
label29.Margin = new Padding(4, 0, 4, 0);
|
|
label29.Name = "label29";
|
|
label29.Size = new Size(101, 17);
|
|
label29.TabIndex = 12;
|
|
label29.Text = "第一次拍照Y轴";
|
|
//
|
|
// moveXbox
|
|
//
|
|
moveXbox.Location = new Point(182, 101);
|
|
moveXbox.Margin = new Padding(4, 2, 4, 2);
|
|
moveXbox.Name = "moveXbox";
|
|
moveXbox.Size = new Size(287, 23);
|
|
moveXbox.TabIndex = 11;
|
|
moveXbox.Text = "8974";
|
|
//
|
|
// label30
|
|
//
|
|
label30.AutoSize = true;
|
|
label30.Location = new Point(22, 104);
|
|
label30.Margin = new Padding(4, 0, 4, 0);
|
|
label30.Name = "label30";
|
|
label30.Size = new Size(101, 17);
|
|
label30.TabIndex = 10;
|
|
label30.Text = "第一次拍照X轴";
|
|
//
|
|
// OcrBarBox
|
|
//
|
|
OcrBarBox.Location = new Point(183, 56);
|
|
OcrBarBox.Margin = new Padding(4, 2, 4, 2);
|
|
OcrBarBox.Name = "OcrBarBox";
|
|
OcrBarBox.Size = new Size(287, 23);
|
|
OcrBarBox.TabIndex = 5;
|
|
OcrBarBox.Text = "1234567890";
|
|
//
|
|
// label31
|
|
//
|
|
label31.AutoSize = true;
|
|
label31.Location = new Point(23, 59);
|
|
label31.Margin = new Padding(4, 0, 4, 0);
|
|
label31.Name = "label31";
|
|
label31.Size = new Size(27, 17);
|
|
label31.TabIndex = 4;
|
|
label31.Text = "SN";
|
|
//
|
|
// TypeBox
|
|
//
|
|
TypeBox.Location = new Point(183, 14);
|
|
TypeBox.Margin = new Padding(4, 2, 4, 2);
|
|
TypeBox.Name = "TypeBox";
|
|
TypeBox.Size = new Size(287, 23);
|
|
TypeBox.TabIndex = 3;
|
|
TypeBox.Text = "1";
|
|
//
|
|
// queryALLBtn
|
|
//
|
|
queryALLBtn.Location = new Point(798, 204);
|
|
queryALLBtn.Margin = new Padding(4, 2, 4, 2);
|
|
queryALLBtn.Name = "queryALLBtn";
|
|
queryALLBtn.Size = new Size(148, 56);
|
|
queryALLBtn.TabIndex = 2;
|
|
queryALLBtn.Text = "查询全部";
|
|
queryALLBtn.UseVisualStyleBackColor = true;
|
|
queryALLBtn.Click += queryALLBtn_Click;
|
|
//
|
|
// label32
|
|
//
|
|
label32.AutoSize = true;
|
|
label32.Location = new Point(18, 17);
|
|
label32.Margin = new Padding(4, 0, 4, 0);
|
|
label32.Name = "label32";
|
|
label32.Size = new Size(36, 17);
|
|
label32.TabIndex = 1;
|
|
label32.Text = "类型";
|
|
//
|
|
// InsertDataDgv
|
|
//
|
|
InsertDataDgv.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
InsertDataDgv.Location = new Point(15, 264);
|
|
InsertDataDgv.Margin = new Padding(4, 2, 4, 2);
|
|
InsertDataDgv.Name = "InsertDataDgv";
|
|
InsertDataDgv.RowHeadersWidth = 62;
|
|
InsertDataDgv.RowTemplate.Height = 25;
|
|
InsertDataDgv.Size = new Size(1601, 206);
|
|
InsertDataDgv.TabIndex = 0;
|
|
//
|
|
// richTextBox1
|
|
//
|
|
richTextBox1.Dock = DockStyle.Bottom;
|
|
richTextBox1.Location = new Point(0, 844);
|
|
richTextBox1.Margin = new Padding(4, 2, 4, 2);
|
|
richTextBox1.Name = "richTextBox1";
|
|
richTextBox1.Size = new Size(1284, 161);
|
|
richTextBox1.TabIndex = 1;
|
|
richTextBox1.Text = "";
|
|
//
|
|
// MainForm
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = SystemColors.ActiveCaption;
|
|
ClientSize = new Size(1284, 1005);
|
|
Controls.Add(richTextBox1);
|
|
Controls.Add(tabControl1);
|
|
Font = new Font("Microsoft Sans Serif", 10.5F, FontStyle.Regular, GraphicsUnit.Point);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Margin = new Padding(4, 2, 4, 2);
|
|
Name = "MainForm";
|
|
Text = "海信视觉防差错";
|
|
FormClosing += MainForm_FormClosing;
|
|
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);
|
|
panel5.PerformLayout();
|
|
groupBox9.ResumeLayout(false);
|
|
groupBox9.PerformLayout();
|
|
groupBox2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)pictureBox1).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)originMatShow).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)ResultMatShow).EndInit();
|
|
panel8.ResumeLayout(false);
|
|
panel8.PerformLayout();
|
|
groupBox8.ResumeLayout(false);
|
|
groupBox8.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)OKOrNGShow).EndInit();
|
|
groupBox7.ResumeLayout(false);
|
|
groupBox6.ResumeLayout(false);
|
|
groupBox6.PerformLayout();
|
|
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 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 TextBox OKDNum;
|
|
private Label label20;
|
|
private TextBox NGDNum;
|
|
private Label label19;
|
|
private TextBox AllDSum;
|
|
private Label label18;
|
|
private PictureBox OKOrNGShow;
|
|
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 OpenTwoDirBtn;
|
|
private Button OpenDirBtn;
|
|
private TextBox Cam2MatCbx;
|
|
private Label label22;
|
|
private TextBox Cam1MatCbx;
|
|
private Label label23;
|
|
private Button QueryoneBtn;
|
|
private Button InsertBtn;
|
|
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 HandRuningBtn;
|
|
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 XKRS.UI.Canvas DefetShow7;
|
|
private XKRS.UI.Canvas DefetShow6;
|
|
private Button handStopBtn;
|
|
//private XKRS.UI.Canvas canvas1;
|
|
//private XKRS.UI.Canvas canvas5;
|
|
//private XKRS.UI.Canvas canvas4;
|
|
//private XKRS.UI.Canvas canvas3;
|
|
//private XKRS.UI.Canvas canvas6;
|
|
//private XKRS.UI.Canvas canvas2;
|
|
private TextBox textBox1;
|
|
private Label label35;
|
|
//private XKRS.UI.Canvas canvas5;
|
|
//private XKRS.UI.Canvas canvas4;
|
|
private XKRS.UI.Canvas canvas3;
|
|
private XKRS.UI.Canvas canvas1;
|
|
private XKRS.UI.Canvas canvas6;
|
|
private XKRS.UI.Canvas canvas2;
|
|
private Button button1;
|
|
private Label label24;
|
|
private TextBox ScannerBox;
|
|
private Button CloseDecBtn;
|
|
private GroupBox groupBox6;
|
|
private LinkLabel linkLabel1;
|
|
private Label label25;
|
|
private TextBox textBox3;
|
|
private GroupBox groupBox7;
|
|
private GroupBox groupBox8;
|
|
private GroupBox groupBox9;
|
|
private Label label26;
|
|
private TextBox textBox2;
|
|
private Label label27;
|
|
private TextBox textBox4;
|
|
private Label label36;
|
|
private Label label37;
|
|
private PictureBox pictureBox1;
|
|
private Button button4;
|
|
private Button button5;
|
|
private Button button6;
|
|
private Label label38;
|
|
private Button button7;
|
|
private Button statusButton;
|
|
}
|
|
}
|