Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Example implementation for a WinForms toolbox for our Mock Device. More...
Public Member Functions | |
MockDeviceToolbox () | |
Properties | |
MockDevice | Device [get, set] |
Icon | NavBarIcon [get] |
bool? | SequenceRunning [set] |
Properties inherited from AxelSemrau.Chronos.Plugin.IToolbox< MockDevice > | |
TDevice | Device [get, set] |
Gives access to the device. Will be set after the class has been instantiated. | |
System.Drawing.Icon | NavBarIcon [get] |
Icon that is shown in the tools menu. | |
Properties inherited from AxelSemrau.Chronos.Plugin.IUsableDuringRun< MockDevice > | |
bool | SequenceRunning [set] |
Informs you if a sequence is running or not, so that you can adjust the GUI accordingly. | |
Private Member Functions | |
void | btnShowMessage_Click (object sender, EventArgs e) |
Private Attributes | |
MockDevice | mDev |
Example implementation for a WinForms toolbox for our Mock Device.
Just passes a message to the device which will show it in a MessageBox and allows to connect/disconnect.
Definition at line 15 of file MockDeviceToolbox.cs.
MockPlugin.Device.MockDeviceToolbox.MockDeviceToolbox | ( | ) |
Definition at line 17 of file MockDeviceToolbox.cs.
|
private |
Definition at line 42 of file MockDeviceToolbox.cs.
References MockPlugin.Device.MockDeviceToolbox.mDev, and MockPlugin.Device.MockDevice.ShowTheMessage().
|
private |
Definition at line 22 of file MockDeviceToolbox.cs.
Referenced by MockPlugin.Device.MockDeviceToolbox.btnShowMessage_Click().
|
getset |
Definition at line 24 of file MockDeviceToolbox.cs.
|
get |
Definition at line 47 of file MockDeviceToolbox.cs.
|
set |
Definition at line 49 of file MockDeviceToolbox.cs.