Browse Source

add eaiwrappercsharp

Kenkart 2 years ago
parent
commit
9f0186351f
42 changed files with 790 additions and 0 deletions
  1. 6 0
      eaiwrappercsharp/MotorTest/App.config
  2. 9 0
      eaiwrappercsharp/MotorTest/App.xaml
  3. 17 0
      eaiwrappercsharp/MotorTest/App.xaml.cs
  4. 12 0
      eaiwrappercsharp/MotorTest/MainWindow.xaml
  5. 67 0
      eaiwrappercsharp/MotorTest/MainWindow.xaml.cs
  6. 55 0
      eaiwrappercsharp/MotorTest/Properties/AssemblyInfo.cs
  7. 71 0
      eaiwrappercsharp/MotorTest/Properties/Resources.Designer.cs
  8. 117 0
      eaiwrappercsharp/MotorTest/Properties/Resources.resx
  9. 30 0
      eaiwrappercsharp/MotorTest/Properties/Settings.Designer.cs
  10. 7 0
      eaiwrappercsharp/MotorTest/Properties/Settings.settings
  11. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/BodyActuator.dll
  12. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/MotorTest.exe
  13. 6 0
      eaiwrappercsharp/MotorTest/bin/Debug/MotorTest.exe.config
  14. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/TActionManager.dll
  15. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/TactorInterface.dll
  16. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/eai_common.dll
  17. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/eai_serial.dll
  18. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/eai_winbluetooth.dll
  19. BIN
      eaiwrappercsharp/MotorTest/bin/Debug/eai_winusb.dll
  20. 70 0
      eaiwrappercsharp/MotorTest/obj/Debug/App.g.cs
  21. 70 0
      eaiwrappercsharp/MotorTest/obj/Debug/App.g.i.cs
  22. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache
  23. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  24. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.baml
  25. 75 0
      eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.g.cs
  26. 75 0
      eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.g.i.cs
  27. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.Properties.Resources.resources
  28. 1 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.CoreCompileInputs.cache
  29. 32 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.FileListAbsolute.txt
  30. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.GenerateResource.cache
  31. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csprojAssemblyReference.cache
  32. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csprojResolveAssemblyReference.cache
  33. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.exe
  34. BIN
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.g.resources
  35. 13 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_Content.g.cs
  36. 13 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_Content.g.i.cs
  37. 20 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.cache
  38. 20 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.i.cache
  39. 4 0
      eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.lref
  40. 0 0
      eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
  41. 0 0
      eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
  42. 0 0
      eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

+ 6 - 0
eaiwrappercsharp/MotorTest/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

+ 9 - 0
eaiwrappercsharp/MotorTest/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="MotorTest.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:MotorTest"
+             StartupUri="MainWindow.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
eaiwrappercsharp/MotorTest/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace MotorTest
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 12 - 0
eaiwrappercsharp/MotorTest/MainWindow.xaml

@@ -0,0 +1,12 @@
+<Window x:Class="MotorTest.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:MotorTest"
+        mc:Ignorable="d"
+        Title="MainWindow" Height="450" Width="800">
+    <Grid>
+        
+    </Grid>
+</Window>

+ 67 - 0
eaiwrappercsharp/MotorTest/MainWindow.xaml.cs

@@ -0,0 +1,67 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace MotorTest
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        
+        
+        public MainWindow()
+        {
+            InitializeComponent();
+            IntPtr actuator = EAIWrapper.BodyActuator_new();
+            Console.WriteLine(actuator.ToString());
+            EAIWrapper.BodyActuator_init(actuator, ActuatorType.EAI, "COM5" , 16);
+            EAIWrapper.BodyActuator_startActuation(actuator, 0 , (float)0.3);
+            System.Threading.Thread.Sleep(1000);
+            EAIWrapper.BodyActuator_stopActuation(actuator, 0);
+        }
+    }
+
+    class EAIWrapper
+    {
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern IntPtr BodyActuator_new();
+
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern void BodyActuator_init(IntPtr self, ActuatorType type, [MarshalAs(UnmanagedType.LPStr)]string port, int actuatorCount);
+
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern void BodyActuator_startActuation(IntPtr self, int tactor, float intensity);
+
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern void BodyActuator_actuate(IntPtr self, int tactor, float intensity, int duration);
+
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern void BodyActuator_stopActuation(IntPtr self, int tactor);
+
+        [DllImport("BodyActuator.dll", CallingConvention = CallingConvention.Cdecl)]
+        public static extern void BodyActuator_setFrequency(IntPtr self, int tactor, int frequency);
+    }
+
+    enum ActuatorType
+    {
+        NONE = 0,
+        EAI,
+        PIEZO,
+        ERM,
+        EMS 
+    }
+}

