cCorrectiveTask Class

From ReliaWiki
Revision as of 23:57, 10 March 2014 by Chris Kahn (talk | contribs)
Jump to navigation Jump to search


Corrective tasks are unplanned maintenance activities that are performed when a failure occurs. They can be assigned to URDs.

Constructors

  • cCorrectiveTask Creates a new corrective task.

Properties

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