CCorrectiveTask Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


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

Revision as of 17:26, 10 March 2014


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 returns the name of the model (the one used in the repository)
  • ID (as integer) Returns the ID of the resource (the one used in the repository).
  • ProjectID (as integer) Returns the ID of the project the resource belongs to.
  • TaskFrequencyID (as TaskFrequencyEnum) Returns the ID of the task frequency as a task frequency enumeration for which the resource belongs to.
  • DurationModelID (as integer) Returns 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 returns whether fixed probability should be used as a spare acquisition type for the resource.
  • ResFactorValue (as double) Sets or returns the type for the restoration enumeration the resource belongs to.
  • CrewIDs (as integer()) Returns the IDs of the crews assigned that the resource belongs to.
  • PoolID (as integer) Returns the ID of the pools assigned that the resource belongs to.
  • MiscCostModelID (as integer) Returns 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.