TaskMaintenanceTriggerEnum Enumeration

From ReliaWiki
Revision as of 23:17, 13 January 2016 by Kate Racaza (talk | contribs)
Jump to navigation Jump to search
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 values of the events 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