Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
This task will trigger a timer in our device which will make it complain about an error situation, even if at that time no task is trying to use it. 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) | |
![]() | |
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) | |
![]() | |
![]() | |
void | SetDevice (IDevice yourDevice) |
Will be called by chronos when building the schedule. | |
Properties | |
bool | SoftStop [get, set] |
![]() | |
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 | |
![]() | |
void | CheckForCoffeeMachine (IDevice yourDevice) |
It makes no sense to use any other "Autosampler" than our fake coffee machine here. | |
![]() | |
MockDevice | mDevice |
This task will trigger a timer in our device which will make it complain about an error situation, even if at that time no task is trying to use it.
Definition at line 415 of file MockUseDeviceTasks.cs.
override void MockPlugin.Tasks.PretendCoffeeMachineIsBroken.Execute | ( | ) |
Do whatever you have to do with your parameters.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 418 of file MockUseDeviceTasks.cs.
References MockPlugin.Tasks.CoffeeMachineBaseTask.mDevice, MockPlugin.Tasks.PretendCoffeeMachineIsBroken.SoftStop, and MockPlugin.Device.MockDevice.TriggerAbort().
override string MockPlugin.Tasks.PretendCoffeeMachineIsBroken.GetTaskAction | ( | ) |
Description of the tasks's action (for hints/time table)
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 424 of file MockUseDeviceTasks.cs.
References MockPlugin.Tasks.PretendCoffeeMachineIsBroken.SoftStop.
|
getset |
Definition at line 417 of file MockUseDeviceTasks.cs.
Referenced by MockPlugin.Tasks.PretendCoffeeMachineIsBroken.Execute(), and MockPlugin.Tasks.PretendCoffeeMachineIsBroken.GetTaskAction().