CScheduledTask Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
*TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the numerical ID for the original units of measurement of the intervals at which the task is performed. (Note: Not shown in software.)}}
*TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the numerical ID for the original units of measurement of the intervals at which the task is performed. (Note: Not shown in software.)}}
*TaskFrequencyUnitID (as ''integer'') {{APIComment|Gets the numerical ID for the current units of measurement of the intervals at which the task is performed.}}
*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 the original Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)}}
*TaskFrequencyValueOrig (as ''double'') {{APIComment|Gets or sets 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 current Fixed Interval when the task is performed based on item age.}}
*TaskFrequencyValue (as ''double'') {{APIComment|Gets or sets the current Fixed Interval when the task is performed based on item age.}}
*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: Not shown in software.)}}
*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: Not shown in software.)}}
*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.)}}
*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.)}}
Line 38: Line 38:


'''Restoration'''
'''Restoration'''
*ResFactorValue (as ''double'') {{APIComment|Sets or gets the corrective task's Restoration Amount (0.9 = 90% restoration).}}
*ResFactorValue (as ''double'') {{APIComment|Gets or sets 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.}}
*ResFactorType (as ''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]'') {{APIComment|Gets or sets the enumeration for the damage the restoration applies to (i.e., all damage or only damage since last repair.}}


'''Additional Costs to Consider'''
'''Additional Costs to Consider'''
Line 59: Line 59:
*OnCondPerformTaskEvenIfItBringsSysDown  (as ''boolean'') {{APIComment|Gets or sets whether the task should be performed if bringing the item down causes the system to go down.}}
*OnCondPerformTaskEvenIfItBringsSysDown  (as ''boolean'') {{APIComment|Gets or sets whether the task should be performed if bringing the item down causes the system to go down.}}
*OnCondPerformTaskEvenIfItemAlreadyFailed (as ''boolean'') {{APIComment|Gets or sets whether the task should be performed if it has already failed.}}
*OnCondPerformTaskEvenIfItemAlreadyFailed (as ''boolean'') {{APIComment|Gets or sets whether the task should be performed if it has already failed.}}
*OnCondResFactorValue (as ''double'') {{APIComment|Sets or gets the corrective task's Restoration Amount (0.9 = 90% restoration).}}
*OnCondResFactorValue (as ''double'') {{APIComment|Gets or sets the corrective task's Restoration Amount (0.9 = 90% restoration).}}
*OnCondResFactorType (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.}}
*OnCondResFactorType (as ''[[TaskRestorationTypeEnum Enumeration|TaskRestorationTypeEnum]]'') {{APIComment|Gets or sets the enumeration for the damage the restoration applies to (i.e., all damage or only damage since last repair.}}


'''RCM'''
'''RCM'''
*Status (as ''string'') {{APIComment|Sets or gets the status of the task.}}
*Status (as ''string'') {{APIComment|Gets or sets the status of the task.}}
*PropInterval (as ''object'') {{APIComment|Sets or gets the task's Proposed Interval value.}}
*PropInterval (as ''object'') {{APIComment|Gets or sets the task's Proposed Interval value.}}
*PropIntervalUnitID (as ''integer'') {{APIComment|Sets or gets numerical ID for the units of measurement applied to the Proposed Interval.}}
*PropIntervalUnitID (as ''integer'') {{APIComment|Gets or sets numerical ID for the units of measurement applied to the Proposed Interval.}}
*RefDoc (as ''string'') {{APIComment|Sets or gets the reference document that provides more detailed information about the task.}}
*RefDoc (as ''string'') {{APIComment|Gets or sets the reference document that provides more detailed information about the task.}}
*Condition (as ''string'') {{APIComment|Sets or gets the condition that indicates that a failure will occur.}}
*Condition (as ''string'') {{APIComment|Gets or sets the condition that indicates that a failure will occur.}}
*TaskZone (as ''string'') {{APIComment|Sets or gets the zone in which the task will be performed.}}
*TaskZone (as ''string'') {{APIComment|Gets or sets the zone in which the task will be performed.}}
*TaskAccess (as ''string'') {{APIComment|Sets or gets the access that will be required in order to perform the task.}}
*TaskAccess (as ''string'') {{APIComment|Gets or sets the access that will be required in order to perform the task.}}
*UDT1 (as ''object'') {{APIComment|Sets or returns the Task User Date 1. Returns object of the System.Date type.}}
*UDT1 (as ''object'') {{APIComment|Gets or sets the Task User Date 1. Returns object of the System.Date type.}}
*UDT2 (as ''object'') {{APIComment|Sets or returns the Task User Date 2. Returns object of the System.Date type.}}
*UDT2 (as ''object'') {{APIComment|Gets or sets the Task User Date 2. Returns object of the System.Date type.}}
*UN1 (as ''object'') {{APIComment|Sets or returns the Task User Number 1. Returns object of the System.Double type.}}
*UN1 (as ''object'') {{APIComment|Gets or sets the Task User Number 1. Returns object of the System.Double type.}}
*UN2 (as ''object'') {{APIComment|Sets or returns the Task User Number 2. Returns object of the System.Double type.}}
*UN2 (as ''object'') {{APIComment|Gets or sets the Task User Number 2. Returns object of the System.Double type.}}
*UDD1 (as ''string'') {{APIComment|Sets or returns the Task User Drop-Down 1. (Limited to 50 characters.)}}
*UDD1 (as ''string'') {{APIComment|Gets or sets the Task User Drop-Down 1. (Limited to 50 characters.)}}
*UDD2 (as ''string'') {{APIComment|Sets or returns the Task User Drop-Down 2. (Limited to 50 characters.)}}
*UDD2 (as ''string'') {{APIComment|Gets or sets the Task User Drop-Down 2. (Limited to 50 characters.)}}

Revision as of 21:39, 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) Gets or sets 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: Not shown in software.)

Task Scheduling

  • TaskFrequencyIDOrig (as TaskFrequencyEnum) Gets the enumeration that specifies when the task is performed.
  • TaskFrequencyUnitIDOrig (as integer) Gets the numerical ID for the original units of measurement of the intervals at which the task is performed. (Note: Not shown in software.)
  • 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) Gets or sets the original Fixed Interval when the task is performed based on item age. (Note: May be removed/hidden.)
  • TaskFrequencyValue (as double) Gets or sets 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: Not shown in software.)
  • 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).
  • 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) Gets or sets whether the task brings a system down.
  • BringItemDown (as boolean) Gets or sets whether the task brings an item down.
  • PerformTaskEvenIfItBringsSysDown (as boolean) Gets or sets whether the task should be performed if bringing the item down causes the system to go down.
  • PerformTaskEvenIfItemAlreadyFailed (as boolean) Gets or sets whether the task should be performed if it has already failed.

Restoration

  • ResFactorValue (as double) Gets or sets the corrective task's Restoration Amount (0.9 = 90% restoration).
  • ResFactorType (as TaskRestorationTypeEnum) Gets or sets 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.

Failure Detection

  • OnCondFailureDetectionThreshold (as double) Gets or sets the value for the task's failure detection threshold interval (0.9 = 90% percent of life.
  • OnCondUsePFInterval (as boolean) Gets or sets whether the prior to failure interval should be used.
  • OnCondPFInterval (as double) Gets or sets the value for the task's prior to failure interval.
  • OnCondPFIntervalUnitID (as integer) Gets or sets the numerical ID for the units of measurement applied to the prior to failure interval.

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 to the task.
  • OnCondPoolID (as integer) Gets the IDs of the pool assigned to the task.
  • OnCondBringSystemDown (as boolean) Gets or sets whether the task brings a system down.
  • OnCondBringItemDown (as boolean) Gets or sets whether the task brings an item down.
  • OnCondPerformTaskEvenIfItBringsSysDown (as boolean) Gets or sets whether the task should be performed if bringing the item down causes the system to go down.
  • OnCondPerformTaskEvenIfItemAlreadyFailed (as boolean) Gets or sets whether the task should be performed if it has already failed.
  • OnCondResFactorValue (as double) Gets or sets the corrective task's Restoration Amount (0.9 = 90% restoration).
  • OnCondResFactorType (as TaskRestorationTypeEnum) Gets or sets the enumeration for the damage the restoration applies to (i.e., all damage or only damage since last repair.

RCM

  • Status (as string) Gets or sets the status of the task.
  • PropInterval (as object) Gets or sets the task's Proposed Interval value.
  • PropIntervalUnitID (as integer) Gets or sets numerical ID for the units of measurement applied to the Proposed Interval.
  • RefDoc (as string) Gets or sets the reference document that provides more detailed information about the task.
  • Condition (as string) Gets or sets the condition that indicates that a failure will occur.
  • TaskZone (as string) Gets or sets the zone in which the task will be performed.
  • TaskAccess (as string) Gets or sets the access that will be required in order to perform the task.
  • UDT1 (as object) Gets or sets the Task User Date 1. Returns object of the System.Date type.
  • UDT2 (as object) Gets or sets the Task User Date 2. Returns object of the System.Date type.
  • UN1 (as object) Gets or sets the Task User Number 1. Returns object of the System.Double type.
  • UN2 (as object) Gets or sets the Task User Number 2. Returns object of the System.Double type.
  • UDD1 (as string) Gets or sets the Task User Drop-Down 1. (Limited to 50 characters.)
  • UDD2 (as string) Gets or sets the Task User Drop-Down 2. (Limited to 50 characters.)