新增 复合运动控制控件
This commit is contained in:
@@ -13,6 +13,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HSI_Sevenocean_EF3", "..\EF
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HSI_HexagonMI_EF3", "HSI_HexagonMI_EF3\HSI_HexagonMI_EF3.vcxproj", "{ECCF081D-DDA4-49D5-A03F-9DD5AB8B666B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ACS Motion", "Motion\ACS Motion\ACS Motion.csproj", "{19741897-37D8-43EE-94A2-637975035CEA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -77,6 +79,16 @@ Global
|
||||
{ECCF081D-DDA4-49D5-A03F-9DD5AB8B666B}.Release|x64.Build.0 = Release|x64
|
||||
{ECCF081D-DDA4-49D5-A03F-9DD5AB8B666B}.Release|x86.ActiveCfg = Release|Win32
|
||||
{ECCF081D-DDA4-49D5-A03F-9DD5AB8B666B}.Release|x86.Build.0 = Release|Win32
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Debug|x64.Build.0 = Debug|x64
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Debug|x86.Build.0 = Debug|x86
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Release|x64.ActiveCfg = Release|x64
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Release|x64.Build.0 = Release|x64
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Release|x86.ActiveCfg = Release|x86
|
||||
{19741897-37D8-43EE-94A2-637975035CEA}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,7 @@
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ACS_DotNET_Library_Advanced_Demo</RootNamespace>
|
||||
<AssemblyName>ACS_DotNET_Library_Advanced_Demo</AssemblyName>
|
||||
<AssemblyName>ACS_Motion</AssemblyName>
|
||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SccProjectName>SAK</SccProjectName>
|
||||
@@ -64,6 +64,9 @@
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Telerik.WinControls, Version=2018.3.1016.20, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
|
||||
<Reference Include="Telerik.WinControls.UI, Version=2018.3.1016.20, Culture=neutral, PublicKeyToken=5bb2a467cbec794e, processorArchitecture=MSIL" />
|
||||
<Reference Include="TelerikCommon, Version=2018.3.1016.20, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="MainForm.cs">
|
||||
@@ -78,6 +81,7 @@
|
||||
<DependentUpon>MainForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
|
||||
Generated
+456
-1
@@ -173,6 +173,43 @@
|
||||
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
||||
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.groupBox1.SuspendLayout();
|
||||
this.grpMotionTest.SuspendLayout();
|
||||
this.grpMst.SuspendLayout();
|
||||
@@ -185,6 +222,12 @@
|
||||
this.grpIO.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
this.groupBox4.SuspendLayout();
|
||||
this.groupBox5.SuspendLayout();
|
||||
this.groupBox6.SuspendLayout();
|
||||
this.groupBox7.SuspendLayout();
|
||||
this.groupBox8.SuspendLayout();
|
||||
this.groupBox9.SuspendLayout();
|
||||
this.groupBox10.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// groupBox1
|
||||
@@ -1657,10 +1700,376 @@
|
||||
this.txtCommand.TabIndex = 7;
|
||||
this.txtCommand.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtCommand_KeyPress);
|
||||
//
|
||||
// groupBox5
|
||||
//
|
||||
this.groupBox5.Controls.Add(this.groupBox9);
|
||||
this.groupBox5.Controls.Add(this.groupBox8);
|
||||
this.groupBox5.Controls.Add(this.groupBox7);
|
||||
this.groupBox5.Controls.Add(this.groupBox6);
|
||||
this.groupBox5.Location = new System.Drawing.Point(919, 12);
|
||||
this.groupBox5.Name = "groupBox5";
|
||||
this.groupBox5.Size = new System.Drawing.Size(298, 592);
|
||||
this.groupBox5.TabIndex = 8;
|
||||
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);
|
||||
this.groupBox9.Controls.Add(this.label55);
|
||||
this.groupBox9.Controls.Add(this.label54);
|
||||
this.groupBox9.Controls.Add(this.label53);
|
||||
this.groupBox9.Controls.Add(this.label52);
|
||||
this.groupBox9.Controls.Add(this.label51);
|
||||
this.groupBox9.Controls.Add(this.label50);
|
||||
this.groupBox9.Controls.Add(this.label49);
|
||||
this.groupBox9.Controls.Add(this.label47);
|
||||
this.groupBox9.Location = new System.Drawing.Point(6, 447);
|
||||
this.groupBox9.Name = "groupBox9";
|
||||
this.groupBox9.Size = new System.Drawing.Size(279, 139);
|
||||
this.groupBox9.TabIndex = 3;
|
||||
this.groupBox9.TabStop = false;
|
||||
this.groupBox9.Text = "当前实际位置/规划位置(mm)";
|
||||
//
|
||||
// groupBox10
|
||||
//
|
||||
this.groupBox10.Controls.Add(this.label48);
|
||||
this.groupBox10.Controls.Add(this.textBox4);
|
||||
this.groupBox10.Controls.Add(this.button10);
|
||||
this.groupBox10.Controls.Add(this.button9);
|
||||
this.groupBox10.Controls.Add(this.checkBox4);
|
||||
this.groupBox10.Controls.Add(this.checkBox3);
|
||||
this.groupBox10.Controls.Add(this.checkBox2);
|
||||
this.groupBox10.Location = new System.Drawing.Point(919, 610);
|
||||
this.groupBox10.Name = "groupBox10";
|
||||
this.groupBox10.Size = new System.Drawing.Size(295, 103);
|
||||
this.groupBox10.TabIndex = 9;
|
||||
this.groupBox10.TabStop = false;
|
||||
this.groupBox10.Text = "XYZ循环";
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
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;
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
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;
|
||||
//
|
||||
// checkBox4
|
||||
//
|
||||
this.checkBox4.AutoSize = true;
|
||||
this.checkBox4.Location = new System.Drawing.Point(184, 21);
|
||||
this.checkBox4.Name = "checkBox4";
|
||||
this.checkBox4.Size = new System.Drawing.Size(30, 16);
|
||||
this.checkBox4.TabIndex = 2;
|
||||
this.checkBox4.Text = "Z";
|
||||
this.checkBox4.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;
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// 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";
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(914, 725);
|
||||
this.ClientSize = new System.Drawing.Size(1226, 725);
|
||||
this.Controls.Add(this.groupBox10);
|
||||
this.Controls.Add(this.groupBox5);
|
||||
this.Controls.Add(this.groupBox4);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Controls.Add(this.grpIO);
|
||||
@@ -1696,6 +2105,15 @@
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
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.groupBox10.ResumeLayout(false);
|
||||
this.groupBox10.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1845,6 +2263,43 @@
|
||||
private System.Windows.Forms.GroupBox groupBox4;
|
||||
private System.Windows.Forms.Button btnSend;
|
||||
private System.Windows.Forms.TextBox txtCommand;
|
||||
private System.Windows.Forms.GroupBox groupBox5;
|
||||
private System.Windows.Forms.GroupBox groupBox9;
|
||||
private System.Windows.Forms.GroupBox groupBox8;
|
||||
private System.Windows.Forms.Button button8;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.TextBox textBox3;
|
||||
private System.Windows.Forms.TextBox textBox2;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.Label label46;
|
||||
private System.Windows.Forms.Label label45;
|
||||
private System.Windows.Forms.Label label44;
|
||||
private System.Windows.Forms.GroupBox groupBox7;
|
||||
private System.Windows.Forms.Button button7;
|
||||
private System.Windows.Forms.Button button6;
|
||||
private System.Windows.Forms.Button button5;
|
||||
private System.Windows.Forms.Button button4;
|
||||
private System.Windows.Forms.GroupBox groupBox6;
|
||||
private System.Windows.Forms.Button button3;
|
||||
private System.Windows.Forms.Button button2;
|
||||
private System.Windows.Forms.Button button1;
|
||||
private System.Windows.Forms.GroupBox groupBox10;
|
||||
private System.Windows.Forms.Label label48;
|
||||
private System.Windows.Forms.TextBox textBox4;
|
||||
private System.Windows.Forms.Button button10;
|
||||
private System.Windows.Forms.Button button9;
|
||||
private System.Windows.Forms.CheckBox checkBox4;
|
||||
private System.Windows.Forms.CheckBox checkBox3;
|
||||
private System.Windows.Forms.CheckBox checkBox2;
|
||||
private System.Windows.Forms.Label label56;
|
||||
private System.Windows.Forms.Label label55;
|
||||
private System.Windows.Forms.Label label54;
|
||||
private System.Windows.Forms.Label label53;
|
||||
private System.Windows.Forms.Label label52;
|
||||
private System.Windows.Forms.Label label51;
|
||||
private System.Windows.Forms.Label label50;
|
||||
private System.Windows.Forms.Label label49;
|
||||
private System.Windows.Forms.Label label47;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ namespace ACS_DotNET_Library_Advanced_Demo
|
||||
m_nOutputState = 0;
|
||||
|
||||
// Clear connection list from SPiiPlus UserMode-Driver (UMD)
|
||||
TernminateUMD_Connection();
|
||||
//TernminateUMD_Connection();
|
||||
}
|
||||
|
||||
private void rdoTCP_CheckedChanged(object sender, EventArgs e)
|
||||
@@ -143,12 +143,12 @@ namespace ACS_DotNET_Library_Advanced_Demo
|
||||
try
|
||||
{
|
||||
if (rdoTCP.Checked)
|
||||
{
|
||||
{
|
||||
// TCP/IP (Ethernet)
|
||||
_ACS.OpenCommEthernetTCP(
|
||||
txtIP.Text, // IP Address (Default : 10.0.0.100)
|
||||
Convert.ToInt32(txtPort.Text.Trim()) // TCP/IP Port nubmer (default : 701)
|
||||
);
|
||||
txtIP.Text, // IP Address (Default : 10.0.0.100)
|
||||
Convert.ToInt32(txtPort.Text.Trim())); // TCP/IP Port nubmer (default : 701)
|
||||
|
||||
}
|
||||
else if (rdoSimu.Checked)
|
||||
{
|
||||
@@ -192,19 +192,21 @@ namespace ACS_DotNET_Library_Advanced_Demo
|
||||
tmrMonitor.Interval = 50;
|
||||
tmrMonitor.Start();
|
||||
}
|
||||
|
||||
catch (COMException comex)
|
||||
{
|
||||
MessageBox.Show("Connection fail", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
System.Diagnostics.Debug.WriteLine("Connection fail" + comex.Message);
|
||||
|
||||
m_bConnected = false;
|
||||
return;
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "ERROR", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
System.Diagnostics.Debug.WriteLine(ex.Message);
|
||||
}
|
||||
//catch (COMException comex)
|
||||
//{
|
||||
// MessageBox.Show("Connection fail", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
// System.Diagnostics.Debug.WriteLine("Connection fail" + comex.Message);
|
||||
|
||||
// m_bConnected = false;
|
||||
// return;
|
||||
//}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Telerik.WinControls.UI.RadGroupBox, Telerik.WinControls.UI, Version=2018.3.1016.20, Culture=neutral, PublicKeyToken=5bb2a467cbec794e
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,16 @@
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\ACS_DotNET_Library_Advanced_Demo.exe
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\ACS_DotNET_Library_Advanced_Demo.pdb
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS Motion.csprojAssemblyReference.cache
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_DotNET_Library_Advanced_Demo.MainForm.resources
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_DotNET_Library_Advanced_Demo.Properties.Resources.resources
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS Motion.csproj.GenerateResource.cache
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS Motion.csproj.CoreCompileInputs.cache
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS Motion.csproj.CopyComplete
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_DotNET_Library_Advanced_Demo.exe
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_DotNET_Library_Advanced_Demo.pdb
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\ACS_Motion.exe
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\ACS_Motion.pdb
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\Telerik.WinControls.dll
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\Telerik.WinControls.UI.dll
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\TelerikCommon.dll
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\Telerik.WinControls.xml
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\bin\Debug\Telerik.WinControls.UI.xml
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_Motion.exe.licenses
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_Motion.exe
|
||||
E:\HexagonProjects\2022-05-直线电机平台\LM-Middleware\Motion\ACS Motion\obj\x86\Debug\ACS_Motion.pdb
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user