1、运动到指定点,JOG运动,运动结束的判断

2、优化测试用例
This commit is contained in:
zhengxuan.zhang
2022-10-19 20:20:52 +08:00
parent 3473b1d637
commit df5c6c7c3f
12 changed files with 958 additions and 745 deletions
+340 -340
View File
@@ -174,42 +174,42 @@
this.btnSend = new System.Windows.Forms.Button();
this.txtCommand = new System.Windows.Forms.TextBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.button4 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.label44 = new System.Windows.Forms.Label();
this.label45 = new System.Windows.Forms.Label();
this.label46 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button8 = new System.Windows.Forms.Button();
this.groupBox9 = new System.Windows.Forms.GroupBox();
this.groupBox10 = new System.Windows.Forms.GroupBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.button9 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label48 = new System.Windows.Forms.Label();
this.label47 = new System.Windows.Forms.Label();
this.label49 = new System.Windows.Forms.Label();
this.label50 = new System.Windows.Forms.Label();
this.label51 = new System.Windows.Forms.Label();
this.label52 = new System.Windows.Forms.Label();
this.label53 = new System.Windows.Forms.Label();
this.label54 = new System.Windows.Forms.Label();
this.label55 = new System.Windows.Forms.Label();
this.label56 = new System.Windows.Forms.Label();
this.label55 = new System.Windows.Forms.Label();
this.label54 = new System.Windows.Forms.Label();
this.label53 = new System.Windows.Forms.Label();
this.label52 = new System.Windows.Forms.Label();
this.label51 = new System.Windows.Forms.Label();
this.label50 = new System.Windows.Forms.Label();
this.label49 = new System.Windows.Forms.Label();
this.label47 = new System.Windows.Forms.Label();
this.groupBox8 = new System.Windows.Forms.GroupBox();
this.button8 = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label46 = new System.Windows.Forms.Label();
this.label45 = new System.Windows.Forms.Label();
this.label44 = new System.Windows.Forms.Label();
this.groupBox7 = new System.Windows.Forms.GroupBox();
this.button7 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button5 = new System.Windows.Forms.Button();
this.button4 = new System.Windows.Forms.Button();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.groupBox10 = new System.Windows.Forms.GroupBox();
this.label48 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.button10 = new System.Windows.Forms.Button();
this.button9 = new System.Windows.Forms.Button();
this.checkBox4 = new System.Windows.Forms.CheckBox();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.groupBox1.SuspendLayout();
this.grpMotionTest.SuspendLayout();
this.grpMst.SuspendLayout();
@@ -223,10 +223,10 @@
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
this.groupBox5.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox7.SuspendLayout();
this.groupBox8.SuspendLayout();
this.groupBox9.SuspendLayout();
this.groupBox8.SuspendLayout();
this.groupBox7.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox10.SuspendLayout();
this.SuspendLayout();
//
@@ -1713,178 +1713,6 @@
this.groupBox5.TabStop = false;
this.groupBox5.Text = "XYZ轴运动";
//
// groupBox6
//
this.groupBox6.Controls.Add(this.button3);
this.groupBox6.Controls.Add(this.button2);
this.groupBox6.Controls.Add(this.button1);
this.groupBox6.Location = new System.Drawing.Point(6, 24);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(283, 70);
this.groupBox6.TabIndex = 0;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "动作";
//
// button1
//
this.button1.Location = new System.Drawing.Point(10, 24);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 30);
this.button1.TabIndex = 0;
this.button1.Text = "开始";
this.button1.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(104, 24);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 30);
this.button2.TabIndex = 1;
this.button2.Text = "停止";
this.button2.UseVisualStyleBackColor = true;
//
// button3
//
this.button3.Location = new System.Drawing.Point(198, 24);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 30);
this.button3.TabIndex = 2;
this.button3.Text = "回原点";
this.button3.UseVisualStyleBackColor = true;
//
// groupBox7
//
this.groupBox7.Controls.Add(this.button7);
this.groupBox7.Controls.Add(this.button6);
this.groupBox7.Controls.Add(this.button5);
this.groupBox7.Controls.Add(this.button4);
this.groupBox7.Location = new System.Drawing.Point(6, 100);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(283, 160);
this.groupBox7.TabIndex = 1;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Jog";
//
// button4
//
this.button4.Location = new System.Drawing.Point(104, 12);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 35);
this.button4.TabIndex = 0;
this.button4.Text = "Y前进";
this.button4.UseVisualStyleBackColor = true;
//
// button5
//
this.button5.Location = new System.Drawing.Point(10, 61);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 35);
this.button5.TabIndex = 1;
this.button5.Text = "X左移";
this.button5.UseVisualStyleBackColor = true;
//
// button6
//
this.button6.Location = new System.Drawing.Point(198, 61);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 35);
this.button6.TabIndex = 2;
this.button6.Text = "X右移";
this.button6.UseVisualStyleBackColor = true;
//
// button7
//
this.button7.Location = new System.Drawing.Point(104, 107);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 35);
this.button7.TabIndex = 3;
this.button7.Text = "Y后退";
this.button7.UseVisualStyleBackColor = true;
//
// groupBox8
//
this.groupBox8.Controls.Add(this.button8);
this.groupBox8.Controls.Add(this.checkBox1);
this.groupBox8.Controls.Add(this.textBox3);
this.groupBox8.Controls.Add(this.textBox2);
this.groupBox8.Controls.Add(this.textBox1);
this.groupBox8.Controls.Add(this.label46);
this.groupBox8.Controls.Add(this.label45);
this.groupBox8.Controls.Add(this.label44);
this.groupBox8.Location = new System.Drawing.Point(6, 268);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(283, 163);
this.groupBox8.TabIndex = 2;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "定位";
//
// label44
//
this.label44.AutoSize = true;
this.label44.Location = new System.Drawing.Point(39, 24);
this.label44.Name = "label44";
this.label44.Size = new System.Drawing.Size(59, 12);
this.label44.TabIndex = 0;
this.label44.Text = "X位置(mm)";
//
// label45
//
this.label45.AutoSize = true;
this.label45.Location = new System.Drawing.Point(39, 57);
this.label45.Name = "label45";
this.label45.Size = new System.Drawing.Size(59, 12);
this.label45.TabIndex = 1;
this.label45.Text = "Y位置(mm)";
//
// label46
//
this.label46.AutoSize = true;
this.label46.Location = new System.Drawing.Point(39, 90);
this.label46.Name = "label46";
this.label46.Size = new System.Drawing.Size(59, 12);
this.label46.TabIndex = 2;
this.label46.Text = "Z位置(mm)";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(149, 21);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 21);
this.textBox1.TabIndex = 3;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(149, 87);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 21);
this.textBox2.TabIndex = 4;
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(149, 54);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(100, 21);
this.textBox3.TabIndex = 5;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(39, 133);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(48, 16);
this.checkBox1.TabIndex = 6;
this.checkBox1.Text = "等待";
this.checkBox1.UseVisualStyleBackColor = true;
//
// button8
//
this.button8.Location = new System.Drawing.Point(129, 122);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(120, 37);
this.button8.TabIndex = 7;
this.button8.Text = "移动到目标位置";
this.button8.UseVisualStyleBackColor = true;
//
// groupBox9
//
this.groupBox9.Controls.Add(this.label56);
@@ -1903,6 +1731,259 @@
this.groupBox9.TabStop = false;
this.groupBox9.Text = "当前实际位置/规划位置(mm)";
//
// label56
//
this.label56.AutoSize = true;
this.label56.Location = new System.Drawing.Point(197, 95);
this.label56.Name = "label56";
this.label56.Size = new System.Drawing.Size(11, 12);
this.label56.TabIndex = 8;
this.label56.Text = "0";
//
// label55
//
this.label55.AutoSize = true;
this.label55.Location = new System.Drawing.Point(197, 65);
this.label55.Name = "label55";
this.label55.Size = new System.Drawing.Size(11, 12);
this.label55.TabIndex = 7;
this.label55.Text = "0";
//
// label54
//
this.label54.AutoSize = true;
this.label54.Location = new System.Drawing.Point(197, 34);
this.label54.Name = "label54";
this.label54.Size = new System.Drawing.Size(11, 12);
this.label54.TabIndex = 6;
this.label54.Text = "0";
//
// label53
//
this.label53.AutoSize = true;
this.label53.Location = new System.Drawing.Point(127, 95);
this.label53.Name = "label53";
this.label53.Size = new System.Drawing.Size(11, 12);
this.label53.TabIndex = 5;
this.label53.Text = "0";
//
// label52
//
this.label52.AutoSize = true;
this.label52.Location = new System.Drawing.Point(127, 65);
this.label52.Name = "label52";
this.label52.Size = new System.Drawing.Size(11, 12);
this.label52.TabIndex = 4;
this.label52.Text = "0";
//
// label51
//
this.label51.AutoSize = true;
this.label51.Location = new System.Drawing.Point(127, 34);
this.label51.Name = "label51";
this.label51.Size = new System.Drawing.Size(11, 12);
this.label51.TabIndex = 3;
this.label51.Text = "0";
//
// label50
//
this.label50.AutoSize = true;
this.label50.Location = new System.Drawing.Point(50, 95);
this.label50.Name = "label50";
this.label50.Size = new System.Drawing.Size(17, 12);
this.label50.TabIndex = 2;
this.label50.Text = "Z:";
//
// label49
//
this.label49.AutoSize = true;
this.label49.Location = new System.Drawing.Point(50, 65);
this.label49.Name = "label49";
this.label49.Size = new System.Drawing.Size(17, 12);
this.label49.TabIndex = 1;
this.label49.Text = "Y:";
//
// label47
//
this.label47.AutoSize = true;
this.label47.Location = new System.Drawing.Point(50, 34);
this.label47.Name = "label47";
this.label47.Size = new System.Drawing.Size(17, 12);
this.label47.TabIndex = 0;
this.label47.Text = "X:";
//
// groupBox8
//
this.groupBox8.Controls.Add(this.button8);
this.groupBox8.Controls.Add(this.checkBox1);
this.groupBox8.Controls.Add(this.textBox3);
this.groupBox8.Controls.Add(this.textBox2);
this.groupBox8.Controls.Add(this.textBox1);
this.groupBox8.Controls.Add(this.label46);
this.groupBox8.Controls.Add(this.label45);
this.groupBox8.Controls.Add(this.label44);
this.groupBox8.Location = new System.Drawing.Point(6, 268);
this.groupBox8.Name = "groupBox8";
this.groupBox8.Size = new System.Drawing.Size(283, 163);
this.groupBox8.TabIndex = 2;
this.groupBox8.TabStop = false;
this.groupBox8.Text = "定位";
//
// button8
//
this.button8.Location = new System.Drawing.Point(129, 122);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(120, 37);
this.button8.TabIndex = 7;
this.button8.Text = "移动到目标位置";
this.button8.UseVisualStyleBackColor = true;
//
// checkBox1
//
this.checkBox1.AutoSize = true;
this.checkBox1.Location = new System.Drawing.Point(39, 133);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(48, 16);
this.checkBox1.TabIndex = 6;
this.checkBox1.Text = "等待";
this.checkBox1.UseVisualStyleBackColor = true;
//
// textBox3
//
this.textBox3.Location = new System.Drawing.Point(149, 54);
this.textBox3.Name = "textBox3";
this.textBox3.Size = new System.Drawing.Size(100, 21);
this.textBox3.TabIndex = 5;
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(149, 87);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(100, 21);
this.textBox2.TabIndex = 4;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(149, 21);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(100, 21);
this.textBox1.TabIndex = 3;
//
// label46
//
this.label46.AutoSize = true;
this.label46.Location = new System.Drawing.Point(39, 90);
this.label46.Name = "label46";
this.label46.Size = new System.Drawing.Size(59, 12);
this.label46.TabIndex = 2;
this.label46.Text = "Z位置(mm)";
//
// label45
//
this.label45.AutoSize = true;
this.label45.Location = new System.Drawing.Point(39, 57);
this.label45.Name = "label45";
this.label45.Size = new System.Drawing.Size(59, 12);
this.label45.TabIndex = 1;
this.label45.Text = "Y位置(mm)";
//
// label44
//
this.label44.AutoSize = true;
this.label44.Location = new System.Drawing.Point(39, 24);
this.label44.Name = "label44";
this.label44.Size = new System.Drawing.Size(59, 12);
this.label44.TabIndex = 0;
this.label44.Text = "X位置(mm)";
//
// groupBox7
//
this.groupBox7.Controls.Add(this.button7);
this.groupBox7.Controls.Add(this.button6);
this.groupBox7.Controls.Add(this.button5);
this.groupBox7.Controls.Add(this.button4);
this.groupBox7.Location = new System.Drawing.Point(6, 100);
this.groupBox7.Name = "groupBox7";
this.groupBox7.Size = new System.Drawing.Size(283, 160);
this.groupBox7.TabIndex = 1;
this.groupBox7.TabStop = false;
this.groupBox7.Text = "Jog";
//
// button7
//
this.button7.Location = new System.Drawing.Point(104, 107);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 35);
this.button7.TabIndex = 3;
this.button7.Text = "Y后退";
this.button7.UseVisualStyleBackColor = true;
//
// button6
//
this.button6.Location = new System.Drawing.Point(198, 61);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(75, 35);
this.button6.TabIndex = 2;
this.button6.Text = "X右移";
this.button6.UseVisualStyleBackColor = true;
//
// button5
//
this.button5.Location = new System.Drawing.Point(10, 61);
this.button5.Name = "button5";
this.button5.Size = new System.Drawing.Size(75, 35);
this.button5.TabIndex = 1;
this.button5.Text = "X左移";
this.button5.UseVisualStyleBackColor = true;
//
// button4
//
this.button4.Location = new System.Drawing.Point(104, 12);
this.button4.Name = "button4";
this.button4.Size = new System.Drawing.Size(75, 35);
this.button4.TabIndex = 0;
this.button4.Text = "Y前进";
this.button4.UseVisualStyleBackColor = true;
//
// groupBox6
//
this.groupBox6.Controls.Add(this.button3);
this.groupBox6.Controls.Add(this.button2);
this.groupBox6.Controls.Add(this.button1);
this.groupBox6.Location = new System.Drawing.Point(6, 24);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(283, 70);
this.groupBox6.TabIndex = 0;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "动作";
//
// button3
//
this.button3.Location = new System.Drawing.Point(198, 24);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(75, 30);
this.button3.TabIndex = 2;
this.button3.Text = "回原点";
this.button3.UseVisualStyleBackColor = true;
//
// button2
//
this.button2.Location = new System.Drawing.Point(104, 24);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 30);
this.button2.TabIndex = 1;
this.button2.Text = "停止";
this.button2.UseVisualStyleBackColor = true;
//
// button1
//
this.button1.Location = new System.Drawing.Point(10, 24);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 30);
this.button1.TabIndex = 0;
this.button1.Text = "开始";
this.button1.UseVisualStyleBackColor = true;
//
// groupBox10
//
this.groupBox10.Controls.Add(this.label48);
@@ -1919,25 +2000,39 @@
this.groupBox10.TabStop = false;
this.groupBox10.Text = "XYZ循环";
//
// checkBox2
// label48
//
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(16, 21);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(30, 16);
this.checkBox2.TabIndex = 0;
this.checkBox2.Text = "X";
this.checkBox2.UseVisualStyleBackColor = true;
this.label48.AutoSize = true;
this.label48.Location = new System.Drawing.Point(220, 65);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(17, 12);
this.label48.TabIndex = 7;
this.label48.Text = "";
//
// checkBox3
// textBox4
//
this.checkBox3.AutoSize = true;
this.checkBox3.Location = new System.Drawing.Point(100, 21);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(30, 16);
this.checkBox3.TabIndex = 1;
this.checkBox3.Text = "Y";
this.checkBox3.UseVisualStyleBackColor = true;
this.textBox4.Location = new System.Drawing.Point(179, 61);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(35, 21);
this.textBox4.TabIndex = 5;
//
// button10
//
this.button10.Location = new System.Drawing.Point(94, 60);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(60, 23);
this.button10.TabIndex = 4;
this.button10.Text = "停止";
this.button10.UseVisualStyleBackColor = true;
//
// button9
//
this.button9.Location = new System.Drawing.Point(13, 60);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(60, 23);
this.button9.TabIndex = 3;
this.button9.Text = "运行";
this.button9.UseVisualStyleBackColor = true;
//
// checkBox4
//
@@ -1949,120 +2044,25 @@
this.checkBox4.Text = "Z";
this.checkBox4.UseVisualStyleBackColor = true;
//
// button9
// checkBox3
//
this.button9.Location = new System.Drawing.Point(13, 60);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(60, 23);
this.button9.TabIndex = 3;
this.button9.Text = "运行";
this.button9.UseVisualStyleBackColor = true;
this.checkBox3.AutoSize = true;
this.checkBox3.Location = new System.Drawing.Point(100, 21);
this.checkBox3.Name = "checkBox3";
this.checkBox3.Size = new System.Drawing.Size(30, 16);
this.checkBox3.TabIndex = 1;
this.checkBox3.Text = "Y";
this.checkBox3.UseVisualStyleBackColor = true;
//
// button10
// checkBox2
//
this.button10.Location = new System.Drawing.Point(94, 60);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(60, 23);
this.button10.TabIndex = 4;
this.button10.Text = "停止";
this.button10.UseVisualStyleBackColor = true;
//
// textBox4
//
this.textBox4.Location = new System.Drawing.Point(179, 61);
this.textBox4.Name = "textBox4";
this.textBox4.Size = new System.Drawing.Size(35, 21);
this.textBox4.TabIndex = 5;
//
// label48
//
this.label48.AutoSize = true;
this.label48.Location = new System.Drawing.Point(220, 65);
this.label48.Name = "label48";
this.label48.Size = new System.Drawing.Size(17, 12);
this.label48.TabIndex = 7;
this.label48.Text = "次";
//
// label47
//
this.label47.AutoSize = true;
this.label47.Location = new System.Drawing.Point(50, 34);
this.label47.Name = "label47";
this.label47.Size = new System.Drawing.Size(17, 12);
this.label47.TabIndex = 0;
this.label47.Text = "X:";
//
// label49
//
this.label49.AutoSize = true;
this.label49.Location = new System.Drawing.Point(50, 65);
this.label49.Name = "label49";
this.label49.Size = new System.Drawing.Size(17, 12);
this.label49.TabIndex = 1;
this.label49.Text = "Y:";
//
// label50
//
this.label50.AutoSize = true;
this.label50.Location = new System.Drawing.Point(50, 95);
this.label50.Name = "label50";
this.label50.Size = new System.Drawing.Size(17, 12);
this.label50.TabIndex = 2;
this.label50.Text = "Z:";
//
// label51
//
this.label51.AutoSize = true;
this.label51.Location = new System.Drawing.Point(127, 34);
this.label51.Name = "label51";
this.label51.Size = new System.Drawing.Size(11, 12);
this.label51.TabIndex = 3;
this.label51.Text = "0";
//
// label52
//
this.label52.AutoSize = true;
this.label52.Location = new System.Drawing.Point(127, 65);
this.label52.Name = "label52";
this.label52.Size = new System.Drawing.Size(11, 12);
this.label52.TabIndex = 4;
this.label52.Text = "0";
//
// label53
//
this.label53.AutoSize = true;
this.label53.Location = new System.Drawing.Point(127, 95);
this.label53.Name = "label53";
this.label53.Size = new System.Drawing.Size(11, 12);
this.label53.TabIndex = 5;
this.label53.Text = "0";
//
// label54
//
this.label54.AutoSize = true;
this.label54.Location = new System.Drawing.Point(197, 34);
this.label54.Name = "label54";
this.label54.Size = new System.Drawing.Size(11, 12);
this.label54.TabIndex = 6;
this.label54.Text = "0";
//
// label55
//
this.label55.AutoSize = true;
this.label55.Location = new System.Drawing.Point(197, 65);
this.label55.Name = "label55";
this.label55.Size = new System.Drawing.Size(11, 12);
this.label55.TabIndex = 7;
this.label55.Text = "0";
//
// label56
//
this.label56.AutoSize = true;
this.label56.Location = new System.Drawing.Point(197, 95);
this.label56.Name = "label56";
this.label56.Size = new System.Drawing.Size(11, 12);
this.label56.TabIndex = 8;
this.label56.Text = "0";
this.checkBox2.AutoSize = true;
this.checkBox2.Location = new System.Drawing.Point(16, 21);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(30, 16);
this.checkBox2.TabIndex = 0;
this.checkBox2.Text = "X";
this.checkBox2.UseVisualStyleBackColor = true;
//
// MainForm
//
@@ -2106,12 +2106,12 @@
this.groupBox4.ResumeLayout(false);
this.groupBox4.PerformLayout();
this.groupBox5.ResumeLayout(false);
this.groupBox6.ResumeLayout(false);
this.groupBox7.ResumeLayout(false);
this.groupBox8.ResumeLayout(false);
this.groupBox8.PerformLayout();
this.groupBox9.ResumeLayout(false);
this.groupBox9.PerformLayout();
this.groupBox8.ResumeLayout(false);
this.groupBox8.PerformLayout();
this.groupBox7.ResumeLayout(false);
this.groupBox6.ResumeLayout(false);
this.groupBox10.ResumeLayout(false);
this.groupBox10.PerformLayout();
this.ResumeLayout(false);
+1 -1
View File
@@ -812,7 +812,7 @@ namespace ACS_DotNET_Library_Advanced_Demo
lstLog.Items.Add("PROGRAM_END event enabled");
}
void _ACS_PROGRAMEND(BufferMasks buffer)
void _ACS_PROGRAMEND(BufferMasks buffer)
{
int bit = 0x01;
int bufferNo = 0;