CScheduledTask Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
*Name (as ''string'') {{APIComment|Sets or gets the task's Name.}} | *Name (as ''string'') {{APIComment|Sets or gets the task's Name.}} | ||
*TaskClass (as ''[[TaskClassEnum Enumeration|TaskClassEnum]]'') {{APIComment|Gets or sets the task's class (i.e., preventive task).}} | *TaskClass (as ''[[TaskClassEnum Enumeration|TaskClassEnum]]'') {{APIComment|Gets or sets the task's class (i.e., preventive task).}} | ||
*TaskTypeID (as ''integer'') {{APIComment|Gets or sets the numerical ID of the task's | *TaskTypeID (as ''integer'') {{APIComment|Gets or sets the numerical ID of the task's type (e.g., restoration, condition based).}} | ||
*DiagramIDs (as ''integer() '') {{APIComment|Gets an array of numerical IDs for the diagrams the task is assigned to. (Note: May be removed/hidden.)}} | *DiagramIDs (as ''integer() '') {{APIComment|Gets an array of numerical IDs for the diagrams the task is assigned to. (Note: May be removed/hidden.)}} | ||
'''Task Scheduling''' | '''Task Scheduling''' | ||
*TaskFrequencyIDOrig (as ''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]'') {{APIComment|Gets the | *TaskFrequencyIDOrig (as ''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]'') {{APIComment|Gets the enumeration that specifies when the task is performed. (Note: May be removed/hidden.)}} | ||
*TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the ID of the | *TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the numerical ID for the original units of measurement of the intervals at which the task is performed. (Note: May be removed/hidden.)}} | ||
*TaskFrequencyUnitID (as ''integer'') {{APIComment|Gets the numerical ID | *TaskFrequencyUnitID (as ''integer'') {{APIComment|Gets the numerical ID for the current units of measurement of the intervals at which the task is performed.}} | ||
*TaskFrequencyValueOrig (as ''double'') {{APIComment|Sets or gets task | *TaskFrequencyValueOrig (as ''double'') {{APIComment|Sets or gets the original Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)}} | ||
*TaskFrequencyValue (as ''double'') {{APIComment|Sets or gets the Fixed Interval when the task is performed based on item age.}} | *TaskFrequencyValue (as ''double'') {{APIComment|Sets or gets the current Fixed Interval when the task is performed based on item age.}} | ||
*TaskFreqValueVariableIDOrig (as ''integer'') {{APIComment|Gets the ID of the | *TaskFreqValueVariableIDOrig (as ''integer'') {{APIComment|Gets the numerical ID of the variable that originally represented the Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)}} | ||
*TaskFreqValueVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the variable that represents the Fixed Interval when the task is performed based on item age.)}} | *TaskFreqValueVariableID (as ''integer'') {{APIComment|Gets the numerical ID of the variable that currently represents the Fixed Interval when the task is performed based on item age.)}} | ||
*Intervals (as ''double()'') {{APIComment|Gets an array of interval start values when the task is performed based on dynamic intervals.}} | *Intervals (as ''double()'') {{APIComment|Gets an array of interval start values when the task is performed based on dynamic intervals.}} | ||
*PackageID (as ''integer'') {{APIComment|Gets the numerical ID of the task package that will override this task's scheduling properties (0 = no override). (Note: May be removed/hidden.)}} | *PackageID (as ''integer'') {{APIComment|Gets the numerical ID of the task package that will override this task's scheduling properties (0 = no override). (Note: May be removed/hidden.)}} | ||
*GroupIDs (as ''integer()'') {{APIComment|Gets an array of numerical IDs for maintenance groups when task performance is based on maintenance groups. (Note:May be removed/hidden.)}} | *GroupIDs (as ''integer()'') {{APIComment|Gets an array of numerical IDs for selected maintenance groups when task performance is based on maintenance groups. (Note:May be removed/hidden.)}} | ||
*MaintenanceTriggers (as ''integer'') {{APIComment|Gets the value of the maintenance trigger the | *MaintenanceTriggers (as ''integer'') {{APIComment|Gets the value of the maintenance trigger assigned to the task. (Note: May be removed/hidden.)}} | ||
'''Basic Task Properties''' | '''Basic Task Properties''' | ||
* | *DurationModelID (as ''integer'') {{APIComment|Gets the ID of the model that describes the duration of the task.}} | ||
* | *CrewIDs (as ''integer()'') {{APIComment|Gets the IDs of the crews assigned to the task.}} | ||
* | *PoolID (as ''integer'') {{APIComment|Gets the IDs of the pool assigned to the task.}} | ||
'''Task Consequences''' | '''Task Consequences''' | ||
* | *BringSystemDown (as ''boolean'') {{APIComment|Whether or not the task brings a system down.}} | ||
* | *BringItemDown (as ''boolean'') {{APIComment|Whether or not the task brings an 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. }} | ||
*PerformTaskEvenIfItemAlreadyFailed (as ''boolean'') {{APIComment|Whether or not the task should be performed if it has already failed.}} | *PerformTaskEvenIfItemAlreadyFailed (as ''boolean'') {{APIComment|Whether or not the task should be performed if it has already failed.}} | ||
'''Restoration''' | '''Restoration''' | ||
* | *ResFactorType (as ''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]'') {{APIComment|Sets or gets the type for the restoration enumeration the resource belongs to.}} | ||
* | *ResFactorValue (as ''double'') {{APIComment|Sets or gets the value for the restoration amount the resource belongs to.}} | ||
'''Additional Costs to Consider''' | '''Additional Costs to Consider''' | ||
Line 50: | Line 50: | ||
*OnCondPFInterval (as ''double'') {{APIComment|Gets the value for the prior to failure interval for which the resource belongs to.}} | *OnCondPFInterval (as ''double'') {{APIComment|Gets the value for the prior to failure interval for which the resource belongs to.}} | ||
*OnCondPFIntervalUnitID (as ''integer'') {{APIComment|Gets the ID of the prior to failure interval for which the resource belongs to.}} | *OnCondPFIntervalUnitID (as ''integer'') {{APIComment|Gets the ID of the prior to failure interval for which the resource belongs to.}} | ||
'''On Condition Task (Upon Detection)''' | |||
*OnCondDurationModelID (as ''integer'') {{APIComment|Gets the ID of the model that describes the duration of the task.}} | |||
*OnCondCrewIDs (as ''integer()'') {{APIComment|Gets the IDs of the crews assigned that the resource belongs to.}} | |||
*OnCondPoolID (as ''integer'') {{APIComment|Gets the IDs of the pool assigned that the resource belongs to.}} | |||
*OnCondBringSystemDown (as ''boolean'') {{APIComment|Whether or not the task brings a system down.}} | |||
*OnCondBringItemDown (as ''boolean'') {{APIComment|Whether or not the task brings an item down.}} | |||
*OnCondPerformTaskEvenIfItBringsSysDown (as ''boolean'') {{APIComment|Whether or not you still perform the task if bringing the item down causes the system to go down. }} | |||
*OnCondPerformTaskEvenIfItemAlreadyFailed (as ''boolean'') {{APIComment|Whether or not the task should be performed if it has already failed.}} | |||
*OnCondResFactorType (as ''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]'') {{APIComment|Sets or gets the type for the restoration enumeration the resource belongs to.}} | |||
*OnCondResFactorValue (as ''double'') {{APIComment|Sets or gets the value for the restoration amount the resource belongs to.}} | |||
'''RCM''' | '''RCM''' |
Revision as of 21:03, 12 March 2014
The cScheduledTask class allows you to choose or create multiple scheduled tasks for the URD. Each task may be a preventive maintenance, inspections or on condition task. The tasks are displayed in their priority order, which is the order in which they will be performed.
Constructors
- cScheduledTask Creates a new scheduled task.
Properties
General
- Name (as string) Sets or gets the task's Name.
- TaskClass (as TaskClassEnum) Gets or sets the task's class (i.e., preventive task).
- TaskTypeID (as integer) Gets or sets the numerical ID of the task's type (e.g., restoration, condition based).
- DiagramIDs (as integer() ) Gets an array of numerical IDs for the diagrams the task is assigned to. (Note: May be removed/hidden.)
Task Scheduling
- TaskFrequencyIDOrig (as TaskFrequencyEnum) Gets the enumeration that specifies when the task is performed. (Note: May be removed/hidden.)
- TaskFrequencyUnitIDOrig (as integer) Gets the numerical ID for the original units of measurement of the intervals at which the task is performed. (Note: May be removed/hidden.)
- TaskFrequencyUnitID (as integer) Gets the numerical ID for the current units of measurement of the intervals at which the task is performed.
- TaskFrequencyValueOrig (as double) Sets or gets the original Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)
- TaskFrequencyValue (as double) Sets or gets the current Fixed Interval when the task is performed based on item age.
- TaskFreqValueVariableIDOrig (as integer) Gets the numerical ID of the variable that originally represented the Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)
- TaskFreqValueVariableID (as integer) Gets the numerical ID of the variable that currently represents the Fixed Interval when the task is performed based on item age.)
- Intervals (as double()) Gets an array of interval start values when the task is performed based on dynamic intervals.
- PackageID (as integer) Gets the numerical ID of the task package that will override this task's scheduling properties (0 = no override). (Note: May be removed/hidden.)
- GroupIDs (as integer()) Gets an array of numerical IDs for selected maintenance groups when task performance is based on maintenance groups. (Note:May be removed/hidden.)
- MaintenanceTriggers (as integer) Gets the value of the maintenance trigger assigned to the task. (Note: May be removed/hidden.)
Basic Task Properties
- DurationModelID (as integer) Gets the ID of the model that describes the duration of the task.
- CrewIDs (as integer()) Gets the IDs of the crews assigned to the task.
- PoolID (as integer) Gets the IDs of the pool assigned to the task.
Task Consequences
- BringSystemDown (as boolean) Whether or not the task brings a system down.
- BringItemDown (as boolean) Whether or not the task brings an item down.
- PerformTaskEvenIfItBringsSysDown (as boolean) Whether or not you still perform the task if bringing the item down causes the system to go down.
- PerformTaskEvenIfItemAlreadyFailed (as boolean) Whether or not the task should be performed if it has already failed.
Restoration
- ResFactorType (as TaskRestorationTypeEnum) Sets or gets the type for the restoration enumeration the resource belongs to.
- ResFactorValue (as double) Sets or gets the value for the restoration amount the resource belongs to.
Additional Costs to Consider
- OCMiscCostModelID (as integer) Gets the ID of the miscellaneous cost model based on the cost per task and downtime rate the resource belongs to.
- OCMiscCostPerTimeModelID (as integer) Gets the ID of the miscellaneous cost per unit of time model that the resource belongs to.
Failure Detection
- OnCondFailureDetectionThreshold (as double) Gets the value for the failure detection threshold interval for which the resource belongs to.
- OnCondUsePFInterval (as boolean) Whether or not the prior to failure interval should be used.
- OnCondPFInterval (as double) Gets the value for the prior to failure interval for which the resource belongs to.
- OnCondPFIntervalUnitID (as integer) Gets the ID of the prior to failure interval for which the resource belongs to.
On Condition Task (Upon Detection)
- OnCondDurationModelID (as integer) Gets the ID of the model that describes the duration of the task.
- OnCondCrewIDs (as integer()) Gets the IDs of the crews assigned that the resource belongs to.
- OnCondPoolID (as integer) Gets the IDs of the pool assigned that the resource belongs to.
- OnCondBringSystemDown (as boolean) Whether or not the task brings a system down.
- OnCondBringItemDown (as boolean) Whether or not the task brings an item down.
- OnCondPerformTaskEvenIfItBringsSysDown (as boolean) Whether or not you still perform the task if bringing the item down causes the system to go down.
- OnCondPerformTaskEvenIfItemAlreadyFailed (as boolean) Whether or not the task should be performed if it has already failed.
- OnCondResFactorType (as TaskRestorationTypeEnum) Sets or gets the type for the restoration enumeration the resource belongs to.
- OnCondResFactorValue (as double) Sets or gets the value for the restoration amount the resource belongs to.
RCM
- Status (as string) Sets or gets the status of the resource (the one used in the repository)
- PropInterval (as object) Sets or gets the internal type (the one used in the repository)
- PropIntervalUnitID (as integer) Sets or gets ID of the interval unit type (the one used in the repository)
- RefDoc (as string) Sets or gets the reference document that provides more detailed information about the task of the resource (the one used in the repository)
- Condition (as string) Sets or gets the condition that indicates that a failure will occur of the resource (the one used in the repository)
- TaskZone (as string) Sets or gets the zone in which the task will be performed of the resource (the one used in the repository)
- TaskAccess (as string) Sets or gets the access that will be required in order to perform the task of the resource (the one used in the repository)
- UDT1 (as object) Sets or returns the Task User Date 1. Returns object of the System.Date type.
- UDT2 (as object) Sets or returns the Task User Date 2. Returns object of the System.Date type.
- UN1 (as object) Sets or returns the Task User Number 1. Returns object of the System.Double type.
- UN2 (as object) Sets or returns the Task User Number 2. Returns object of the System.Double type.
- UDD1 (as string) Sets or returns the Task User Drop-Down 1. (Limited to 50 characters.)
- UDD2 (as string) Sets or returns the Task User Drop-Down 2. (Limited to 50 characters.)