CCorrectiveTask Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
=== Constructors ===
=== Constructors ===


*'''[[Public Sub New - cCorrectiveTask|Sub New]]''' {{APIComment|Creates a new instance of the resource.}}
*'''[[New cCorrectiveTask]]''' {{APIComment|Creates a new instance of the resource.}}


=== Properties  ===
=== Properties  ===

Revision as of 00:15, 19 September 2013



Corrective Task allows you to choose or create a corrective task for the URD. Corrective maintenance consists of the action(s) taken to restore a failed component to operational status.

Constructors

Properties

  • Name Sets or returns the name of the model (the one used in the repository)
  • ID Returns the ID of the resource (the one used in the repository).
  • ProjectID Returns the ID of the project the resource belongs to.
  • TaskFrequencyID Returns the ID of the task frequency as a task frequency enumeration for which the resource belongs to.
  • DurrationModelID Returns the ID of the task duration model the resource belongs to.
  • BringSystemDown Whether or not this task will bring the system down for which this resource belongs to.
  • BringItemDown Whether or not this task will bring the item down for which this resource belongs to.
  • PerformTaskEvenIfItBringsSysDown Whether or not you still perform the task if bringing the item down causes the system to go down.
  • ResFactorType Sets or returns whether fixed probability should be used as a spare acquisition type for the resource.
  • ResFactorValue Sets or returns the type for the restoration enumeration the resource belongs to.
  • CrewIDs Returns the IDs of the crews assigned that the resource belongs to.
  • PoolID Returns the ID of the pools assigned that the resource belongs to.
  • MiscCostModelID Returns the ID of the miscellaneous cost model based on the cost per task and downtime rate the resource belongs to.
  • MiscCostPerTimeModelID Returns the ID of the miscellaneous cost per unit of time model that the resource belongs to.