Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
For some special cases it can be necessary to have a single task communicate with two different devices. More...
Public Member Functions | |
void | PreValidate () |
Called before the schedule construction is completed. | |
void | PostValidate () |
Called after the schedule construction is completed. | |
void | Execute () |
Showing how to use our device(s) from the task. | |
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 | |
IDevice | SecondCoffeeMakerOrPal3 [get, set] |
IDevice | ThirdAnyDevice [get, set] |
Events | |
Action< string > | WriteToRunlog |
Events inherited from AxelSemrau.Chronos.Plugin.IHaveRunlogOutput | |
Action< string > | WriteToRunlog |
Use this event to send output to the Run Control / Runlog page and, if applicable, to the runlog file. | |
Private Member Functions | |
string | NameOrNotSet (IDevice dev) |
Private Attributes | |
IDevice | mDevice1 |
For some special cases it can be necessary to have a single task communicate with two different devices.
Definition at line 16 of file MockUseMultipleDevicesTask.cs.
void MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute | ( | ) |
Showing how to use our device(s) from the task.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 35 of file MockUseMultipleDevicesTask.cs.
References MockPlugin.Tasks.MockUseMultipleDevicesTask.mDevice1, MockPlugin.Tasks.MockUseMultipleDevicesTask.SecondCoffeeMakerOrPal3, AxelSemrau.Chronos.Plugin.IPAL3Services.Simulating, MockPlugin.Tasks.MockUseMultipleDevicesTask.ThirdAnyDevice, and MockPlugin.Tasks.MockUseMultipleDevicesTask.WriteToRunlog.
string MockPlugin.Tasks.MockUseMultipleDevicesTask.GetTaskAction | ( | ) |
Description of the tasks's action (for hints/time table)
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 51 of file MockUseMultipleDevicesTask.cs.
|
private |
Definition at line 56 of file MockUseMultipleDevicesTask.cs.
References AxelSemrau.Chronos.Plugin.IDevice.Name.
void MockPlugin.Tasks.MockUseMultipleDevicesTask.PostValidate | ( | ) |
Called after the schedule construction is completed.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 27 of file MockUseMultipleDevicesTask.cs.
void MockPlugin.Tasks.MockUseMultipleDevicesTask.PreValidate | ( | ) |
Called before the schedule construction is completed.
Implements AxelSemrau.Chronos.Plugin.ITask.
Definition at line 22 of file MockUseMultipleDevicesTask.cs.
void MockPlugin.Tasks.MockUseMultipleDevicesTask.SetDevice | ( | IDevice | yourDevice | ) |
Will be called by chronos when building the schedule.
yourDevice |
Implements AxelSemrau.Chronos.Plugin.ITaskForDevice.
Definition at line 62 of file MockUseMultipleDevicesTask.cs.
References MockPlugin.Tasks.MockUseMultipleDevicesTask.mDevice1.
|
private |
Definition at line 18 of file MockUseMultipleDevicesTask.cs.
Referenced by MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute(), and MockPlugin.Tasks.MockUseMultipleDevicesTask.SetDevice().
|
getset |
Definition at line 70 of file MockUseMultipleDevicesTask.cs.
Referenced by MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute().
|
getset |
Definition at line 72 of file MockUseMultipleDevicesTask.cs.
Referenced by MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute().
Action<string> MockPlugin.Tasks.MockUseMultipleDevicesTask.WriteToRunlog |
Definition at line 76 of file MockUseMultipleDevicesTask.cs.
Referenced by MockPlugin.Tasks.MockUseMultipleDevicesTask.Execute().