CScheduledTask Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
== Properties == | == Properties == | ||
*TaskClass (as ''TaskClassEnum'') {{APIComment|Sets or gets the task class as a task class enumeration for which the resource belongs to.}} | *TaskClass (as ''[[TaskClassEnum Enumeration|TaskClassEnum]]'') {{APIComment|Sets or gets the task class as a task class enumeration for which the resource belongs to.}} | ||
*TaskTypeID (as ''integer'') {{APIComment|Gets 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.}} | ||
*PackageID (as ''integer'') {{APIComment|Gets the ID of package for which the resource belongs to. (Note: May be removed/hidden.)}} | *PackageID (as ''integer'') {{APIComment|Gets the ID of package for which the resource belongs to. (Note: May be removed/hidden.)}} | ||
Line 18: | Line 18: | ||
*DiagramIDs (as ''integer() '') {{APIComment|Gets the IDs of diagram as a list for which the resource belongs to. (Note: May be removed/hidden.)}} | *DiagramIDs (as ''integer() '') {{APIComment|Gets the IDs of diagram as a list for which the resource belongs to. (Note: May be removed/hidden.)}} | ||
*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.}} | ||
*TaskFrequencyIDOrig (as ''TaskFrequencyEnum'') {{APIComment|Gets the ID of the task frequency unit as task frequency enumeration for which the resource belongs to. (Note: May be removed/hidden.)}} | *TaskFrequencyIDOrig (as ''[[TaskFrequencyEnum Enumeration|TaskFrequencyEnum]]'') {{APIComment|Gets the ID of the task frequency unit as task frequency enumeration for which the resource belongs to. (Note: May be removed/hidden.)}} | ||
*TaskFrequencyValueOrig (as ''double'') {{APIComment|Sets or gets task frequency. (Note:May be removed/hidden.)}} | *TaskFrequencyValueOrig (as ''double'') {{APIComment|Sets or gets task frequency. (Note:May be removed/hidden.)}} | ||
*TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the ID of the task frequency unit for which the resource belongs to. (Note:May be removed/hidden.)}} | *TaskFrequencyUnitIDOrig (as ''integer'') {{APIComment|Gets the ID of the task frequency unit for which the resource belongs to. (Note:May be removed/hidden.)}} | ||
Line 30: | Line 30: | ||
*OnCondBringItemDown (as ''boolean'') {{APIComment|Whether or not the task brings an item 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. }} | *OnCondPerformTaskEvenIfItBringsSysDown (as ''boolean'') {{APIComment|Whether or not you still perform the task if bringing the item down causes the system to go down. }} | ||
*OnCondResFactorType (as '' TaskRestorationTypeEnum '') {{APIComment|Sets or gets the type for the restoration enumeration the resource belongs to.}} | *OnCondResFactorType (as ''[[TaskRestorationTypeEnum|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.}} | *OnCondResFactorValue (as ''double'') {{APIComment|Sets or gets the value for the restoration amount the resource belongs to.}} | ||
*OnCondCrewIDs (as ''integer()'') {{APIComment|Gets 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.}} |
Revision as of 23:48, 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) Gets the ID of package for which the resource belongs to. (Note: May be removed/hidden.)
- 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()) Gets the ID of group that the task belongs to. (Note:May be removed/hidden.)
- DiagramIDs (as integer() ) Gets the IDs of diagram as a list for which the resource belongs to. (Note: May be removed/hidden.)
- PerformTaskEvenIfItemAlreadyFailed (as boolean) Whether or not the task should be performed if it has already failed.
- TaskFrequencyIDOrig (as TaskFrequencyEnum) Gets the ID of the task frequency unit as task frequency enumeration for which the resource belongs to. (Note: May be removed/hidden.)
- TaskFrequencyValueOrig (as double) Sets or gets task frequency. (Note:May be removed/hidden.)
- TaskFrequencyUnitIDOrig (as integer) Gets the ID of the task frequency unit for which the resource belongs to. (Note:May be removed/hidden.)
- TaskFreqValueVariableIDOrig (as integer) Gets the ID of the task frequency unit variable for which the resource belongs to. (Note: May be removed/hidden.)
- 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) Gets the value of the maintenance trigger the resource belongs to. (Note: May be removed/hidden.)
- 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)