Chronos Plugins  5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
AxelSemrau.Chronos.Plugin.IManageConnectionState Interface Reference

Implement this if your device wants to expose its connection state to other plugins. More...

+ Inheritance diagram for AxelSemrau.Chronos.Plugin.IManageConnectionState:
+ Collaboration diagram for AxelSemrau.Chronos.Plugin.IManageConnectionState:

Properties

ConnectionState ConnectionState [get]
 Overrides the cached connection state in Chronos More...
 
- 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. More...
 
string DeviceTypeDescription [get]
 Text which is displayed to make clear which kind of device a named sampler is. More...
 
string Name [get, set]
 User-selected name for the device instance. More...
 

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. More...
 
void Disconnect ()
 You may disconnect now. More...
 
- Events inherited from AxelSemrau.Chronos.Plugin.IDevice
Action< ConnectionStateConnectionStateChanged
 Raise this event when your connection state has changed. More...
 

Detailed Description

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 223 of file DeviceInterfaces.cs.

Property Documentation

◆ ConnectionState

ConnectionState AxelSemrau.Chronos.Plugin.IManageConnectionState.ConnectionState
get

Overrides the cached connection state in Chronos

Definition at line 228 of file DeviceInterfaces.cs.

228 { get; }

The documentation for this interface was generated from the following file: