基于接收工程的一些编译和阅读
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@@ -22,26 +22,27 @@
|
||||
<ProjectGuid>{8597AC0D-59A6-43D6-80E4-B7D7B9E49F47}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>HSI_ADT_8949</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
@@ -49,7 +50,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
@@ -85,7 +86,7 @@
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;HSI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
@@ -105,7 +106,7 @@ xcopy "$(OutDir)\$(ProjectName).pdb" ..\HSI_ADT_8949_WPFTest\bin\Debug\HSI.pdb/D
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<WarningLevel>TurnOffAllWarnings</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;HSI_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.19041.0
|
||||
Debug|x64|E:\HexagonProjects\EF3-Interfac\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\|
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
||||
@@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1E7A4CE548DC0E20DEB3424B333A80B7552DEE8"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_ADT_8949_WPFTest.App app = new HSI_ADT_8949_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1E7A4CE548DC0E20DEB3424B333A80B7552DEE8"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_ADT_8949_WPFTest.App app = new HSI_ADT_8949_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1811
File diff suppressed because it is too large
Load Diff
+1811
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
+334
@@ -0,0 +1,334 @@
|
||||
#pragma checksum "..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77E72869BBD83963DB2C19418134A31A7CABE3F2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/HSI_ADT_8949_WPFTest;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+334
@@ -0,0 +1,334 @@
|
||||
#pragma checksum "..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77E72869BBD83963DB2C19418134A31A7CABE3F2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/HSI_ADT_8949_WPFTest;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1E7A4CE548DC0E20DEB3424B333A80B7552DEE8"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_ADT_8949_WPFTest.App app = new HSI_ADT_8949_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E1E7A4CE548DC0E20DEB3424B333A80B7552DEE8"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+1811
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "191B84DC751D7E3F5EF45FC43949A2BD86AC15FA"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
BIN
Binary file not shown.
+334
@@ -0,0 +1,334 @@
|
||||
#pragma checksum "..\..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77E72869BBD83963DB2C19418134A31A7CABE3F2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_ADT_8949_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/HSI_ADT_8949_WPFTest;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\..\Trigger.xaml"
|
||||
((HSI_ADT_8949_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
-4
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "77E72869BBD83963DB2C19418134A31A7CABE3F2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.19041.0
|
||||
Debug|Win32|E:\HexagonProjects\2022-05-直线电机平台\EF3-Interfac\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\HSI_GOOGOL_GTS800\|
|
||||
Binary file not shown.
+6
-5
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@@ -22,26 +22,27 @@
|
||||
<ProjectGuid>{BD031D38-59E8-47B8-9FE3-2E6F5F5CC7B3}</ProjectGuid>
|
||||
<RootNamespace>HSI_GOOGOL_GTS800</RootNamespace>
|
||||
<Keyword>MFCDLLProj</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
@@ -49,7 +50,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
/// Auto Gen File of Version In Hg Release Status
|
||||
#pragma once
|
||||
#define HSI_VERSION_RELEASE
|
||||
#define HSI_VERSION_NUM 386
|
||||
#define HSI_VERSION_SET _T("6d6585cd5f47")
|
||||
#define HSI_VERSION_NUM 469
|
||||
#define HSI_VERSION_SET _T("4bd7d1b")
|
||||
///
|
||||
#define HSI_VERSION "3.1.2"
|
||||
#define HSI_VERSION_CSTRING _T("3.1.2")
|
||||
#define HSI_VERSION_MAJOR 3
|
||||
#define HSI_VERSION_MINOR 1
|
||||
#define HSI_VERSION_REVISION 2
|
||||
#define HSI_VERSION_REVNUM 386
|
||||
#define HSI_VERSION_REVNUM 469
|
||||
#define HSI_VERSION_BUILD_DATE _T(__DATE__ )
|
||||
#define HSI_VERSION_BUILD_TIME _T(__TIME__ )
|
||||
#define HSI_FILE_DESCRIPTION "2017.02.23 / 17:18 386"
|
||||
#define HSI_FILE_CSDESCRIPTION _T("2017.02.23 / 17:18 386")
|
||||
#define HSI_FILE_DESCRIPTION "2022.09.30 / 15:45 469"
|
||||
#define HSI_FILE_CSDESCRIPTION _T("2022.09.30 / 15:45 469")
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
-2
@@ -1,2 +1,2 @@
|
||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1
|
||||
Debug|x64|D:\Metus_git\2020_R1\HG_EF7_HSI_EF1\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\|
|
||||
#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.19041.0
|
||||
Debug|x64|E:\HexagonProjects\EF3-Interfac\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\|
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -142,26 +142,26 @@ namespace HSI_GOOGOL_GTS800_WPFTest.HSI
|
||||
{
|
||||
case Def.HSI_NOTIFY_TYPE.HSI_NOTIFY_PROGRAM_EXECUTION_START:
|
||||
{
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1020, new IntPtr(0), new IntPtr(0)); //创建消息
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1020, new IntPtr(0), new IntPtr(0)); //������Ϣ
|
||||
MainWindow.SendMessage(msg.HWnd, msg.Msg, msg.WParam, msg.LParam);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
//安全光栅
|
||||
//��ȫ��դ
|
||||
case Def.HSI_EVENT_TYPE.HSI_EVENT_SAFETY:
|
||||
var eventFunctionId3 = (Def.HSI_NOTIFY_TYPE)eventId;
|
||||
switch (eventFunctionId3)
|
||||
{
|
||||
case Def.HSI_NOTIFY_TYPE.HSI_NOTIFY_PROGRAM_EXECUTION_STOP:
|
||||
{
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1021, new IntPtr(0), new IntPtr(0)); //创建消息
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1021, new IntPtr(0), new IntPtr(0)); //������Ϣ
|
||||
MainWindow.SendMessage(msg.HWnd, msg.Msg, msg.WParam, msg.LParam);
|
||||
break;
|
||||
}
|
||||
case Def.HSI_NOTIFY_TYPE.HSI_NOTIFY_PROGRAM_EXECUTION_START:
|
||||
{
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1022, new IntPtr(0), new IntPtr(0)); //创建消息
|
||||
Message msg = Message.Create(MainWindow.Mainhwnd, 1022, new IntPtr(0), new IntPtr(0)); //������Ϣ
|
||||
MainWindow.SendMessage(msg.HWnd, msg.Msg, msg.WParam, msg.LParam);
|
||||
break;
|
||||
}
|
||||
@@ -672,9 +672,9 @@ namespace HSI_GOOGOL_GTS800_WPFTest.HSI
|
||||
HSI_SCAN_MOTION_SPEC_LOCA = 100, //EF1
|
||||
HSI_SCAN_MOTION_EQ_DIS,
|
||||
HSI_SCAN_MOTION_EQ_DIS_II,
|
||||
HSI_SCAN_MOTION_LINEAR_TEST,//测试使用
|
||||
HSI_SCAN_MOTION_EQ_TEST,//测试使用
|
||||
HSI_SCAN_MOTION_MANUAL_TEST//测试使用
|
||||
HSI_SCAN_MOTION_LINEAR_TEST,//����ʹ��
|
||||
HSI_SCAN_MOTION_EQ_TEST,//����ʹ��
|
||||
HSI_SCAN_MOTION_MANUAL_TEST//����ʹ��
|
||||
|
||||
};
|
||||
public const int HSI_MAX_POSITIONS_STORED = 500;
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
[assembly: AssemblyTitle("tip 2017.02.24.14:44 387")]
|
||||
[assembly: AssemblyTitle("tip 周日 2.22.10.14:35 ")]
|
||||
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
[JOG_SPEED]
|
||||
JOG_SPEED_0=200.0
|
||||
JOG_STARTV_0=5.0
|
||||
JOG_ACC_TIME_0=0.2
|
||||
JOG_DEC_TIME_0=0.2
|
||||
JOG_SPEED_1=150.0
|
||||
JOG_STARTV_1=5.0
|
||||
JOG_ACC_TIME_1=0.2
|
||||
JOG_DEC_TIME_1=0.2
|
||||
JOG_SPEED_2=100.0
|
||||
JOG_STARTV_2=5.0
|
||||
JOG_ACC_TIME_2=0.2
|
||||
JOG_DEC_TIME_2=0.2
|
||||
JOG_SPEED_3=10.0
|
||||
JOG_STARTV_3=5.0
|
||||
JOG_ACC_TIME_3=0.2
|
||||
JOG_DEC_TIME_3=0.2
|
||||
JOG_SPEED_4=1.0
|
||||
JOG_STARTV_4=5.0
|
||||
JOG_ACC_TIME_4=0.2
|
||||
JOG_DEC_TIME_4=0.2
|
||||
[RESOLUTION]
|
||||
SCALE_RESOLUTION_1=0.0004
|
||||
SCALE_RESOLUTION_2=0.0004
|
||||
SCALE_RESOLUTION_3=0.0004
|
||||
SCALE_RESOLUTION_4=0.0004
|
||||
[LIMIT]
|
||||
NEG_WORKING_LIMIT_1=-260.0
|
||||
POS_WORKING_LIMIT_1=40.0
|
||||
NEG_WORKING_LIMIT_2=-40.0
|
||||
POS_WORKING_LIMIT_2=160.0
|
||||
NEG_WORKING_LIMIT_3=-40.0
|
||||
POS_WORKING_LIMIT_3=160.0
|
||||
NEG_WORKING_LIMIT_4=-40.0
|
||||
POS_WORKING_LIMIT_4=200.0
|
||||
[HOME]
|
||||
HOME_HIGH_SPEED_1=200.0
|
||||
HOME_HIGH_ACC_TIME_1=0.2
|
||||
HOME_LOW_SPEED_1=180.0
|
||||
HOME_LOW_ACC_TIME_1=0.2
|
||||
HOME_TIME_1=1000
|
||||
HOME_MACHINE_AXIS_1=1
|
||||
HOME_HIGH_SPEED_2=200.0
|
||||
HOME_HIGH_ACC_TIME_2=0.2
|
||||
HOME_LOW_SPEED_2=180.0
|
||||
HOME_LOW_ACC_TIME_2=0.2
|
||||
HOME_TIME_2=1000
|
||||
HOME_MACHINE_AXIS_2=1
|
||||
HOME_HIGH_SPEED_3=200.0
|
||||
HOME_HIGH_ACC_TIME_3=0.2
|
||||
HOME_LOW_SPEED_3=180.0
|
||||
HOME_LOW_ACC_TIME_3=0.2
|
||||
HOME_TIME_3=1000
|
||||
HOME_MACHINE_AXIS_3=1
|
||||
HOME_HIGH_SPEED_4=200.0
|
||||
HOME_HIGH_ACC_TIME_4=0.2
|
||||
HOME_LOW_SPEED_4=180.0
|
||||
HOME_LOW_ACC_TIME_4=0.2
|
||||
HOME_TIME_4=1000
|
||||
HOME_MACHINE_AXIS_4=0
|
||||
[PRECISION]
|
||||
PRECISION_COUNT_1=8
|
||||
PRECISION_TIME_1=20000
|
||||
PRECISION_COUNT_2=8
|
||||
PRECISION_TIME_2=20000
|
||||
PRECISION_COUNT_3=8
|
||||
PRECISION_TIME_3=20000
|
||||
PRECISION_COUNT_4=8
|
||||
PRECISION_TIME_4=20000
|
||||
[SET_POSITION_SPEED]
|
||||
SET_POTION_SPEED_1=500.0
|
||||
SET_POTION_ACC_TIME_1=0.2
|
||||
SET_POTION_DEC_TIME_1=0.2
|
||||
SET_POSITION_COUNT_1=240
|
||||
SET_POTION_SPEED_2=500.0
|
||||
SET_POTION_ACC_TIME_2=0.2
|
||||
SET_POTION_DEC_TIME_2=0.2
|
||||
SET_POSITION_COUNT_2=240
|
||||
SET_POTION_SPEED_3=500.0
|
||||
SET_POTION_ACC_TIME_3=0.2
|
||||
SET_POTION_DEC_TIME_3=0.2
|
||||
SET_POSITION_COUNT_3=240
|
||||
SET_POTION_SPEED_4=500.0
|
||||
SET_POTION_ACC_TIME_4=0.2
|
||||
SET_POTION_DEC_TIME_4=0.2
|
||||
SET_POSITION_COUNT_4=240
|
||||
+337
@@ -0,0 +1,337 @@
|
||||
[JOG_SPEED]
|
||||
JOG速度(pulse/ms)
|
||||
JOG_SPEED_0=200.0
|
||||
JOG_SPEED_1=150.0
|
||||
JOG_SPEED_2=50
|
||||
JOG_SPEED_3=10
|
||||
JOG_SPEED_4=1
|
||||
|
||||
;JOG加速度(pulse/ms^2)
|
||||
JOG_ACC_0=2.0
|
||||
JOG_ACC_1=2.0
|
||||
JOG_ACC_2=2.0
|
||||
JOG_ACC_3=1.0
|
||||
JOG_ACC_4=1.0
|
||||
|
||||
;JOG减速度(pulse/ms^2)
|
||||
JOG_DEC_0=2.0
|
||||
JOG_DEC_1=2.0
|
||||
JOG_DEC_2=2.0
|
||||
JOG_DEC_3=1.0
|
||||
JOG_DEC_4=1.0
|
||||
|
||||
;JOG模式采用急停还是平滑停止,0是平滑停止1为急停,默认0
|
||||
JOG_STOP_MODE_1=0
|
||||
JOG_STOP_MODE_2=0
|
||||
JOG_STOP_MODE_3=0
|
||||
JOG_STOP_MODE_4=0
|
||||
JOG_STOP_MODE_5=0
|
||||
JOG_STOP_MODE_6=0
|
||||
JOG_STOP_MODE_7=0
|
||||
JOG_STOP_MODE_8=0
|
||||
JOG_STOP_MODE=0
|
||||
JOG_SPEED_GEAR0_1=200.0
|
||||
JOG_ACC_GEAR0_1=2.0
|
||||
JOG_DEC_GEAR0_1=2.0
|
||||
JOG_SPEED_GEAR0_2=200.0
|
||||
JOG_ACC_GEAR0_2=2.0
|
||||
JOG_DEC_GEAR0_2=2.0
|
||||
JOG_SPEED_GEAR0_3=150.0
|
||||
JOG_ACC_GEAR0_3=2.0
|
||||
JOG_DEC_GEAR0_3=2.0
|
||||
JOG_SPEED_GEAR0_4=200.0
|
||||
JOG_ACC_GEAR0_4=2.0
|
||||
JOG_DEC_GEAR0_4=2.0
|
||||
JOG_SPEED_GEAR1_1=100.0
|
||||
JOG_ACC_GEAR1_1=2.0
|
||||
JOG_DEC_GEAR1_1=2.0
|
||||
JOG_SPEED_GEAR1_2=100.0
|
||||
JOG_ACC_GEAR1_2=2.0
|
||||
JOG_DEC_GEAR1_2=2.0
|
||||
JOG_SPEED_GEAR1_3=80.0
|
||||
JOG_ACC_GEAR1_3=2.0
|
||||
JOG_DEC_GEAR1_3=2.0
|
||||
JOG_SPEED_GEAR1_4=100.0
|
||||
JOG_ACC_GEAR1_4=2.0
|
||||
JOG_DEC_GEAR1_4=2.0
|
||||
JOG_SPEED_GEAR2_1=50.0
|
||||
JOG_ACC_GEAR2_1=2.0
|
||||
JOG_DEC_GEAR2_1=2.0
|
||||
JOG_SPEED_GEAR2_2=50.0
|
||||
JOG_ACC_GEAR2_2=2.0
|
||||
JOG_DEC_GEAR2_2=2.0
|
||||
JOG_SPEED_GEAR2_3=50.0
|
||||
JOG_ACC_GEAR2_3=2.0
|
||||
JOG_DEC_GEAR2_3=2.0
|
||||
JOG_SPEED_GEAR2_4=50.0
|
||||
JOG_ACC_GEAR2_4=2.0
|
||||
JOG_DEC_GEAR2_4=2.0
|
||||
JOG_SPEED_GEAR3_1=10.0
|
||||
JOG_ACC_GEAR3_1=1.0
|
||||
JOG_DEC_GEAR3_1=1.0
|
||||
JOG_SPEED_GEAR3_2=10.0
|
||||
JOG_ACC_GEAR3_2=1.0
|
||||
JOG_DEC_GEAR3_2=1.0
|
||||
JOG_SPEED_GEAR3_3=10.0
|
||||
JOG_ACC_GEAR3_3=1.0
|
||||
JOG_DEC_GEAR3_3=1.0
|
||||
JOG_SPEED_GEAR3_4=10.0
|
||||
JOG_ACC_GEAR3_4=1.0
|
||||
JOG_DEC_GEAR3_4=1.0
|
||||
JOG_SPEED_GEAR4_1=1.0
|
||||
JOG_ACC_GEAR4_1=1.0
|
||||
JOG_DEC_GEAR4_1=1.0
|
||||
JOG_SPEED_GEAR4_2=1.0
|
||||
JOG_ACC_GEAR4_2=1.0
|
||||
JOG_DEC_GEAR4_2=1.0
|
||||
JOG_SPEED_GEAR4_3=1.0
|
||||
JOG_ACC_GEAR4_3=1.0
|
||||
JOG_DEC_GEAR4_3=1.0
|
||||
JOG_SPEED_GEAR4_4=1.0
|
||||
JOG_ACC_GEAR4_4=1.0
|
||||
JOG_DEC_GEAR4_4=1.0
|
||||
|
||||
;0:都使用(正常情况) 1:只使用灯,而不使用控制器;默认0
|
||||
[USE_LIGHT]
|
||||
ONLY_USE_LIGHT=0
|
||||
|
||||
[RESOLUTION]
|
||||
;光栅尺的分辨率(mm)
|
||||
SCALE_RESOLUTION_1=0.0004
|
||||
SCALE_RESOLUTION_2=0.0004
|
||||
SCALE_RESOLUTION_3=0.0004
|
||||
SCALE_RESOLUTION_4=0.0004
|
||||
SCALE_RESOLUTION_5=0.0004
|
||||
SCALE_RESOLUTION_6=0.0004
|
||||
SCALE_RESOLUTION_7=0.0004
|
||||
SCALE_RESOLUTION_8=0.0004
|
||||
|
||||
[LIMIT]
|
||||
;负限位(mm),必须是负数
|
||||
NEG_WORKING_LIMIT_1=-260.0
|
||||
NEG_WORKING_LIMIT_2=-40.0
|
||||
NEG_WORKING_LIMIT_3=-40.0
|
||||
NEG_WORKING_LIMIT_4=-40.0
|
||||
NEG_WORKING_LIMIT_5=-40.0
|
||||
NEG_WORKING_LIMIT_6=-40.0
|
||||
NEG_WORKING_LIMIT_7=-40.0
|
||||
NEG_WORKING_LIMIT_8=-40.0
|
||||
|
||||
;正限位(mm),必须是正数
|
||||
POS_WORKING_LIMIT_1=40.0
|
||||
POS_WORKING_LIMIT_2=160.0
|
||||
POS_WORKING_LIMIT_3=160.0
|
||||
POS_WORKING_LIMIT_4=200.0
|
||||
POS_WORKING_LIMIT_5=200.0
|
||||
POS_WORKING_LIMIT_6=200.0
|
||||
POS_WORKING_LIMIT_7=200.0
|
||||
POS_WORKING_LIMIT_8=200.0
|
||||
|
||||
[HOME]
|
||||
;选择需要回家的轴号,改为1
|
||||
HOME_MACHINE_AXIS_1=1
|
||||
HOME_MACHINE_AXIS_2=1
|
||||
HOME_MACHINE_AXIS_3=1
|
||||
HOME_MACHINE_AXIS_4=0
|
||||
HOME_MACHINE_AXIS_5=0
|
||||
HOME_MACHINE_AXIS_6=0
|
||||
HOME_MACHINE_AXIS_7=0
|
||||
HOME_MACHINE_AXIS_8=0
|
||||
|
||||
;是否启动实际位置判断是否回家,默认0,1启用,0关闭
|
||||
IS_HOME_ENC_POS=0
|
||||
;是否启动规划位置判断是否回家,默认1,1启用,0关闭
|
||||
IS_HOME_PRF_POS=1
|
||||
|
||||
;关闭电源时记住当前的位置,用于判断是否需要回家
|
||||
HOME_POS_AXIS_1=0
|
||||
HOME_POS_AXIS_2=0
|
||||
HOME_POS_AXIS_3=0
|
||||
HOME_POS_AXIS_4=0
|
||||
HOME_POS_AXIS_5=0
|
||||
HOME_POS_AXIS_6=0
|
||||
HOME_POS_AXIS_7=0
|
||||
HOME_POS_AXIS_8=0
|
||||
|
||||
;回家第一段速度(pulse/ms)
|
||||
HOME_HIGH_SPEED_1=200.0
|
||||
HOME_HIGH_SPEED_2=200.0
|
||||
HOME_HIGH_SPEED_3=200.0
|
||||
HOME_HIGH_SPEED_4=200.0
|
||||
HOME_HIGH_SPEED_5=200.0
|
||||
HOME_HIGH_SPEED_6=200.0
|
||||
HOME_HIGH_SPEED_7=200.0
|
||||
HOME_HIGH_SPEED_8=200.0
|
||||
|
||||
;回家第一段加速度(pulse/ms^2)
|
||||
HOME_HIGH_ACC_1=2.0
|
||||
HOME_HIGH_ACC_2=2.0
|
||||
HOME_HIGH_ACC_3=2.0
|
||||
HOME_HIGH_ACC_4=2.0
|
||||
HOME_HIGH_ACC_5=2.0
|
||||
HOME_HIGH_ACC_6=2.0
|
||||
HOME_HIGH_ACC_7=2.0
|
||||
HOME_HIGH_ACC_8=2.0
|
||||
|
||||
;回家第二段速度(pulse/ms)
|
||||
HOME_LOW_SPEED_1=180.0
|
||||
HOME_LOW_SPEED_2=180.0
|
||||
HOME_LOW_SPEED_3=180.0
|
||||
HOME_LOW_SPEED_4=180.0
|
||||
HOME_LOW_SPEED_5=180.0
|
||||
HOME_LOW_SPEED_6=180.0
|
||||
HOME_LOW_SPEED_7=180.0
|
||||
HOME_LOW_SPEED_8=180.0
|
||||
|
||||
;回家第二段加速度(pulse/ms^2)
|
||||
HOME_LOW_ACC_1=2.0
|
||||
HOME_LOW_ACC_2=2.0
|
||||
HOME_LOW_ACC_3=2.0
|
||||
HOME_LOW_ACC_4=2.0
|
||||
HOME_LOW_ACC_5=2.0
|
||||
HOME_LOW_ACC_6=2.0
|
||||
HOME_LOW_ACC_7=2.0
|
||||
HOME_LOW_ACC_8=2.0
|
||||
|
||||
;回家延时时间(ms)
|
||||
HOME_TIME_1=1000
|
||||
HOME_TIME_2=1000
|
||||
HOME_TIME_3=1000
|
||||
HOME_TIME_4=1000
|
||||
HOME_TIME_5=1000
|
||||
HOME_TIME_6=1000
|
||||
HOME_TIME_7=1000
|
||||
HOME_TIME_8=1000
|
||||
|
||||
[PID]
|
||||
;PID比例调节,应从0.01递增开始调试
|
||||
PID_KP_1=1.20
|
||||
PID_KP_2=1.20
|
||||
PID_KP_3=1.20
|
||||
PID_KP_4=1.20
|
||||
PID_KP_5=1.20
|
||||
PID_KP_6=1.20
|
||||
PID_KP_7=1.20
|
||||
PID_KP_8=1.20
|
||||
|
||||
[PRECISION]
|
||||
;超时时间(0.1ms)
|
||||
PRECISION_TIME_1=20000
|
||||
PRECISION_TIME_2=20000
|
||||
PRECISION_TIME_3=20000
|
||||
PRECISION_TIME_4=20000
|
||||
PRECISION_TIME_5=20000
|
||||
PRECISION_TIME_6=20000
|
||||
PRECISION_TIME_7=20000
|
||||
PRECISION_TIME_8=20000
|
||||
|
||||
;回家误差脉冲个数
|
||||
PRECISION_COUNT_1=8
|
||||
PRECISION_COUNT_2=8
|
||||
PRECISION_COUNT_3=8
|
||||
PRECISION_COUNT_4=8
|
||||
PRECISION_COUNT_5=8
|
||||
PRECISION_COUNT_6=8
|
||||
PRECISION_COUNT_7=8
|
||||
PRECISION_COUNT_8=8
|
||||
|
||||
[SET_POSITION_SPEED]
|
||||
;XYZ定位的合成速度(pulse/ms)
|
||||
SET_POTION_SPEED_1=500.0
|
||||
SET_POTION_SPEED_2=500.0
|
||||
SET_POTION_SPEED_3=500.0
|
||||
SET_POTION_SPEED_4=500.0
|
||||
SET_POTION_SPEED_5=500.0
|
||||
SET_POTION_SPEED_6=500.0
|
||||
SET_POTION_SPEED_7=500.0
|
||||
SET_POTION_SPEED_8=500.0
|
||||
|
||||
;XYZ定位的合成加速度(pulse/ms^2)
|
||||
SET_POTION_ACC_1=2.5
|
||||
SET_POTION_ACC_2=2.5
|
||||
SET_POTION_ACC_3=2.5
|
||||
SET_POTION_ACC_4=2.5
|
||||
SET_POTION_ACC_5=2.5
|
||||
SET_POTION_ACC_6=2.5
|
||||
SET_POTION_ACC_7=2.5
|
||||
SET_POTION_ACC_8=2.5
|
||||
|
||||
;XYZ定位的终点速度(pulse/ms)
|
||||
SET_POTION_DEC_1=1.0
|
||||
SET_POTION_DEC_2=1.0
|
||||
SET_POTION_DEC_3=1.0
|
||||
SET_POTION_DEC_4=1.0
|
||||
SET_POTION_DEC_5=1.0
|
||||
SET_POTION_DEC_6=1.0
|
||||
SET_POTION_DEC_7=1.0
|
||||
SET_POTION_DEC_8=1.0
|
||||
|
||||
;XYZ定到位判断次数
|
||||
SET_POSITION_COUNT_1=240
|
||||
SET_POSITION_COUNT_2=240
|
||||
SET_POSITION_COUNT_3=240
|
||||
SET_POSITION_COUNT_4=240
|
||||
SET_POSITION_COUNT_5=240
|
||||
SET_POSITION_COUNT_6=240
|
||||
SET_POSITION_COUNT_7=240
|
||||
SET_POSITION_COUNT_8=240
|
||||
|
||||
[COMPORT]
|
||||
;灯光控制器类型选择
|
||||
;0:启用c++调用灯光,不使用STM32 USB控制时,需要把下面的IS_STM32_USB改为0
|
||||
;1:wpf直接调用;
|
||||
;2:DP光源控制器;
|
||||
;3:旧的6环8区为3(环形可调);
|
||||
;4:新的6环8区为4(扇区可调);
|
||||
;5:STM32控制器,IP地址在exe目录下的CameraNum.ini中修改
|
||||
;61:OPT光源控制器网络模式(111ms),IP地址在exe目录下的CameraNum.ini中修改,串口模式62(44ms);
|
||||
COM_PORT_CPP_WPF=0
|
||||
|
||||
;使用stm32时,是否使用USB通讯,使用该功能时,COM_PORT_CPP_WPF必须等于0
|
||||
IS_STM32_USB=0
|
||||
|
||||
;是否打开第一个串,1为打开,0为关闭,默认0
|
||||
IS_COM_PORT_A=0
|
||||
COM_PORT_A=2
|
||||
COM_PORT_A_LED_1=1
|
||||
COM_PORT_A_LED_2=1
|
||||
COM_PORT_A_LED_3=1
|
||||
COM_PORT_A_LED_4=1
|
||||
|
||||
;是否打开第二个串,1为打开,0为关闭,默认0
|
||||
IS_COM_PORT_B=0
|
||||
COM_PORT_B=6
|
||||
COM_PORT_B_LED_1=1
|
||||
COM_PORT_B_LED_2=1
|
||||
COM_PORT_B_LED_3=1
|
||||
COM_PORT_B_LED_4=1
|
||||
|
||||
[TRRIGER]
|
||||
;线性点触发的脉冲宽度
|
||||
LINEAR_PULSE_WIDTH=500
|
||||
|
||||
;等间距触发的脉冲宽度
|
||||
INTERVAL_PULSE_WIDTH=500
|
||||
|
||||
;手动触发
|
||||
HOLD_TIME=150
|
||||
|
||||
[LOG]
|
||||
;是否打开记录,默认0为关闭,1位打开,;LOG_IS_OPEN_0为是否打开记录功能
|
||||
LOG_IS_OPEN_0=1
|
||||
LOG_IS_OPEN_1=1
|
||||
LOG_IS_OPEN_2=1
|
||||
LOG_IS_OPEN_3=1
|
||||
LOG_IS_OPEN_4=0
|
||||
LOG_IS_OPEN_5=0
|
||||
LOG_IS_OPEN_6=0
|
||||
LOG_IS_OPEN_7=0
|
||||
LOG_IS_OPEN_8=0
|
||||
;是否启用统计定位函数的时间日志,1:启用,默认0关闭
|
||||
LOG2_IS_OPEN=0
|
||||
;定位几次后,计算这几次总共用时mm,默认4次
|
||||
LOG_SUM_COUNT=0
|
||||
|
||||
|
||||
|
||||
|
||||
+337
@@ -0,0 +1,337 @@
|
||||
[JOG_SPEED]
|
||||
JOG速度(pulse/ms)
|
||||
JOG_SPEED_0=200.0
|
||||
JOG_SPEED_1=150.0
|
||||
JOG_SPEED_2=50
|
||||
JOG_SPEED_3=10
|
||||
JOG_SPEED_4=1
|
||||
|
||||
;JOG加速度(pulse/ms^2)
|
||||
JOG_ACC_0=2.0
|
||||
JOG_ACC_1=2.0
|
||||
JOG_ACC_2=2.0
|
||||
JOG_ACC_3=1.0
|
||||
JOG_ACC_4=1.0
|
||||
|
||||
;JOG减速度(pulse/ms^2)
|
||||
JOG_DEC_0=2.0
|
||||
JOG_DEC_1=2.0
|
||||
JOG_DEC_2=2.0
|
||||
JOG_DEC_3=1.0
|
||||
JOG_DEC_4=1.0
|
||||
|
||||
;JOG模式采用急停还是平滑停止,0是平滑停止1为急停,默认0
|
||||
JOG_STOP_MODE_1=0
|
||||
JOG_STOP_MODE_2=0
|
||||
JOG_STOP_MODE_3=0
|
||||
JOG_STOP_MODE_4=0
|
||||
JOG_STOP_MODE_5=0
|
||||
JOG_STOP_MODE_6=0
|
||||
JOG_STOP_MODE_7=0
|
||||
JOG_STOP_MODE_8=0
|
||||
JOG_STOP_MODE=0
|
||||
JOG_SPEED_GEAR0_1=200.0
|
||||
JOG_ACC_GEAR0_1=2.0
|
||||
JOG_DEC_GEAR0_1=2.0
|
||||
JOG_SPEED_GEAR0_2=200.0
|
||||
JOG_ACC_GEAR0_2=2.0
|
||||
JOG_DEC_GEAR0_2=2.0
|
||||
JOG_SPEED_GEAR0_3=150.0
|
||||
JOG_ACC_GEAR0_3=2.0
|
||||
JOG_DEC_GEAR0_3=2.0
|
||||
JOG_SPEED_GEAR0_4=200.0
|
||||
JOG_ACC_GEAR0_4=2.0
|
||||
JOG_DEC_GEAR0_4=2.0
|
||||
JOG_SPEED_GEAR1_1=100.0
|
||||
JOG_ACC_GEAR1_1=2.0
|
||||
JOG_DEC_GEAR1_1=2.0
|
||||
JOG_SPEED_GEAR1_2=100.0
|
||||
JOG_ACC_GEAR1_2=2.0
|
||||
JOG_DEC_GEAR1_2=2.0
|
||||
JOG_SPEED_GEAR1_3=80.0
|
||||
JOG_ACC_GEAR1_3=2.0
|
||||
JOG_DEC_GEAR1_3=2.0
|
||||
JOG_SPEED_GEAR1_4=100.0
|
||||
JOG_ACC_GEAR1_4=2.0
|
||||
JOG_DEC_GEAR1_4=2.0
|
||||
JOG_SPEED_GEAR2_1=50.0
|
||||
JOG_ACC_GEAR2_1=2.0
|
||||
JOG_DEC_GEAR2_1=2.0
|
||||
JOG_SPEED_GEAR2_2=50.0
|
||||
JOG_ACC_GEAR2_2=2.0
|
||||
JOG_DEC_GEAR2_2=2.0
|
||||
JOG_SPEED_GEAR2_3=50.0
|
||||
JOG_ACC_GEAR2_3=2.0
|
||||
JOG_DEC_GEAR2_3=2.0
|
||||
JOG_SPEED_GEAR2_4=50.0
|
||||
JOG_ACC_GEAR2_4=2.0
|
||||
JOG_DEC_GEAR2_4=2.0
|
||||
JOG_SPEED_GEAR3_1=10.0
|
||||
JOG_ACC_GEAR3_1=1.0
|
||||
JOG_DEC_GEAR3_1=1.0
|
||||
JOG_SPEED_GEAR3_2=10.0
|
||||
JOG_ACC_GEAR3_2=1.0
|
||||
JOG_DEC_GEAR3_2=1.0
|
||||
JOG_SPEED_GEAR3_3=10.0
|
||||
JOG_ACC_GEAR3_3=1.0
|
||||
JOG_DEC_GEAR3_3=1.0
|
||||
JOG_SPEED_GEAR3_4=10.0
|
||||
JOG_ACC_GEAR3_4=1.0
|
||||
JOG_DEC_GEAR3_4=1.0
|
||||
JOG_SPEED_GEAR4_1=1.0
|
||||
JOG_ACC_GEAR4_1=1.0
|
||||
JOG_DEC_GEAR4_1=1.0
|
||||
JOG_SPEED_GEAR4_2=1.0
|
||||
JOG_ACC_GEAR4_2=1.0
|
||||
JOG_DEC_GEAR4_2=1.0
|
||||
JOG_SPEED_GEAR4_3=1.0
|
||||
JOG_ACC_GEAR4_3=1.0
|
||||
JOG_DEC_GEAR4_3=1.0
|
||||
JOG_SPEED_GEAR4_4=1.0
|
||||
JOG_ACC_GEAR4_4=1.0
|
||||
JOG_DEC_GEAR4_4=1.0
|
||||
|
||||
;0:都使用(正常情况) 1:只使用灯,而不使用控制器;默认0
|
||||
[USE_LIGHT]
|
||||
ONLY_USE_LIGHT=0
|
||||
|
||||
[RESOLUTION]
|
||||
;光栅尺的分辨率(mm)
|
||||
SCALE_RESOLUTION_1=0.0004
|
||||
SCALE_RESOLUTION_2=0.0004
|
||||
SCALE_RESOLUTION_3=0.0004
|
||||
SCALE_RESOLUTION_4=0.0004
|
||||
SCALE_RESOLUTION_5=0.0004
|
||||
SCALE_RESOLUTION_6=0.0004
|
||||
SCALE_RESOLUTION_7=0.0004
|
||||
SCALE_RESOLUTION_8=0.0004
|
||||
|
||||
[LIMIT]
|
||||
;负限位(mm),必须是负数
|
||||
NEG_WORKING_LIMIT_1=-260.0
|
||||
NEG_WORKING_LIMIT_2=-40.0
|
||||
NEG_WORKING_LIMIT_3=-40.0
|
||||
NEG_WORKING_LIMIT_4=-40.0
|
||||
NEG_WORKING_LIMIT_5=-40.0
|
||||
NEG_WORKING_LIMIT_6=-40.0
|
||||
NEG_WORKING_LIMIT_7=-40.0
|
||||
NEG_WORKING_LIMIT_8=-40.0
|
||||
|
||||
;正限位(mm),必须是正数
|
||||
POS_WORKING_LIMIT_1=40.0
|
||||
POS_WORKING_LIMIT_2=160.0
|
||||
POS_WORKING_LIMIT_3=160.0
|
||||
POS_WORKING_LIMIT_4=200.0
|
||||
POS_WORKING_LIMIT_5=200.0
|
||||
POS_WORKING_LIMIT_6=200.0
|
||||
POS_WORKING_LIMIT_7=200.0
|
||||
POS_WORKING_LIMIT_8=200.0
|
||||
|
||||
[HOME]
|
||||
;选择需要回家的轴号,改为1
|
||||
HOME_MACHINE_AXIS_1=1
|
||||
HOME_MACHINE_AXIS_2=1
|
||||
HOME_MACHINE_AXIS_3=1
|
||||
HOME_MACHINE_AXIS_4=0
|
||||
HOME_MACHINE_AXIS_5=0
|
||||
HOME_MACHINE_AXIS_6=0
|
||||
HOME_MACHINE_AXIS_7=0
|
||||
HOME_MACHINE_AXIS_8=0
|
||||
|
||||
;是否启动实际位置判断是否回家,默认0,1启用,0关闭
|
||||
IS_HOME_ENC_POS=0
|
||||
;是否启动规划位置判断是否回家,默认1,1启用,0关闭
|
||||
IS_HOME_PRF_POS=1
|
||||
|
||||
;关闭电源时记住当前的位置,用于判断是否需要回家
|
||||
HOME_POS_AXIS_1=0
|
||||
HOME_POS_AXIS_2=0
|
||||
HOME_POS_AXIS_3=0
|
||||
HOME_POS_AXIS_4=0
|
||||
HOME_POS_AXIS_5=0
|
||||
HOME_POS_AXIS_6=0
|
||||
HOME_POS_AXIS_7=0
|
||||
HOME_POS_AXIS_8=0
|
||||
|
||||
;回家第一段速度(pulse/ms)
|
||||
HOME_HIGH_SPEED_1=200.0
|
||||
HOME_HIGH_SPEED_2=200.0
|
||||
HOME_HIGH_SPEED_3=200.0
|
||||
HOME_HIGH_SPEED_4=200.0
|
||||
HOME_HIGH_SPEED_5=200.0
|
||||
HOME_HIGH_SPEED_6=200.0
|
||||
HOME_HIGH_SPEED_7=200.0
|
||||
HOME_HIGH_SPEED_8=200.0
|
||||
|
||||
;回家第一段加速度(pulse/ms^2)
|
||||
HOME_HIGH_ACC_1=2.0
|
||||
HOME_HIGH_ACC_2=2.0
|
||||
HOME_HIGH_ACC_3=2.0
|
||||
HOME_HIGH_ACC_4=2.0
|
||||
HOME_HIGH_ACC_5=2.0
|
||||
HOME_HIGH_ACC_6=2.0
|
||||
HOME_HIGH_ACC_7=2.0
|
||||
HOME_HIGH_ACC_8=2.0
|
||||
|
||||
;回家第二段速度(pulse/ms)
|
||||
HOME_LOW_SPEED_1=180.0
|
||||
HOME_LOW_SPEED_2=180.0
|
||||
HOME_LOW_SPEED_3=180.0
|
||||
HOME_LOW_SPEED_4=180.0
|
||||
HOME_LOW_SPEED_5=180.0
|
||||
HOME_LOW_SPEED_6=180.0
|
||||
HOME_LOW_SPEED_7=180.0
|
||||
HOME_LOW_SPEED_8=180.0
|
||||
|
||||
;回家第二段加速度(pulse/ms^2)
|
||||
HOME_LOW_ACC_1=2.0
|
||||
HOME_LOW_ACC_2=2.0
|
||||
HOME_LOW_ACC_3=2.0
|
||||
HOME_LOW_ACC_4=2.0
|
||||
HOME_LOW_ACC_5=2.0
|
||||
HOME_LOW_ACC_6=2.0
|
||||
HOME_LOW_ACC_7=2.0
|
||||
HOME_LOW_ACC_8=2.0
|
||||
|
||||
;回家延时时间(ms)
|
||||
HOME_TIME_1=1000
|
||||
HOME_TIME_2=1000
|
||||
HOME_TIME_3=1000
|
||||
HOME_TIME_4=1000
|
||||
HOME_TIME_5=1000
|
||||
HOME_TIME_6=1000
|
||||
HOME_TIME_7=1000
|
||||
HOME_TIME_8=1000
|
||||
|
||||
[PID]
|
||||
;PID比例调节,应从0.01递增开始调试
|
||||
PID_KP_1=1.20
|
||||
PID_KP_2=1.20
|
||||
PID_KP_3=1.20
|
||||
PID_KP_4=1.20
|
||||
PID_KP_5=1.20
|
||||
PID_KP_6=1.20
|
||||
PID_KP_7=1.20
|
||||
PID_KP_8=1.20
|
||||
|
||||
[PRECISION]
|
||||
;超时时间(0.1ms)
|
||||
PRECISION_TIME_1=20000
|
||||
PRECISION_TIME_2=20000
|
||||
PRECISION_TIME_3=20000
|
||||
PRECISION_TIME_4=20000
|
||||
PRECISION_TIME_5=20000
|
||||
PRECISION_TIME_6=20000
|
||||
PRECISION_TIME_7=20000
|
||||
PRECISION_TIME_8=20000
|
||||
|
||||
;回家误差脉冲个数
|
||||
PRECISION_COUNT_1=8
|
||||
PRECISION_COUNT_2=8
|
||||
PRECISION_COUNT_3=8
|
||||
PRECISION_COUNT_4=8
|
||||
PRECISION_COUNT_5=8
|
||||
PRECISION_COUNT_6=8
|
||||
PRECISION_COUNT_7=8
|
||||
PRECISION_COUNT_8=8
|
||||
|
||||
[SET_POSITION_SPEED]
|
||||
;XYZ定位的合成速度(pulse/ms)
|
||||
SET_POTION_SPEED_1=500.0
|
||||
SET_POTION_SPEED_2=500.0
|
||||
SET_POTION_SPEED_3=500.0
|
||||
SET_POTION_SPEED_4=500.0
|
||||
SET_POTION_SPEED_5=500.0
|
||||
SET_POTION_SPEED_6=500.0
|
||||
SET_POTION_SPEED_7=500.0
|
||||
SET_POTION_SPEED_8=500.0
|
||||
|
||||
;XYZ定位的合成加速度(pulse/ms^2)
|
||||
SET_POTION_ACC_1=2.5
|
||||
SET_POTION_ACC_2=2.5
|
||||
SET_POTION_ACC_3=2.5
|
||||
SET_POTION_ACC_4=2.5
|
||||
SET_POTION_ACC_5=2.5
|
||||
SET_POTION_ACC_6=2.5
|
||||
SET_POTION_ACC_7=2.5
|
||||
SET_POTION_ACC_8=2.5
|
||||
|
||||
;XYZ定位的终点速度(pulse/ms)
|
||||
SET_POTION_DEC_1=1.0
|
||||
SET_POTION_DEC_2=1.0
|
||||
SET_POTION_DEC_3=1.0
|
||||
SET_POTION_DEC_4=1.0
|
||||
SET_POTION_DEC_5=1.0
|
||||
SET_POTION_DEC_6=1.0
|
||||
SET_POTION_DEC_7=1.0
|
||||
SET_POTION_DEC_8=1.0
|
||||
|
||||
;XYZ定到位判断次数
|
||||
SET_POSITION_COUNT_1=240
|
||||
SET_POSITION_COUNT_2=240
|
||||
SET_POSITION_COUNT_3=240
|
||||
SET_POSITION_COUNT_4=240
|
||||
SET_POSITION_COUNT_5=240
|
||||
SET_POSITION_COUNT_6=240
|
||||
SET_POSITION_COUNT_7=240
|
||||
SET_POSITION_COUNT_8=240
|
||||
|
||||
[COMPORT]
|
||||
;灯光控制器类型选择
|
||||
;0:启用c++调用灯光,不使用STM32 USB控制时,需要把下面的IS_STM32_USB改为0
|
||||
;1:wpf直接调用;
|
||||
;2:DP光源控制器;
|
||||
;3:旧的6环8区为3(环形可调);
|
||||
;4:新的6环8区为4(扇区可调);
|
||||
;5:STM32控制器,IP地址在exe目录下的CameraNum.ini中修改
|
||||
;61:OPT光源控制器网络模式(111ms),IP地址在exe目录下的CameraNum.ini中修改,串口模式62(44ms);
|
||||
COM_PORT_CPP_WPF=0
|
||||
|
||||
;使用stm32时,是否使用USB通讯,使用该功能时,COM_PORT_CPP_WPF必须等于0
|
||||
IS_STM32_USB=0
|
||||
|
||||
;是否打开第一个串,1为打开,0为关闭,默认0
|
||||
IS_COM_PORT_A=0
|
||||
COM_PORT_A=2
|
||||
COM_PORT_A_LED_1=1
|
||||
COM_PORT_A_LED_2=1
|
||||
COM_PORT_A_LED_3=1
|
||||
COM_PORT_A_LED_4=1
|
||||
|
||||
;是否打开第二个串,1为打开,0为关闭,默认0
|
||||
IS_COM_PORT_B=0
|
||||
COM_PORT_B=6
|
||||
COM_PORT_B_LED_1=1
|
||||
COM_PORT_B_LED_2=1
|
||||
COM_PORT_B_LED_3=1
|
||||
COM_PORT_B_LED_4=1
|
||||
|
||||
[TRRIGER]
|
||||
;线性点触发的脉冲宽度
|
||||
LINEAR_PULSE_WIDTH=500
|
||||
|
||||
;等间距触发的脉冲宽度
|
||||
INTERVAL_PULSE_WIDTH=500
|
||||
|
||||
;手动触发
|
||||
HOLD_TIME=150
|
||||
|
||||
[LOG]
|
||||
;是否打开记录,默认0为关闭,1位打开,;LOG_IS_OPEN_0为是否打开记录功能
|
||||
LOG_IS_OPEN_0=1
|
||||
LOG_IS_OPEN_1=1
|
||||
LOG_IS_OPEN_2=1
|
||||
LOG_IS_OPEN_3=1
|
||||
LOG_IS_OPEN_4=0
|
||||
LOG_IS_OPEN_5=0
|
||||
LOG_IS_OPEN_6=0
|
||||
LOG_IS_OPEN_7=0
|
||||
LOG_IS_OPEN_8=0
|
||||
;是否启用统计定位函数的时间日志,1:启用,默认0关闭
|
||||
LOG2_IS_OPEN=0
|
||||
;定位几次后,计算这几次总共用时mm,默认4次
|
||||
LOG_SUM_COUNT=0
|
||||
|
||||
|
||||
|
||||
|
||||
+61
-1
@@ -30,6 +30,66 @@ JOG_STOP_MODE_6=0
|
||||
JOG_STOP_MODE_7=0
|
||||
JOG_STOP_MODE_8=0
|
||||
JOG_STOP_MODE=0
|
||||
JOG_SPEED_GEAR0_1=200.0
|
||||
JOG_ACC_GEAR0_1=2.0
|
||||
JOG_DEC_GEAR0_1=2.0
|
||||
JOG_SPEED_GEAR0_2=200.0
|
||||
JOG_ACC_GEAR0_2=2.0
|
||||
JOG_DEC_GEAR0_2=2.0
|
||||
JOG_SPEED_GEAR0_3=150.0
|
||||
JOG_ACC_GEAR0_3=2.0
|
||||
JOG_DEC_GEAR0_3=2.0
|
||||
JOG_SPEED_GEAR0_4=200.0
|
||||
JOG_ACC_GEAR0_4=2.0
|
||||
JOG_DEC_GEAR0_4=2.0
|
||||
JOG_SPEED_GEAR1_1=100.0
|
||||
JOG_ACC_GEAR1_1=2.0
|
||||
JOG_DEC_GEAR1_1=2.0
|
||||
JOG_SPEED_GEAR1_2=100.0
|
||||
JOG_ACC_GEAR1_2=2.0
|
||||
JOG_DEC_GEAR1_2=2.0
|
||||
JOG_SPEED_GEAR1_3=80.0
|
||||
JOG_ACC_GEAR1_3=2.0
|
||||
JOG_DEC_GEAR1_3=2.0
|
||||
JOG_SPEED_GEAR1_4=100.0
|
||||
JOG_ACC_GEAR1_4=2.0
|
||||
JOG_DEC_GEAR1_4=2.0
|
||||
JOG_SPEED_GEAR2_1=50.0
|
||||
JOG_ACC_GEAR2_1=2.0
|
||||
JOG_DEC_GEAR2_1=2.0
|
||||
JOG_SPEED_GEAR2_2=50.0
|
||||
JOG_ACC_GEAR2_2=2.0
|
||||
JOG_DEC_GEAR2_2=2.0
|
||||
JOG_SPEED_GEAR2_3=50.0
|
||||
JOG_ACC_GEAR2_3=2.0
|
||||
JOG_DEC_GEAR2_3=2.0
|
||||
JOG_SPEED_GEAR2_4=50.0
|
||||
JOG_ACC_GEAR2_4=2.0
|
||||
JOG_DEC_GEAR2_4=2.0
|
||||
JOG_SPEED_GEAR3_1=10.0
|
||||
JOG_ACC_GEAR3_1=1.0
|
||||
JOG_DEC_GEAR3_1=1.0
|
||||
JOG_SPEED_GEAR3_2=10.0
|
||||
JOG_ACC_GEAR3_2=1.0
|
||||
JOG_DEC_GEAR3_2=1.0
|
||||
JOG_SPEED_GEAR3_3=10.0
|
||||
JOG_ACC_GEAR3_3=1.0
|
||||
JOG_DEC_GEAR3_3=1.0
|
||||
JOG_SPEED_GEAR3_4=10.0
|
||||
JOG_ACC_GEAR3_4=1.0
|
||||
JOG_DEC_GEAR3_4=1.0
|
||||
JOG_SPEED_GEAR4_1=1.0
|
||||
JOG_ACC_GEAR4_1=1.0
|
||||
JOG_DEC_GEAR4_1=1.0
|
||||
JOG_SPEED_GEAR4_2=1.0
|
||||
JOG_ACC_GEAR4_2=1.0
|
||||
JOG_DEC_GEAR4_2=1.0
|
||||
JOG_SPEED_GEAR4_3=1.0
|
||||
JOG_ACC_GEAR4_3=1.0
|
||||
JOG_DEC_GEAR4_3=1.0
|
||||
JOG_SPEED_GEAR4_4=1.0
|
||||
JOG_ACC_GEAR4_4=1.0
|
||||
JOG_DEC_GEAR4_4=1.0
|
||||
|
||||
;0:都使用(正常情况) 1:只使用灯,而不使用控制器;默认0
|
||||
[USE_LIGHT]
|
||||
@@ -177,7 +237,7 @@ PRECISION_COUNT_8=8
|
||||
|
||||
[SET_POSITION_SPEED]
|
||||
;XYZ定位的合成速度(pulse/ms)
|
||||
SET_POTION_SPEED_1=100
|
||||
SET_POTION_SPEED_1=500.0
|
||||
SET_POTION_SPEED_2=500.0
|
||||
SET_POTION_SPEED_3=500.0
|
||||
SET_POTION_SPEED_4=500.0
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
[Default]
|
||||
MotionControlSpeed=1
|
||||
ControllerType=1
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
[Default]
|
||||
MotionControlSpeed=1
|
||||
ControllerType=2
|
||||
BIN
Binary file not shown.
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
|
||||
</startup>
|
||||
</configuration>
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "EC6DF93472E9E02F30BD987409DB5FC5E258A9EE"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_GOOGOL_GTS800_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_GOOGOL_GTS800_WPFTest.App app = new HSI_GOOGOL_GTS800_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "EC6DF93472E9E02F30BD987409DB5FC5E258A9EE"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_GOOGOL_GTS800_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_GOOGOL_GTS800_WPFTest.App app = new HSI_GOOGOL_GTS800_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+3308
File diff suppressed because it is too large
Load Diff
+3308
File diff suppressed because it is too large
Load Diff
BIN
Binary file not shown.
BIN
Binary file not shown.
+335
@@ -0,0 +1,335 @@
|
||||
#pragma checksum "..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B02B3D128CC621EA2B9AB3B1CA81BA8709B9119B"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_CONTROLLER_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Motion Controller;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+335
@@ -0,0 +1,335 @@
|
||||
#pragma checksum "..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B02B3D128CC621EA2B9AB3B1CA81BA8709B9119B"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_CONTROLLER_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Motion Controller;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "969CB7F6FCA145221FE25C872896CDD27D93C9DC33A2C5E59DFC3AFEFACADE43"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_GOOGOL_GTS800_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
HSI_GOOGOL_GTS800_WPFTest.App app = new HSI_GOOGOL_GTS800_WPFTest.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "EC6DF93472E9E02F30BD987409DB5FC5E258A9EE"
|
||||
#pragma checksum "..\..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "969CB7F6FCA145221FE25C872896CDD27D93C9DC33A2C5E59DFC3AFEFACADE43"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
+3308
File diff suppressed because it is too large
Load Diff
+5
-5
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "A4402E9D797C5F17B6CE0A87C471ADA34C1CC877"
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "FD615AA90C12C5F7898728474121F7AA3A5DCEE08FA867383F26C264BBB1B13E"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
BIN
Binary file not shown.
+5
-5
@@ -4,16 +4,16 @@
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
D:\Metus_git\2020_R1\HG_EF7_HSI_EF1\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\HSI_GOOGOL_GTS800_WPFTest\obj\x64\Debug\
|
||||
E:\HexagonProjects\2022-05-直线电机平台\EF3-Interfac\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\HSI_GOOGOL_GTS800_WPFTest\obj\x64\Debug\
|
||||
HSI_GOOGOL_GTS800_WPFTest
|
||||
none
|
||||
false
|
||||
DEBUG;TRACE
|
||||
D:\Metus_git\2020_R1\HG_EF7_HSI_EF1\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\HSI_GOOGOL_GTS800_WPFTest\App.xaml
|
||||
2-389719801
|
||||
E:\HexagonProjects\2022-05-直线电机平台\EF3-Interfac\PcDmis\Base\Interfac\Msi\Hsi\Tools\UsbUtility\HSI_GOOGOL_GTS800_WPFTest\App.xaml
|
||||
2-1524372973
|
||||
|
||||
14-748968428
|
||||
1720663659
|
||||
11-1775261727
|
||||
171883058161
|
||||
MainWindow.xaml;Trigger.xaml;
|
||||
|
||||
False
|
||||
|
||||
BIN
Binary file not shown.
+335
@@ -0,0 +1,335 @@
|
||||
#pragma checksum "..\..\..\Trigger.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F457F4E4BC8484C1F2624C578BAB7CD55DEA6605CC48E39CA5A5B838D760ADE2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Forms;
|
||||
using System.Windows.Forms.Integration;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace HSI_CONTROLLER_WPFTest {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Trigger
|
||||
/// </summary>
|
||||
public partial class Trigger : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
|
||||
#line 9 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Forms.DataGridView dataGridViewTrg;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 12 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxInternal;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 15 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalNo;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 17 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.TextBox TextBoxInternalDis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 18 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 19 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 20 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonInternalClose;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 24 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxAxis;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 26 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis1;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 27 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis2;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 28 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis3;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 29 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.RadioButton RadioButtonAxis4;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 32 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.GroupBox GroupBoxLinear;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 34 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStart;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 35 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearStop;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 36 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearAddNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 37 "..\..\..\Trigger.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Button ButtonLinearDecNum;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Motion Controller;component/trigger.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\Trigger.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 6 "..\..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Closed += new System.EventHandler(this.Window_Closed);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 6 "..\..\..\Trigger.xaml"
|
||||
((HSI_CONTROLLER_WPFTest.Trigger)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
this.dataGridViewTrg = ((System.Windows.Forms.DataGridView)(target));
|
||||
|
||||
#line 9 "..\..\..\Trigger.xaml"
|
||||
this.dataGridViewTrg.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridViewTrg_CellEndEdit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
this.GroupBoxInternal = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 4:
|
||||
this.TextBoxInternalNo = ((System.Windows.Controls.TextBox)(target));
|
||||
|
||||
#line 15 "..\..\..\Trigger.xaml"
|
||||
this.TextBoxInternalNo.MouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.TextBoxInternalNo_MouseWheel);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 5:
|
||||
this.TextBoxInternalDis = ((System.Windows.Controls.TextBox)(target));
|
||||
return;
|
||||
case 6:
|
||||
this.ButtonInternalStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 18 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalStart.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 7:
|
||||
this.ButtonInternalStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 19 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalStop.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 8:
|
||||
this.ButtonInternalClose = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 20 "..\..\..\Trigger.xaml"
|
||||
this.ButtonInternalClose.Click += new System.Windows.RoutedEventHandler(this.ButtonInternalClose_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 9:
|
||||
this.GroupBoxAxis = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 10:
|
||||
this.RadioButtonAxis1 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 11:
|
||||
this.RadioButtonAxis2 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 12:
|
||||
this.RadioButtonAxis3 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 13:
|
||||
this.RadioButtonAxis4 = ((System.Windows.Controls.RadioButton)(target));
|
||||
return;
|
||||
case 14:
|
||||
this.GroupBoxLinear = ((System.Windows.Controls.GroupBox)(target));
|
||||
return;
|
||||
case 15:
|
||||
this.ButtonLinearStart = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 34 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearStart.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStart_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 16:
|
||||
this.ButtonLinearStop = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 35 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearStop.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearStop_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 17:
|
||||
this.ButtonLinearAddNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 36 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearAddNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearAddNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 18:
|
||||
this.ButtonLinearDecNum = ((System.Windows.Controls.Button)(target));
|
||||
|
||||
#line 37 "..\..\..\Trigger.xaml"
|
||||
this.ButtonLinearDecNum.Click += new System.Windows.RoutedEventHandler(this.ButtonLinearDecNum_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,11 +1,11 @@
|
||||
#pragma checksum "..\..\..\Trigger.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "B02B3D128CC621EA2B9AB3B1CA81BA8709B9119B"
|
||||
#pragma checksum "..\..\..\Trigger.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F457F4E4BC8484C1F2624C578BAB7CD55DEA6605CC48E39CA5A5B838D760ADE2"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
+6
-5
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
@@ -22,26 +22,27 @@
|
||||
<ProjectGuid>{7E693F61-431B-420B-87F6-D6493A95FEEA}</ProjectGuid>
|
||||
<RootNamespace>HSI_LEADSHINE_DMC2410C</RootNamespace>
|
||||
<Keyword>MFCDLLProj</Keyword>
|
||||
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
@@ -49,7 +50,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<UseOfMfc>Dynamic</UseOfMfc>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user