|
Chronos Plugins 5.11.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.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. | |
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 ErrorDescription, ErrorType, MockPlugin.Tasks.CoffeeMachineBaseTask.mDevice, and 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 Execute().
|
getset |
|
getset |
Should we consider the error fixed after error handling has run?
Definition at line 440 of file MockUseDeviceTasks.cs.
Referenced by Execute().