CCorrectiveTask Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Properties == | == Properties == | ||
'''Task''' | |||
*Name (as ''string'') {{APIComment|Sets or gets the name of the task.}} | *Name (as ''string'') {{APIComment|Sets or gets the name of the task.}} | ||
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the resource.}} | *ID (as ''integer'') {{APIComment|Gets the numerical ID of the resource.}} | ||
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the task belongs to.}} | *ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the task belongs to.}} | ||
*TaskFrequencyID (as ''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]'') {{APIComment|Gets the | |||
'''Task Scheduling''' | |||
*TaskFrequencyID (as ''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]'') {{APIComment|Gets the frequency with which the task is performed.}} | |||
'''Basic Repair Properties''' | |||
*DurationModelID (as ''integer'') {{APIComment|Gets the ID of the task duration model the resource belongs to.}} | *DurationModelID (as ''integer'') {{APIComment|Gets the ID of the task duration model the resource belongs to.}} | ||
*CrewIDs (as ''integer()'') {{APIComment|Gets the IDs of the crews assigned that the resource belongs to.}} | *CrewIDs (as ''integer()'') {{APIComment|Gets the IDs of the crews assigned that the resource belongs to.}} | ||
*PoolID (as ''integer'') {{APIComment|Gets the ID of the pools assigned that the resource belongs to.}} | *PoolID (as ''integer'') {{APIComment|Gets the ID of the pools assigned that the resource belongs to.}} | ||
*MiscCostModelID (as ''integer'') {{APIComment|Gets the ID | |||
*MiscCostPerTimeModelID (as ''integer'') {{APIComment| | '''Task Consequences''' | ||
*BringSystemDown (as ''boolean'') {{APIComment|Whether or not this task will bring the system down.}} | |||
*BringItemDown (as ''boolean'') {{APIComment|Whether or not this task will bring the item down.}} | |||
*PerformTaskEvenIfItBringsSysDown (as ''boolean'') {{APIComment|Whether or not you still perform the task if bringing the item down causes the system to go down. }} | |||
'''Restoration''' | |||
*ResFactorValue (as ''double'') {{APIComment|Sets or gets the corrective task's Restoration Amount (0.9 = 90% restoration).}} | |||
*ResFactorType (as ''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]'') {{APIComment|Sets or gets the enumeration for the damage the restoration applies to (i.e., all damage or only damage since last repair.}} | |||
'''Additional Costs to Consider''' | |||
*MiscCostModelID (as ''integer'') {{APIComment|Gets the numerical ID model that represents the task's Cost Per Task.}} | |||
*MiscCostPerTimeModelID (as ''integer'') {{APIComment|Gets the numerical ID of the model that represents the task's Downtime Rate.}} |
Revision as of 16:55, 12 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
Task
- 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.
Task Scheduling
- TaskFrequencyID (as TaskFrequencyEnum) Gets the frequency with which the task is performed.
Basic Repair Properties
- DurationModelID (as integer) Gets the ID of the task duration model 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.
Task Consequences
- BringSystemDown (as boolean) Whether or not this task will bring the system down.
- BringItemDown (as boolean) Whether or not this task will bring the item down.
- PerformTaskEvenIfItBringsSysDown (as boolean) Whether or not you still perform the task if bringing the item down causes the system to go down.
Restoration
- ResFactorValue (as double) {{{1}}}
- ResFactorType (as TaskRestorationTypeEnum) Sets or gets the enumeration for the damage the restoration applies to (i.e., all damage or only damage since last repair.
Additional Costs to Consider
- MiscCostModelID (as integer) Gets the numerical ID model that represents the task's Cost Per Task.
- MiscCostPerTimeModelID (as integer) Gets the numerical ID of the model that represents the task's Downtime Rate.