Chronos Plugins
5.2.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
The device part (well, train part) can't do much, just send status messages when the doors are opened/closed. More...
Public Member Functions | |
override string | ToString () |
Important! Without overriding ToString here, you will not be able to pick the device from an autosampler column in the sample list. More... | |
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... | |
TrainPart (Train parent, TrainPartType myType) | |
Properties | |
string | DisplayedTypeName [get] |
string | DeviceTypeDescription [get] |
string | Name [get, set] |
We have to return a descriptive name that also allows identification of the base device - just do it like the PAL3 and return BaseName + ":" + PartName More... | |
int | Num [get, set] |
bool?? | DoorsOpen [get, set] |
Action< ConnectionState > | ConnectionStateChanged |
Not used. 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... | |
Events | |
Action< string > | SetStatusMessage |
Events inherited from AxelSemrau.Chronos.Plugin.IDevice | |
Action< ConnectionState > | ConnectionStateChanged |
Raise this event when your connection state has changed. More... | |
Events inherited from AxelSemrau.Chronos.Plugin.IProvideStatusMessages | |
Action< string > | SetStatusMessage |
Raise this event to set your current status while doing something on the device. Messages passed to this event will be shown in the "Autosampler status" line. More... | |
Private Member Functions | |
string | BuildName () |
Private Attributes | |
readonly Train | mTrain |
readonly TrainPartType | mMyType |
bool | mDoorsAreOpen |
The device part (well, train part) can't do much, just send status messages when the doors are opened/closed.
MockPlugin.Device.TrainPart.TrainPart | ( | Train | parent, |
TrainPartType | myType | ||
) |
Definition at line 122 of file Train.cs.
References MockPlugin.Device.TrainPart.mMyType, and MockPlugin.Device.TrainPart.mTrain.
|
private |
void MockPlugin.Device.TrainPart.Connect | ( | ) |
You may have connected to the device before this, but make sure you are connected after this.
Implements AxelSemrau.Chronos.Plugin.IDevice.
void MockPlugin.Device.TrainPart.Disconnect | ( | ) |
You may disconnect now.
Implements AxelSemrau.Chronos.Plugin.IDevice.
override string MockPlugin.Device.TrainPart.ToString | ( | ) |
Important! Without overriding ToString here, you will not be able to pick the device from an autosampler column in the sample list.
|
private |
Definition at line 78 of file Train.cs.
Referenced by MockPlugin.Device.TrainPart.BuildName(), and MockPlugin.Device.TrainPart.TrainPart().
|
private |
Definition at line 77 of file Train.cs.
Referenced by MockPlugin.Device.TrainPart.TrainPart().
|
addremove |
|
get |
|
getset |
Definition at line 129 of file Train.cs.
Referenced by MockPlugin.Tasks.UseTrain.Execute().
|
getset |
Action<string> MockPlugin.Device.TrainPart.SetStatusMessage |