CScheduledTask Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


== Constructors ==
== Constructors ==
*'''[[New cScheduledTask]]''' {{APIComment|Creates a new scheduled task.}}
*cScheduledTask {{APIComment|Creates a new scheduled task.}}


== Properties ==
== Properties ==

Revision as of 16:54, 10 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

  • TaskClass Sets or returns the task class as a task class enumeration for which the resource belongs to.
  • TaskTypeID Returns the ID of the task type the resource belongs to.
  • PackageID (Note:May be removed/hidden) Returns the ID of package for which the resource belongs to.
  • TaskFrequencyValue Sets or returns task frequency.
  • TaskFrequencyUnitID Returns the ID of the task frequency value variable for which the resource belongs to.
  • TaskFreqValueVariableID Returns the task as a data access object for the resource belonged to.)
  • Intervals Returns interval values as a list.
  • GroupIDs (Note:May be removed/hidden) Returns the ID of group for which the resource belongs to.
  • DiagramIDs (Note:May be removed/hidden) Returns the IDs of diagram as a list for which the resource belongs to.
  • PerformTaskEvenIfItemAlreadyFailed Whether or not the task should be performed if it has already failed.
  • TaskFrequencyIDOrig (Note:May be removed/hidden) Returns the ID of the task frequency unit as task frequency enumeration for which the resource belongs to.
  • TaskFrequencyValueOrig (Note:May be removed/hidden) Sets or returns task frequency.
  • TaskFrequencyUnitIDOrig (Note:May be removed/hidden) Returns the ID of the task frequency unit for which the resource belongs to.
  • TaskFreqValueVariableIDOrig (Note:May be removed/hidden) Returns the ID of the task frequency unit variable for which the resource belongs to.
  • OnCondUsePFInterval Whether or not the prior to failure interval should be used.
  • OnCondPFInterval Returns the value for the prior to failure interval for which the resource belongs to.
  • OnCondPFIntervalUnitID Returns the ID of the prior to failure interval for which the resource belongs to.
  • OnCondFailureDetectionThreshold Returns the value for the failure detection threshold interval for which the resource belongs to.
  • OnCondDurationModelID Returns the ID of the prior to failure interval for which the resource belongs to.
  • OnCondBringSystemDown Whether or not the task brings a system down.
  • OnCondBringItemDown Whether or not the task brings an item down.
  • OnCondPerformTaskEvenIfItBringsSysDown Whether or not you still perform the task if bringing the item down causes the system to go down.
  • OnCondResFactorType Sets or returns the type for the restoration enumeration the resource belongs to.
  • OnCondResFactorValue Sets or returns the value for the restoration amount the resource belongs to.
  • OnCondCrewIDs Returns the IDs of the crews assigned that the resource belongs to.
  • OnCondPoolID Returns the IDs of the pool assigned that the resource belongs to.
  • OCMiscCostModelID Returns the ID of the miscellaneous cost model based on the cost per task and downtime rate the resource belongs to.
  • OCMiscCostPerTimeModelID Returns the ID of the miscellaneous cost per unit of time model that the resource belongs to.
  • MaintenanceTriggers (Note:May be removed/hidden) Returns the value of the maintenance trigger the resource belongs to.
  • UDT1 Sets or returns UDT1 as an object.
  • UDT2 Sets or returns UDT2 as an object.
  • UN1 Sets or returns UN1 as an object.
  • UN2 Sets or returns UN1 as an object.
  • UDD1 Sets or returns the UDD1 of the resource (the one used in the repository)
  • UDD2 Sets or returns the UDD2 of the resource (the one used in the repository)
  • Status Sets or returns the status of the resource (the one used in the repository)
  • PropInterval Sets or returns the internal type (the one used in the repository)
  • PropIntervalUnitID Sets or returns ID of the interval unit type (the one used in the repository)
  • TaskZone Sets or returns the zone in which the task will be performed of the resource (the one used in the repository)
  • TaskAccess Sets or returns the access that will be required in order to perform the task of the resource (the one used in the repository)
  • Condition Sets or returns the condition that indicates that a failure will occur of the resource (the one used in the repository)
  • RefDoc Sets or returns the reference document that provides more detailed information about the task of the resource (the one used in the repository)