+ 55 - 0
eaiwrappercsharp/MotorTest/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("MotorTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("MotorTest")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
+//inside a <PropertyGroup>.  For example, if you are using US english
+//in your source files, set the <UICulture> to en-US.  Then uncomment
+//the NeutralResourceLanguage attribute below.  Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
eaiwrappercsharp/MotorTest/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MotorTest.Properties
+{
+
+
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MotorTest.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
eaiwrappercsharp/MotorTest/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
eaiwrappercsharp/MotorTest/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MotorTest.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
eaiwrappercsharp/MotorTest/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

BIN
eaiwrappercsharp/MotorTest/bin/Debug/BodyActuator.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/MotorTest.exe


+ 6 - 0
eaiwrappercsharp/MotorTest/bin/Debug/MotorTest.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
+    </startup>
+</configuration>

BIN
eaiwrappercsharp/MotorTest/bin/Debug/TActionManager.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/TactorInterface.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/eai_common.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/eai_serial.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/eai_winbluetooth.dll


BIN
eaiwrappercsharp/MotorTest/bin/Debug/eai_winusb.dll


+ 70 - 0
eaiwrappercsharp/MotorTest/obj/Debug/App.g.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3FBD35F64DC0F88D66EE58D1127556BFCFA9D171"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using MotorTest;
+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.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 MotorTest {
+    
+    
+    /// <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 5 "..\..\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() {
+            MotorTest.App app = new MotorTest.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 70 - 0
eaiwrappercsharp/MotorTest/obj/Debug/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3FBD35F64DC0F88D66EE58D1127556BFCFA9D171"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using MotorTest;
+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.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 MotorTest {
+    
+    
+    /// <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 5 "..\..\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() {
+            MotorTest.App app = new MotorTest.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
eaiwrappercsharp/MotorTest/obj/Debug/DesignTimeResolveAssemblyReferences.cache


BIN
eaiwrappercsharp/MotorTest/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.baml


+ 75 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.g.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "66C1411D42226C24400ABB80FC71D5272CABCB27"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using MotorTest;
+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.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 MotorTest {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        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("/MotorTest;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.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) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 75 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MainWindow.g.i.cs

@@ -0,0 +1,75 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "66C1411D42226C24400ABB80FC71D5272CABCB27"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using MotorTest;
+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.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 MotorTest {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        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("/MotorTest;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.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) {
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.Properties.Resources.resources


+ 1 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+b7247f6711065d99f68fc549de25997b54ca1e19

+ 32 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.FileListAbsolute.txt

@@ -0,0 +1,32 @@
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\bin\Debug\MotorTest.exe.config
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\bin\Debug\MotorTest.exe
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\bin\Debug\MotorTest.pdb
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MainWindow.g.cs
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\App.g.cs
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest_Content.g.cs
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest_MarkupCompile.cache
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest_MarkupCompile.lref
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MainWindow.baml
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.g.resources
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.Properties.Resources.resources
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.csproj.GenerateResource.cache
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.csproj.CoreCompileInputs.cache
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.exe
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.pdb
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\MotorTest.csprojResolveAssemblyReference.cache
+H:\eaiwrappercsharp\MotorTest\bin\Debug\MotorTest.exe.config
+H:\eaiwrappercsharp\MotorTest\bin\Debug\MotorTest.exe
+H:\eaiwrappercsharp\MotorTest\bin\Debug\MotorTest.pdb
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.csprojAssemblyReference.cache
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MainWindow.g.cs
+H:\eaiwrappercsharp\MotorTest\obj\Debug\App.g.cs
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest_Content.g.cs
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest_MarkupCompile.cache
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest_MarkupCompile.lref
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MainWindow.baml
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.g.resources
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.Properties.Resources.resources
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.csproj.GenerateResource.cache
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.csproj.CoreCompileInputs.cache
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.exe
+H:\eaiwrappercsharp\MotorTest\obj\Debug\MotorTest.pdb

BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csproj.GenerateResource.cache


BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csprojAssemblyReference.cache


BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.csprojResolveAssemblyReference.cache


BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.exe


BIN
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest.g.resources


+ 13 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_Content.g.cs

@@ -0,0 +1,13 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("bodyactuator.dll")]
+
+

+ 13 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_Content.g.i.cs

@@ -0,0 +1,13 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("bodyactuator.dll")]
+
+

+ 20 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.cache

@@ -0,0 +1,20 @@
+MotorTest
+
+
+winexe
+C#
+.cs
+H:\eaiwrappercsharp\MotorTest\obj\Debug\
+MotorTest
+none
+false
+DEBUG;TRACE
+H:\eaiwrappercsharp\MotorTest\App.xaml
+11151548125
+1-939846663
+5-2017746502
+131569487696
+MainWindow.xaml;
+
+False
+

+ 20 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+MotorTest
+
+
+winexe
+C#
+.cs
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\obj\Debug\
+MotorTest
+none
+false
+DEBUG;TRACE
+c:\users\hesham.elsayed\source\repos\MotorTest\MotorTest\App.xaml
+11151548125
+1-939846663
+9-1659130733
+131569487696
+MainWindow.xaml;
+
+False
+

+ 4 - 0
eaiwrappercsharp/MotorTest/obj/Debug/MotorTest_MarkupCompile.lref

@@ -0,0 +1,4 @@
+
+
+FH:\eaiwrappercsharp\MotorTest\MainWindow.xaml;;
+

+ 0 - 0
eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs


+ 0 - 0
eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs


+ 0 - 0
eaiwrappercsharp/MotorTest/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs