763 lines
28 KiB
C#
763 lines
28 KiB
C#
|
namespace HisenceYoloDetection
|
|||
|
{
|
|||
|
partial class Form1
|
|||
|
{
|
|||
|
/// <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()
|
|||
|
{
|
|||
|
tableLayoutPanel1 = new TableLayoutPanel();
|
|||
|
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();
|
|||
|
tableLayoutPanel1.SuspendLayout();
|
|||
|
panel1.SuspendLayout();
|
|||
|
groupBox5.SuspendLayout();
|
|||
|
groupBox4.SuspendLayout();
|
|||
|
ModeleShow.SuspendLayout();
|
|||
|
SuspendLayout();
|
|||
|
//
|
|||
|
// tableLayoutPanel1
|
|||
|
//
|
|||
|
tableLayoutPanel1.ColumnCount = 1;
|
|||
|
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
|
|||
|
tableLayoutPanel1.Controls.Add(panel1, 0, 0);
|
|||
|
tableLayoutPanel1.Dock = DockStyle.Fill;
|
|||
|
tableLayoutPanel1.Location = new Point(0, 0);
|
|||
|
tableLayoutPanel1.Name = "tableLayoutPanel1";
|
|||
|
tableLayoutPanel1.RowCount = 1;
|
|||
|
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50F));
|
|||
|
tableLayoutPanel1.Size = new Size(1057, 450);
|
|||
|
tableLayoutPanel1.TabIndex = 0;
|
|||
|
//
|
|||
|
// panel1
|
|||
|
//
|
|||
|
panel1.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|||
|
panel1.AutoSize = true;
|
|||
|
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(3, 3);
|
|||
|
panel1.Name = "panel1";
|
|||
|
panel1.Size = new Size(1051, 444);
|
|||
|
panel1.TabIndex = 5;
|
|||
|
//
|
|||
|
// 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(670, 78);
|
|||
|
txtSetValue.Name = "txtSetValue";
|
|||
|
txtSetValue.Size = new Size(100, 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;
|
|||
|
//
|
|||
|
// SetHandleSpeed
|
|||
|
//
|
|||
|
SetHandleSpeed.Location = new Point(8, 258);
|
|||
|
SetHandleSpeed.Name = "SetHandleSpeed";
|
|||
|
SetHandleSpeed.Size = new Size(88, 23);
|
|||
|
SetHandleSpeed.TabIndex = 28;
|
|||
|
SetHandleSpeed.Text = "设置手动速度";
|
|||
|
SetHandleSpeed.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// PLCPostion
|
|||
|
//
|
|||
|
PLCPostion.Location = new Point(6, 258);
|
|||
|
PLCPostion.Name = "PLCPostion";
|
|||
|
PLCPostion.Size = new Size(97, 101);
|
|||
|
PLCPostion.TabIndex = 2;
|
|||
|
PLCPostion.Text = "定位";
|
|||
|
PLCPostion.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// PLCDiskZero
|
|||
|
//
|
|||
|
PLCDiskZero.Location = new Point(6, 141);
|
|||
|
PLCDiskZero.Name = "PLCDiskZero";
|
|||
|
PLCDiskZero.Size = new Size(97, 101);
|
|||
|
PLCDiskZero.TabIndex = 1;
|
|||
|
PLCDiskZero.Text = "归零";
|
|||
|
PLCDiskZero.UseVisualStyleBackColor = true;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// 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;
|
|||
|
//
|
|||
|
// Form1
|
|||
|
//
|
|||
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
|||
|
AutoScaleMode = AutoScaleMode.Font;
|
|||
|
ClientSize = new Size(1057, 450);
|
|||
|
Controls.Add(tableLayoutPanel1);
|
|||
|
Name = "Form1";
|
|||
|
Text = "Form1";
|
|||
|
tableLayoutPanel1.ResumeLayout(false);
|
|||
|
tableLayoutPanel1.PerformLayout();
|
|||
|
panel1.ResumeLayout(false);
|
|||
|
panel1.PerformLayout();
|
|||
|
groupBox5.ResumeLayout(false);
|
|||
|
groupBox5.PerformLayout();
|
|||
|
groupBox4.ResumeLayout(false);
|
|||
|
groupBox4.PerformLayout();
|
|||
|
ModeleShow.ResumeLayout(false);
|
|||
|
ResumeLayout(false);
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private TableLayoutPanel tableLayoutPanel1;
|
|||
|
private Panel panel1;
|
|||
|
private GroupBox groupBox5;
|
|||
|
private TextBox DistanceShow;
|
|||
|
private Label label21;
|
|||
|
private TextBox txtSetValue;
|
|||
|
private GroupBox groupBox4;
|
|||
|
private Button SetAutoSpeed;
|
|||
|
private Button SetHandleSpeed;
|
|||
|
private TextBox SetlnEditmiZOP;
|
|||
|
private TextBox SetlnEditmiYOP;
|
|||
|
private TextBox SetlnEditmiXOP;
|
|||
|
private TextBox SetlnEditmiZH;
|
|||
|
private TextBox SetlnEditmiYH;
|
|||
|
private TextBox SetlnEditmiXH;
|
|||
|
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 Label ZPostion;
|
|||
|
private Label YPostion;
|
|||
|
private Label XPostion;
|
|||
|
private Label XCurrentPostion;
|
|||
|
private Label label14;
|
|||
|
private Label label13;
|
|||
|
private Label label12;
|
|||
|
private Label label11;
|
|||
|
private GroupBox ModeleShow;
|
|||
|
private RadioButton ZBackwardrbx;
|
|||
|
private RadioButton YBackwardrbx;
|
|||
|
private RadioButton XBackwardrbx;
|
|||
|
private RadioButton ZForwardrbx;
|
|||
|
private RadioButton YForwardrbx;
|
|||
|
private RadioButton XForwardrbx;
|
|||
|
private RadioButton ZZerorbx;
|
|||
|
private RadioButton YZerorbx;
|
|||
|
private RadioButton XZerorbx;
|
|||
|
private Button PLCPostion;
|
|||
|
private Button PLCDiskZero;
|
|||
|
private Button PLCPowerON;
|
|||
|
private TextBox writePLCValue;
|
|||
|
private Label label9;
|
|||
|
private Label label10;
|
|||
|
private Button wirteAdressBtn;
|
|||
|
private TextBox PLCValue;
|
|||
|
private TextBox WriteAdress;
|
|||
|
private Label label6;
|
|||
|
private Label label3;
|
|||
|
private Button ConnectPLC;
|
|||
|
private Button readAdress;
|
|||
|
private TextBox showPLC;
|
|||
|
private TextBox readPLc;
|
|||
|
}
|
|||
|
}
|