TaskMaintenanceTriggerEnum Enumeration: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
<onlyinclude>Specifies which event 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.
Note: 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:15, 13 January 2016

APIWiki.png


Member of: SynthesisAPI


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

Note: 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