Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Gives access to a task's implementation and to all user visible properties. More...
Properties | |
int | JobNo [get] |
Gets the job index. | |
int | TaskIndex [get] |
Gets the index of the task. | |
object | Task [get] |
Task object, Chronos internal type. | |
IEnumerable< IAccessProperty > | PropertyAccessInfos [get] |
Enumeration of all visible properties of this task. | |
IDevice | Autosampler [get] |
Get the Plugin-friendly wrapper for the task's autosampler, if available, else null. | |
ITask | PluginTask [get] |
Gets the unwrapped ITask implementation if this is a plugin task, else null. | |
int | UserVisibleIndex [get] |
The index as seen in the method editor. | |
int? | RepeatCounter [get] |
If this is within a repeat loop, the respective iteration number, else null. | |
bool | Enabled [get, set] |
Should this task be executed? | |
int | StartTime [get] |
Time relative to schedule start in seconds when this task was started / will be started. | |
int | Runtime [get] |
Task duration in seconds. | |
Gives access to a task's implementation and to all user visible properties.
Do not implement this, it's a parameter of IInspectJob
Definition at line 290 of file TaskInterfaces.cs.
|
get |
Get the Plugin-friendly wrapper for the task's autosampler, if available, else null.
Definition at line 320 of file TaskInterfaces.cs.
|
getset |
Should this task be executed?
Only disable other tasks if you are sure that you know what you are doing. This can have a lot of side effects. Available since API 1.1.0
Definition at line 345 of file TaskInterfaces.cs.
|
get |
Gets the job index.
The zero-based job index
Definition at line 298 of file TaskInterfaces.cs.
|
get |
Gets the unwrapped ITask implementation if this is a plugin task, else null.
Definition at line 324 of file TaskInterfaces.cs.
Referenced by MockPlugin.Tasks.JobInspectionDemo.DisablePreviousTwin().
|
get |
Enumeration of all visible properties of this task.
Definition at line 316 of file TaskInterfaces.cs.
|
get |
If this is within a repeat loop, the respective iteration number, else null.
Definition at line 335 of file TaskInterfaces.cs.
|
get |
Task duration in seconds.
Available since API 1.1.0
Definition at line 360 of file TaskInterfaces.cs.
|
get |
Time relative to schedule start in seconds when this task was started / will be started.
Obviously only available after schedule planning is completed. Available since API 1.1.0
Definition at line 353 of file TaskInterfaces.cs.
|
get |
Task object, Chronos internal type.
Definition at line 311 of file TaskInterfaces.cs.
Referenced by MockPlugin.Tasks.TaskListAttribute.GetCaffeineInfo(), and MockPlugin.Tasks.JobInspectionDemo.GetJitInfo().
|
get |
Gets the index of the task.
The index of the task in the enumeration of enabled tasks of the job
Definition at line 306 of file TaskInterfaces.cs.
|
get |
The index as seen in the method editor.
Please note that this is the same for all iterations of a repeat loop.
Definition at line 331 of file TaskInterfaces.cs.