TaskMaintenanceTriggerEnum Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:API}}{{Template:APIBreadcrumb}} <onlyinclude>Specifies which event(s) in the maintenance group(s) triggers the task.</onlyinclude> ==Members== {| {{APITableEnum}} |…')
 
No edit summary
Line 2: Line 2:




<onlyinclude>Specifies which event(s) in the maintenance group(s) triggers the task.</onlyinclude>
<onlyinclude>Specifies which event in the maintenance group(s) triggers the task.</onlyinclude>
 
Notes: In the <code>Maintenance Triggers</code> property of the <code>[[CScheduledTask Class|cScheduledTask class]]</code>, you can set two or more triggers by taking the sum of the value of each trigger or by using a logical "OR." For example, to trigger the task when a corrective (value=2) or preventive (value=4) maintenance starts, you would set the value of the property to 6.


==Members==
==Members==

Revision as of 22:05, 13 January 2016

APIWiki.png


Member of: SynthesisAPI


Specifies which event in the maintenance group(s) triggers the task.

Notes: In the Maintenance Triggers property of the cScheduledTask class, you can set two or more triggers by taking the sum of the value of each trigger or by using a logical "OR." For example, to trigger the task when a corrective (value=2) or preventive (value=4) maintenance starts, you would set the value of the property to 6.

Members

Name Value Description
BlockFails 1 The task is performed when a block in the maintenance group fails.
CorrectiveMaintenance 2 The task is performed when a block in the maintenance group starts corrective maintenance.
PreventiveMaintenance 4 The task is performed when a block in the maintenance group starts preventive maintenance.
Inspection 8 The task is performed when a block in the maintenance group starts inspection.
BlockRestored 16 The task is performed when a block in the maintenance group is restored to operation.




See Also