CCorrectiveTask Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
{| {{APITable}}
{| {{APITable}}
|-
|-
| style="width: 240px;"|Name||Gets or sets the name of the task. '''String'''.
| style="width: 240px;"|BringItemDown||Indicates whether the task will bring the item down. '''Boolean'''.
|-
|-
|ID||Gets the numeric ID of the task. '''Integer'''
|BringSystemDown||Indicates whether the task will bring the system down. '''Boolean'''.
|-
|TaskFrequencyID||Gets or sets a value from the '''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]''', which specifies the frequency with which the task is performed.
|-
|-
|CrewIDs()||Gets the numeric IDs of the crews assigned to the task. '''Integer'''. (VB.NET Only)
|CrewIDs()||Gets the numeric IDs of the crews assigned to the task. '''Integer'''. (VB.NET Only)
Line 35: Line 33:
|DurationModelID||Gets the numeric ID of the duration model assigned to the task. '''Integer'''.
|DurationModelID||Gets the numeric ID of the duration model assigned to the task. '''Integer'''.
|-
|-
|PoolID||Gets the ID of the spare part pool assigned to the task. '''Integer'''.
|ID||Gets the numeric ID of the task. '''Integer'''
|-
|{{Template:API_TxtIdentifiers}}
|-
|-
|ProjectID||Gets the numeric ID of the project the task belongs to. '''Integer'''.
|MiscCostModelID||Gets the numeric ID of the model that represents the cost per task. '''Integer'''.
|}
 
 
'''Task Consequences'''
{| {{APITable}}
|-
|-
| style="width: 240px;"|BringSystemDown||Indicates whether the task will bring the system down. '''Boolean'''.
|MiscCostPerTimeModelID||Gets the numeric ID of the model that represents the downtime rate. '''Integer'''.
|-
|-
|BringItemDown||Indicates whether the task will bring the item down. '''Boolean'''.
|Name||Gets or sets the name of the task. '''String'''.
|-
|-
|PerformTaskEvenIfItBringsSysDown||Indicates whether the task should be performed if bringing the item down causes the system to go down. '''Boolean'''.
|PerformTaskEvenIfItBringsSysDown||Indicates whether the task should be performed if bringing the item down causes the system to go down. '''Boolean'''.
|}
'''Restoration'''
{| {{APITable}}
|-
|-
| style="width: 240px;"|ResFactorValue||Gets or sets the task's restoration amount (0.9 = 90% restoration). '''Double'''.
|PoolID||Gets the ID of the spare part pool assigned to the task. '''Integer'''.
|-
|ProjectID||Gets the numeric ID of the project the task belongs to. '''Integer'''.
|-
|-
|ResFactorType||Gets or sets a value from the '''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]''', which specifies the damage the restoration applies to (i.e., restores all accumulated damage or restores only damage accumulated since last repair).
|ResFactorType||Gets or sets a value from the '''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]''', which specifies the damage the restoration applies to (i.e., restores all accumulated damage or restores only damage accumulated since last repair).
|}
'''Costs'''
{| {{APITable}}
|-
|-
| style="width: 240px;"|MiscCostModelID||Gets the numeric ID of the model that represents the task's cost per task. '''Integer'''.
|ResFactorValue||Gets or sets the restoration amount (0.9 = 90% restoration). '''Double'''.
|-
|-
|MiscCostPerTimeModelID||Gets the numeric ID of the model that represents the task's downtime rate. '''Integer'''.
|TaskFrequencyID||Gets or sets a value from the '''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]''', which specifies the frequency with which the task is performed.
|}
 
 
'''Synthesis Identifiers'''
{| {{APITable}}
|-
| style="width: 240px;"|{{Template:API_TxtIdentifiers}}
|}
|}

Revision as of 00:27, 28 August 2015

Template:InProgress

APIWiki.png


Member of: SynthesisAPI


Represents a corrective task resource.

Constructors

Name Description
CCorrectiveTask Creates an instance of the cCorrectiveTask class.
cCorrectiveTask() A parameterized constructor for the cCorrectiveTask class. (.NET only)


Methods

Name Description
GetCrewIDs
SetCrewIDs


Properties

Name Description
BringItemDown Indicates whether the task will bring the item down. Boolean.
BringSystemDown Indicates whether the task will bring the system down. Boolean.
CrewIDs() Gets the numeric IDs of the crews assigned to the task. Integer. (VB.NET Only)
DurationModelID Gets the numeric ID of the duration model assigned to the task. Integer.
ID Gets the numeric ID of the task. Integer
ItemApplication Gets or sets the item's application. (Synthesis identifier) String
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
ItemDescription Gets or sets the description. (Synthesis identifier) String
ItemKeywords Gets or sets the keywords. (Synthesis identifier) String
ItemPartNumber Gets or sets the part number. (Synthesis identifier) String
ItemSupplier Gets or sets the supplier name. (Synthesis identifier) String
ItemVersion Gets or sets the version number. (Synthesis identifier) String
MiscCostModelID Gets the numeric ID of the model that represents the cost per task. Integer.
MiscCostPerTimeModelID Gets the numeric ID of the model that represents the downtime rate. Integer.
Name Gets or sets the name of the task. String.
PerformTaskEvenIfItBringsSysDown Indicates whether the task should be performed if bringing the item down causes the system to go down. Boolean.
PoolID Gets the ID of the spare part pool assigned to the task. Integer.
ProjectID Gets the numeric ID of the project the task belongs to. Integer.
ResFactorType Gets or sets a value from the TaskRestorationTypeEnum, which specifies the damage the restoration applies to (i.e., restores all accumulated damage or restores only damage accumulated since last repair).
ResFactorValue Gets or sets the restoration amount (0.9 = 90% restoration). Double.
TaskFrequencyID Gets or sets a value from the TaskFrequencyEnum, which specifies the frequency with which the task is performed.