Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
For tasks that intend to modify consumable levels. More...
Properties | |
IConsumableManipulator | Consumables [set] |
You will get an instance of a helper class that helps your task to find the correct consumable puddle. | |
Additional Inherited Members | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask | |
void | PreValidate () |
Called before the schedule construction is completed. | |
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) | |
For tasks that intend to modify consumable levels.
Definition at line 9 of file IConsumer.cs.
|
set |
You will get an instance of a helper class that helps your task to find the correct consumable puddle.
You can use this indepenedently of active consumables manager - if there is none, you'll just get a dummy here. This will be set to different instances for validation and execution time. Please use this in ITask.PostValidate() (which may be called repeatedly), not ITask.PreValidate().
Implemented in MockPlugin.Tasks.CoffeeMachineBaseTask.
Definition at line 19 of file IConsumer.cs.