Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Just show that some kind of operation can be done with our "Train" device parts. More...
Public Member Functions | |
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) | |
void | SetDevice (IDevice yourDevice) |
Will be called by chronos when building the schedule. | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITaskForDevice | |
Public Member Functions inherited from AxelSemrau.Chronos.Plugin.ITask |
Properties | |
bool | DoorsOpen [get, set] |
Private Attributes | |
TrainPart | mMyTrainPart |
Just show that some kind of operation can be done with our "Train" device parts.
Definition at line 13 of file UseTrain.cs.
void MockPlugin.Tasks.UseTrain.Execute | ( | ) |
Do whatever you have to do with your parameters.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 32 of file UseTrain.cs.
References MockPlugin.Tasks.UseTrain.DoorsOpen.
string MockPlugin.Tasks.UseTrain.GetTaskAction | ( | ) |
Description of the tasks's action (for hints/time table)
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 37 of file UseTrain.cs.
void MockPlugin.Tasks.UseTrain.PostValidate | ( | ) |
Called after the schedule construction is completed.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 22 of file UseTrain.cs.
References MockPlugin.Tasks.UseTrain.mMyTrainPart.
void MockPlugin.Tasks.UseTrain.PreValidate | ( | ) |
Called before the schedule construction is completed.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 17 of file UseTrain.cs.
void MockPlugin.Tasks.UseTrain.SetDevice | ( | IDevice | yourDevice | ) |
Will be called by chronos when building the schedule.
yourDevice |
Implements AxelSemrau.Chronos.Plugin.ITaskForDevice.
Definition at line 43 of file UseTrain.cs.
References MockPlugin.Tasks.UseTrain.mMyTrainPart.
|
private |
Definition at line 15 of file UseTrain.cs.
Referenced by MockPlugin.Tasks.UseTrain.PostValidate(), and MockPlugin.Tasks.UseTrain.SetDevice().
|
getset |
Definition at line 30 of file UseTrain.cs.
Referenced by MockPlugin.Tasks.UseTrain.Execute().