Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
For lack of a better idea, the demonstration for the multipart device is a train consisting of a locomotive and some different cars. More...
Public Member Functions | |
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. | |
Train () | |
Just adding all parts of the train. The parts keep references to the full train. | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.IDevice |
Properties | |
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. | |
IReadOnlyCollection< IDevice > | Parts [get] |
Collection of all available parts. | |
Properties inherited from AxelSemrau.Chronos.Plugin.IMultipartDevice | |
Properties inherited from AxelSemrau.Chronos.Plugin.IDevice |
Events | |
Action< ConnectionState > | ConnectionStateChanged [add, remove] |
Not used. | |
Action< string > | WriteToRunlog |
Events inherited from AxelSemrau.Chronos.Plugin.IDevice | |
Action< ConnectionState > | ConnectionStateChanged |
Raise this event when your connection state has changed. | |
Events inherited from AxelSemrau.Chronos.Plugin.IHaveRunlogOutput | |
Action< string > | WriteToRunlog |
Use this event to send output to the Run Control / Runlog page and, if applicable, to the runlog file. | |
Private Attributes | |
readonly List< TrainPart > | mAllParts = new List<TrainPart>() |
For lack of a better idea, the demonstration for the multipart device is a train consisting of a locomotive and some different cars.
MockPlugin.Device.Train.Train | ( | ) |
Just adding all parts of the train. The parts keep references to the full train.
Definition at line 32 of file Train.cs.
References MockPlugin.Device.Train.mAllParts.
void MockPlugin.Device.Train.Connect | ( | ) |
You may have connected to the device before this, but make sure you are connected after this.
Implements AxelSemrau.Chronos.Plugin.IDevice.
Definition at line 18 of file Train.cs.
void MockPlugin.Device.Train.Disconnect | ( | ) |
You may disconnect now.
Implements AxelSemrau.Chronos.Plugin.IDevice.
Definition at line 23 of file Train.cs.
Definition at line 27 of file Train.cs.
Referenced by MockPlugin.Device.Train.Train().
|
get |
Text which is displayed to make clear which kind of device a named sampler is.
Implements AxelSemrau.Chronos.Plugin.IDevice.
|
get |
Text which is displayed in the instruments settings "Autosampler Type" column and in many other places.
Implements AxelSemrau.Chronos.Plugin.IDevice.
|
getset |
User-selected name for the device instance.
Please return what you are given. Note: Before Chronos 5.1.8, this was set to "Uninitialized Device" for temporary device instances. With later versions, the name should only be set for a "real" instance.
Implements AxelSemrau.Chronos.Plugin.IDevice.
Definition at line 17 of file Train.cs.
|
get |
Collection of all available parts.
Implements AxelSemrau.Chronos.Plugin.IMultipartDevice.
|
addremove |