Chronos Plugins 5.4.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
ToolboxInterfaces.cs
Go to the documentation of this file.
1using System.Runtime.InteropServices;
2
4{
13 [Guid("71947C4C-4C09-4B4B-A5D2-64E080C51A6D")]
14 public interface IToolbox<TDevice> where TDevice : class, IDevice
15 {
19 TDevice Device
20 {
21 get;
22 set;
23 }
24
29 System.Drawing.Icon NavBarIcon
30 {
31 get;
32 }
33 }
34
44 public interface IUsableDuringRun<TDevice> : IToolbox<TDevice> where TDevice: class, IDevice
45 {
50 bool SequenceRunning { set; }
51 }
52}
Classes and interfaces that are meant for plugins. The classes and interfaces below this namespace ar...
To be implemented by the "device driver" part of a Chronos plugin.
To be implemented by the Toolbox part of a Chronos plugin.
System.Drawing.Icon NavBarIcon
Icon that is shown in the tools menu.
TDevice Device
Gives access to the device. Will be set after the class has been instantiated.
Implement this if you want your toolbox to be visible during a sequence run.
bool SequenceRunning
Informs you if a sequence is running or not, so that you can adjust the GUI accordingly.