Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Implement this if your device wants to expose its connection state to other plugins. More...
Properties | |
ConnectionState | ConnectionState [get] |
Overrides the cached connection state in Chronos. | |
Properties inherited from AxelSemrau.Chronos.Plugin.IDevice | |
string | DisplayedTypeName [get] |
Text which is displayed in the instruments settings "Autosampler Type" column and in many other places. | |
string | DeviceTypeDescription [get] |
Text which is displayed to make clear which kind of device a named sampler is. | |
string | Name [get, set] |
User-selected name for the device instance. | |
Additional Inherited Members | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.IDevice | |
void | Connect () |
You may have connected to the device before this, but make sure you are connected after this. | |
void | Disconnect () |
You may disconnect now. | |
Events inherited from AxelSemrau.Chronos.Plugin.IDevice | |
Action< ConnectionState > | ConnectionStateChanged |
Raise this event when your connection state has changed. | |
Implement this if your device wants to expose its connection state to other plugins.
Chronos keeps track of the connection state itself, by assuming that a device is connected if the Connect() call did not fail and following the ConnectionStateChanged events. If this does not work in your case, you are free to override this value here.
Definition at line 224 of file DeviceInterfaces.cs.
|
get |
Overrides the cached connection state in Chronos.
Definition at line 229 of file DeviceInterfaces.cs.