Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
In contrast to PretendCoffeeMachineIsBroken, this simulates an error that an autosampler could have while it is used by a task. More...
Public Member Functions | |
override void | Execute () |
Do whatever you have to do with your parameters. | |
override string | GetTaskAction () |
Description of the tasks's action (for hints/time table) | |
Public Member Functions inherited from MockPlugin.Tasks.CoffeeMachineBaseTask | |
void | SetDevice (IDevice yourDevice) |
virtual void | PreValidate () |
Called before the schedule construction is completed. | |
virtual void | PostValidate () |
Called after the schedule construction is completed. | |
void | Execute () |
Do whatever you have to do with your parameters. | |
string | GetTaskAction () |
Description of the tasks's action (for hints/time table) | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITaskForDevice | |
void | SetDevice (IDevice yourDevice) |
Will be called by chronos when building the schedule. | |
Properties | |
string | ErrorDescription = "Some random error message that is shown to the user" [get, set] |
ErrorType | ErrorType = ErrorType.MissingVial [get, set] |
bool | ResolvedAfterHandling = false [get, set] |
Should we consider the error fixed after error handling has run? | |
Properties inherited from MockPlugin.Tasks.CoffeeMachineBaseTask | |
IConsumableManipulator | Consumables [get, set] |
You will get an instance of a helper class that helps your task to find the correct consumable puddle. | |
Properties inherited from AxelSemrau.Chronos.Plugin.Consumables.IConsumer |
Additional Inherited Members | |
Protected Member Functions inherited from MockPlugin.Tasks.CoffeeMachineBaseTask | |
void | CheckForCoffeeMachine (IDevice yourDevice) |
It makes no sense to use any other "Autosampler" than our fake coffee machine here. | |
Protected Attributes inherited from MockPlugin.Tasks.CoffeeMachineBaseTask | |
MockDevice | mDevice |
In contrast to PretendCoffeeMachineIsBroken, this simulates an error that an autosampler could have while it is used by a task.
Definition at line 433 of file MockUseDeviceTasks.cs.
override void MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.Execute | ( | ) |
Do whatever you have to do with your parameters.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 441 of file MockUseDeviceTasks.cs.
References MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.ErrorDescription, MockPlugin.Tasks.CoffeeMachineBaseTask.mDevice, MockPlugin.Device.MockDevice.RaiseError(), and MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.ResolvedAfterHandling.
override string MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.GetTaskAction | ( | ) |
Description of the tasks's action (for hints/time table)
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 446 of file MockUseDeviceTasks.cs.
|
getset |
Definition at line 435 of file MockUseDeviceTasks.cs.
Referenced by MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.Execute().
|
getset |
Definition at line 436 of file MockUseDeviceTasks.cs.
|
getset |
Should we consider the error fixed after error handling has run?
Definition at line 440 of file MockUseDeviceTasks.cs.
Referenced by MockPlugin.Tasks.CoffeeMachineDoesNotWorkProperly.Execute().