|
Chronos Plugins 5.11.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] |
| Gives access to the device. Will be set after the class has been instantiated. | |
| Icon | NavBarIcon [get] |
| Icon that is shown in the tools menu. | |
| 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 mDev.
|
private |
Definition at line 22 of file MockDeviceToolbox.cs.
Referenced by btnShowMessage_Click().
|
getset |
Gives access to the device. Will be set after the class has been instantiated.
Implements AxelSemrau.Chronos.Plugin.IToolbox< TDevice >.
Definition at line 24 of file MockDeviceToolbox.cs.
|
get |
Icon that is shown in the tools menu.
Please use 32x32 pixels.
Implements AxelSemrau.Chronos.Plugin.IToolbox< TDevice >.
Definition at line 47 of file MockDeviceToolbox.cs.
|
set |
Informs you if a sequence is running or not, so that you can adjust the GUI accordingly.
Implements AxelSemrau.Chronos.Plugin.IUsableDuringRun< TDevice >.
Definition at line 49 of file MockDeviceToolbox.cs.