CScheduledTask Class: Difference between revisions

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


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

Revision as of 20:04, 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 (as TaskClassEnum) Sets or gets the task class as a task class enumeration for which the resource belongs to.
  • TaskTypeID (as integer) Gets the ID of the task type the resource belongs to.
  • PackageID (as integer) (Note:May be removed/hidden) Gets the ID of package for which the resource belongs to.
  • TaskFrequencyValue (as double) Sets or gets task frequency.
  • TaskFrequencyUnitID (as integer) Gets the ID of the task frequency value variable for which the resource belongs to.
  • TaskFreqValueVariableID (as integer) Gets the task as a data access object for the resource belonged to.)
  • Intervals (as double) Gets interval values as a list.
  • GroupIDs (as integer()) (Note:May be removed/hidden) Gets the ID of group for which the resource belongs to.
  • DiagramIDs (as integer() ) (Note:May be removed/hidden) Gets the IDs of diagram as a list for which the resource belongs to.
  • PerformTaskEvenIfItemAlreadyFailed (as boolean) Whether or not the task should be performed if it has already failed.
  • TaskFrequencyIDOrig (as TaskFrequencyEnum) (Note:May be removed/hidden) Gets the ID of the task frequency unit as task frequency enumeration for which the resource belongs to.
  • TaskFrequencyValueOrig (as double) (Note:May be removed/hidden) Sets or gets task frequency.
  • TaskFrequencyUnitIDOrig (as integer) (Note:May be removed/hidden) Gets the ID of the task frequency unit for which the resource belongs to.
  • TaskFreqValueVariableIDOrig (as integer) (Note:May be removed/hidden) Gets the ID of the task frequency unit variable 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.
  • OnCondFailureDetectionThreshold (as double) Gets the value for the failure detection threshold interval for which the resource belongs to.
  • OnCondDurationModelID (as integer) Gets the ID of the prior to failure interval for which 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.
  • 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.
  • 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.
  • 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.
  • MaintenanceTriggers (as integer) (Note:May be removed/hidden) Gets the value of the maintenance trigger the resource belongs to.
  • UDT1 (as object) Sets or gets UDT1 as an object.
  • UDT2 (as object) Sets or gets UDT2 as an object.
  • UN1 (as object) Sets or gets UN1 as an object.
  • UN2 (as object) Sets or gets UN1 as an object.
  • UDD1 (as string) Sets or gets the UDD1 of the resource (the one used in the repository)
  • UDD2 (as string) Sets or gets the UDD2 of the resource (the one used in the repository)
  • 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)
  • 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)
  • Condition (as string) Sets or gets the condition that indicates that a failure will occur of the resource (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)