HardwareSimulator 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package HardwareSimulator --version 1.0.0                
NuGet\Install-Package HardwareSimulator -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HardwareSimulator" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HardwareSimulator --version 1.0.0                
#r "nuget: HardwareSimulator, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HardwareSimulator as a Cake Addin
#addin nuget:?package=HardwareSimulator&version=1.0.0

// Install HardwareSimulator as a Cake Tool
#tool nuget:?package=HardwareSimulator&version=1.0.0                

Hardware Simulator

Hardware Simulator in MiniStand system

Hardware Simulator in MiniStand system (The first NuGET package) is designed to simulate the hardware center (management) to talk with MiniStand Engine via MQTT protocol.

When MiniStand Engine runs, it send command via MQTT to ask hardware center to do action or measurement, hardware center will post response back then.

If you don't have one or more hardware devices on hand, then it is the chance to let Hardware Simulator to take the role. It doesn’t really communicate with hardware devices, just send back MQTT packages to simulate the device working.

The main UI is taken in the Word document.

In the left panel, you can set the response ahead of getting commands to do action or measurement. The right panel shows the log sending response to MiniStand Engine.

Sorry currently no multilang provided.

The MiniStand Engine’s UI was taken a screen shot in the Word document too.

Every time when Start button was clicked, MiniStand Engine will send a MQTT command to ask hardware action or measurement described in selected testing items.

MiniStand Engine has some multilang jobs done, but not 100% sure. Default language is Chinese Simplified.

The work flowchart is like in the PowerPoint slide.

MiniStand sends out the commands to do action or measurement via MQTT package, and doesn’t care about who responds to it, Hardware Center or Hardware Simulator, either one.

Prerequisite:

  1. You must run GeneralInstaller (the 2nd NuGET package) to install some necessary components with Administrator permission. Just run GeneralInstall.exe and all the COM components will be registered.
  2. Install MQTTX at https://mqttx.app
  3. Configure MiniStand Engine

First, MiniStandShell.exe is at C:\Program Files (x86)\PatrickGamp\MiniStandShell, it just takes the only parameter in its own config file – usually it is C:\Program Files (x86)\PatrickGamp\MiniStandShell\assets\config_v2.db.

Seconds, run following command in command line prompt:

C:\Program Files (x86)\PatrickGamp\GeneralConfigApp>GeneralConfig_v2.WpfManager.exe "C:\Program Files (x86)\PatrickGamp\MiniStandShell\assets\config_v2.db"

General Config App will help you make some configuration items as your needs.

Remember, unpack InstallBits.zip and run the GeneralInstaller.exe with Administrator permission to use that. Also, 4 db files under assets will help you go through with existing data faster. Please reference to HardwareAndMiniStandWorkFlow.docx under sub folder 'docs'.

Author

Patrick Gamp

Published date

January 6, 2024

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 166 3/8/2024
1.0.0 852 1/6/2024

initial submit.