diff --git a/.gitignore b/.gitignore
index 25b3a0b56..7fc4f731c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
Config/bin/
Config/obj/
+DeviceTest/bin/
+DeviceTest/obj/
Results/bin/
Results/obj/
ResultsBrowser/bin/
diff --git a/DeviceTest/DeviceTest.csproj b/DeviceTest/DeviceTest.csproj
new file mode 100644
index 000000000..75e9b2409
--- /dev/null
+++ b/DeviceTest/DeviceTest.csproj
@@ -0,0 +1,103 @@
+
+
+
+ Debug
+ x86
+ 8.0.30703
+ 2.0
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}
+ WinExe
+ Properties
+ DeviceTest
+ DeviceTest
+ v4.0
+
+
+ 512
+
+
+ x86
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ x86
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+ DeviceTest.Program
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ DeviceTestDlg.cs
+
+
+
+
+ DeviceTestDlg.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+ True
+
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ {743DF7DB-C7B6-42EB-986D-0F485E5588E4}
+ Config
+
+
+ {8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}
+ TBF
+
+
+
+
+
\ No newline at end of file
diff --git a/DeviceTest/DeviceTestDlg.Designer.cs b/DeviceTest/DeviceTestDlg.Designer.cs
new file mode 100644
index 000000000..8f88a9d82
--- /dev/null
+++ b/DeviceTest/DeviceTestDlg.Designer.cs
@@ -0,0 +1,134 @@
+namespace DeviceTest
+{
+ partial class DeviceTestDlg
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.classNameComboBox = new System.Windows.Forms.ComboBox();
+ this.classLabel = new System.Windows.Forms.Label();
+ this.nameLabel = new System.Windows.Forms.Label();
+ this.nameTextBox = new System.Windows.Forms.TextBox();
+ this.configureButton = new System.Windows.Forms.Button();
+ this.startButton = new System.Windows.Forms.Button();
+ this.stopButton = new System.Windows.Forms.Button();
+ this.SuspendLayout();
+ //
+ // classNameComboBox
+ //
+ this.classNameComboBox.FormattingEnabled = true;
+ this.classNameComboBox.Location = new System.Drawing.Point(100, 29);
+ this.classNameComboBox.Name = "classNameComboBox";
+ this.classNameComboBox.Size = new System.Drawing.Size(299, 21);
+ this.classNameComboBox.TabIndex = 0;
+ //
+ // classLabel
+ //
+ this.classLabel.AutoSize = true;
+ this.classLabel.Location = new System.Drawing.Point(34, 32);
+ this.classLabel.Name = "classLabel";
+ this.classLabel.Size = new System.Drawing.Size(32, 13);
+ this.classLabel.TabIndex = 1;
+ this.classLabel.Text = "Class";
+ //
+ // nameLabel
+ //
+ this.nameLabel.AutoSize = true;
+ this.nameLabel.Location = new System.Drawing.Point(34, 69);
+ this.nameLabel.Name = "nameLabel";
+ this.nameLabel.Size = new System.Drawing.Size(35, 13);
+ this.nameLabel.TabIndex = 2;
+ this.nameLabel.Text = "Name";
+ //
+ // nameTextBox
+ //
+ this.nameTextBox.Location = new System.Drawing.Point(100, 66);
+ this.nameTextBox.Name = "nameTextBox";
+ this.nameTextBox.Size = new System.Drawing.Size(299, 20);
+ this.nameTextBox.TabIndex = 3;
+ //
+ // configureButton
+ //
+ this.configureButton.Location = new System.Drawing.Point(100, 104);
+ this.configureButton.Name = "configureButton";
+ this.configureButton.Size = new System.Drawing.Size(129, 28);
+ this.configureButton.TabIndex = 4;
+ this.configureButton.Text = "Configure";
+ this.configureButton.UseVisualStyleBackColor = true;
+ this.configureButton.Click += new System.EventHandler(this.configureButton_Click);
+ //
+ // startButton
+ //
+ this.startButton.Location = new System.Drawing.Point(100, 138);
+ this.startButton.Name = "startButton";
+ this.startButton.Size = new System.Drawing.Size(129, 28);
+ this.startButton.TabIndex = 5;
+ this.startButton.Text = "Start device";
+ this.startButton.UseVisualStyleBackColor = true;
+ this.startButton.Click += new System.EventHandler(this.startButton_Click);
+ //
+ // stopButton
+ //
+ this.stopButton.Location = new System.Drawing.Point(100, 172);
+ this.stopButton.Name = "stopButton";
+ this.stopButton.Size = new System.Drawing.Size(129, 28);
+ this.stopButton.TabIndex = 6;
+ this.stopButton.Text = "Stop device";
+ this.stopButton.UseVisualStyleBackColor = true;
+ this.stopButton.Click += new System.EventHandler(this.stopButton_Click);
+ //
+ // DeviceTestDlg
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(450, 262);
+ this.Controls.Add(this.stopButton);
+ this.Controls.Add(this.startButton);
+ this.Controls.Add(this.configureButton);
+ this.Controls.Add(this.nameTextBox);
+ this.Controls.Add(this.nameLabel);
+ this.Controls.Add(this.classLabel);
+ this.Controls.Add(this.classNameComboBox);
+ this.Name = "DeviceTestDlg";
+ this.Text = "Device test";
+ this.Load += new System.EventHandler(this.DeviceTestDlg_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ComboBox classNameComboBox;
+ private System.Windows.Forms.Label classLabel;
+ private System.Windows.Forms.Label nameLabel;
+ private System.Windows.Forms.TextBox nameTextBox;
+ private System.Windows.Forms.Button configureButton;
+ private System.Windows.Forms.Button startButton;
+ private System.Windows.Forms.Button stopButton;
+ }
+}
+
diff --git a/DeviceTest/DeviceTestDlg.cs b/DeviceTest/DeviceTestDlg.cs
new file mode 100644
index 000000000..ec82015ad
--- /dev/null
+++ b/DeviceTest/DeviceTestDlg.cs
@@ -0,0 +1,48 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using Config.Entities;
+using TBF.BenchControl;
+
+namespace DeviceTest
+{
+ public partial class DeviceTestDlg : Form
+ {
+ IList compClasses;
+
+ public DeviceTestDlg()
+ {
+ InitializeComponent();
+ compClasses = new List();
+ foreach (var componentFactory in TbfComponents.Factories)
+ {
+ compClasses.Add(componentFactory.ClassName);
+ }
+ }
+
+ private void DeviceTestDlg_Load(object sender, EventArgs e)
+ {
+ foreach (var clName in compClasses) classNameComboBox.Items.Add(clName);
+ }
+
+ private void configureButton_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void startButton_Click(object sender, EventArgs e)
+ {
+
+ }
+
+ private void stopButton_Click(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
diff --git a/DeviceTest/DeviceTestDlg.resx b/DeviceTest/DeviceTestDlg.resx
new file mode 100644
index 000000000..1af7de150
--- /dev/null
+++ b/DeviceTest/DeviceTestDlg.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/DeviceTest/Program.cs b/DeviceTest/Program.cs
new file mode 100644
index 000000000..0e8fa92d0
--- /dev/null
+++ b/DeviceTest/Program.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace DeviceTest
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new DeviceTestDlg());
+ }
+ }
+}
diff --git a/DeviceTest/Properties/AssemblyInfo.cs b/DeviceTest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000..6fcf0125e
--- /dev/null
+++ b/DeviceTest/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 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("DeviceTest")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DeviceTest")]
+[assembly: AssemblyCopyright("Copyright © 2016")]
+[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)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("a3e8ad92-6617-4f5c-88ce-346d28120fb7")]
+
+// 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")]
diff --git a/DeviceTest/Properties/Resources.Designer.cs b/DeviceTest/Properties/Resources.Designer.cs
new file mode 100644
index 000000000..9e195144b
--- /dev/null
+++ b/DeviceTest/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace DeviceTest.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // 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() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DeviceTest.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/DeviceTest/Properties/Resources.resx b/DeviceTest/Properties/Resources.resx
new file mode 100644
index 000000000..af7dbebba
--- /dev/null
+++ b/DeviceTest/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/DeviceTest/Properties/Settings.Designer.cs b/DeviceTest/Properties/Settings.Designer.cs
new file mode 100644
index 000000000..14cb028c4
--- /dev/null
+++ b/DeviceTest/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace DeviceTest.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.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;
+ }
+ }
+ }
+}
diff --git a/DeviceTest/Properties/Settings.settings b/DeviceTest/Properties/Settings.settings
new file mode 100644
index 000000000..39645652a
--- /dev/null
+++ b/DeviceTest/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/DeviceTest/app.config b/DeviceTest/app.config
new file mode 100644
index 000000000..e36560333
--- /dev/null
+++ b/DeviceTest/app.config
@@ -0,0 +1,3 @@
+
+
+
diff --git a/TestBenchFramework.sln b/TestBenchFramework.sln
index cc1e46521..3ccd58b5e 100644
--- a/TestBenchFramework.sln
+++ b/TestBenchFramework.sln
@@ -15,6 +15,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResultsBrowser", "ResultsBr
{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48} = {8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}
EndProjectSection
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeviceTest", "DeviceTest\DeviceTest.csproj", "{6D3384DC-4638-4A92-91A8-F39D900377C6}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -37,6 +39,12 @@ Global
{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}.Release|Mixed Platforms.Build.0 = Release|x86
{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}.Release|x86.ActiveCfg = Release|x86
{8648FD92-CDA1-4C3A-B5F9-FE547CE1FA48}.Release|x86.Build.0 = Release|x86
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Debug|Any CPU.ActiveCfg = Debug
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Debug|Mixed Platforms.ActiveCfg = Debug
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Debug|x86.ActiveCfg = Debug
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Release|Any CPU.ActiveCfg = Release
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Release|Mixed Platforms.ActiveCfg = Release
+ {4890DE5C-9F68-40D7-B075-92C8EAB79833}.Release|x86.ActiveCfg = Release
{9D0DCC88-DC81-47EB-9FDD-4C3907871BFB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D0DCC88-DC81-47EB-9FDD-4C3907871BFB}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{9D0DCC88-DC81-47EB-9FDD-4C3907871BFB}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
@@ -65,6 +73,16 @@ Global
{07BA543A-54CA-4A59-9AD9-DDE7038E1BF9}.Release|Mixed Platforms.Build.0 = Release|x86
{07BA543A-54CA-4A59-9AD9-DDE7038E1BF9}.Release|x86.ActiveCfg = Release|x86
{07BA543A-54CA-4A59-9AD9-DDE7038E1BF9}.Release|x86.Build.0 = Release|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Debug|x86.ActiveCfg = Debug|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Debug|x86.Build.0 = Debug|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Release|Any CPU.ActiveCfg = Release|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Release|Mixed Platforms.Build.0 = Release|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Release|x86.ActiveCfg = Release|x86
+ {6D3384DC-4638-4A92-91A8-F39D900377C6}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE