cCorrectiveTask Class

From ReliaWiki

Jump to: navigation, search


Member of: SynthesisAPI


Represents a corrective task resource.

Constructors

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


Methods

Name Description
GetCrewIDsReturns an array containing the numeric IDs of the crews assigned to the task.
SetCrewIDsAssigns crews to the task.


Properties

Name Description
BringItemDownIndicates whether the task will bring the item down. Boolean. Default value = True.
BringSystemDownIndicates whether the task will bring the system down. Boolean. Default value = False.
CrewIDs()Gets or sets the numeric IDs of the crews assigned to the task. Integer.
DurationModelIDGets or sets the numeric ID of the duration model assigned to the task. Integer.
IDGets the numeric ID of the task. Integer
ItemApplicationGets or sets the item's application. (Synthesis identifier) String
ItemCategoryIDGets or sets the category ID. (Synthesis identifier) Integer
ItemCommentsGets or sets the comments. (Synthesis identifier) String
ItemDescriptionGets or sets the description. (Synthesis identifier) String
ItemKeywordsGets or sets the keywords. (Synthesis identifier) String
ItemPartNumberGets or sets the part number. (Synthesis identifier) String
ItemSupplierGets or sets the supplier name. (Synthesis identifier) String
ItemVersionGets or sets the version number. (Synthesis identifier) String
MiscCostModelIDGets or sets the numeric ID of the model that represents the cost per task. Integer.
MiscCostPerTimeModelIDGets or sets the numeric ID of the model that represents the downtime rate. Integer.
NameGets or sets the name of the task. String.
PerformTaskEvenIfItBringsSysDownIndicates whether the task should be performed if bringing the item down causes the system to go down. Boolean. Default value = True.
ProjectIDGets the numeric ID of the project the task belongs to. Integer.
ResFactorTypeGets or sets a value from the TaskRestorationTypeEnum, which specifies the effect of the restoration. Default value = 1 (restores all accumulated damage).
ResFactorValueGets or sets the restoration amount (0.9 = 90% restoration). A value = 1 indicates an as good as new condition, a value = 0 indicates an as bad as old condition. A values greater than zero but less than 1 indicates a partial restoration. Double.
TaskFrequencyIDGets or sets a value from the TaskFrequencyEnum, which specifies the frequency at which the task is performed. Default value = 8 (task is performed upon item failure).



See Also

Personal tools
ReliaWiki.org
Create a book