CCrew Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 12: Line 12:
*LaborCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's direct cost model.}}
*LaborCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's direct cost model.}}
*IncidentCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's cost per incident model.}}
*IncidentCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's cost per incident model.}}
*TaskLimit (as ''integer'') {{APIComment|Sets or gets the limit to the number of tasks a crew can perform (no limit = 0).}}
*TaskLimit (as ''integer'') {{APIComment|Sets or gets the limit to the number of tasks a crew can perform.}}
*TaskLimitVariableID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's limit variable.}}
*TaskLimitVariableID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's limit variable.}}
*DelayModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's logistic delay model.}}
*DelayModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's logistic delay model.}}
*IncludeCrewDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether logistic delay should be included in the task's cost.}}
*IncludeCrewDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether logistic delay should be included in the task's cost.}}
*IncludePartDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether part delay should be included in the task's cost.}}
*IncludePartDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether part delay should be included in the task's cost.}}

Revision as of 23:16, 11 March 2014


Crews are assigned to tasks. They represent the labor personnel who will perform the maintenance activity.

Constructors

  • cCrew Creates a new crew resource.

Properties

  • Name (as string) Sets or gets the name of the model (the one used in the repository)
  • ID (as integer) Gets the numerical ID of the resource (the one used in the repository).
  • ProjectID (as integer) Gets the numerical ID of the project the resource belongs to.
  • LaborCostModelID (as integer) Sets or gets the numerical ID of the crew's direct cost model.
  • IncidentCostModelID (as integer) Sets or gets the numerical ID of the crew's cost per incident model.
  • TaskLimit (as integer) Sets or gets the limit to the number of tasks a crew can perform.
  • TaskLimitVariableID (as integer) Sets or gets the numerical ID of the task's limit variable.
  • DelayModelID (as integer) Sets or gets the numerical ID of the task's logistic delay model.
  • IncludeCrewDelayInCost (as boolean) Sets or gets whether logistic delay should be included in the task's cost.
  • IncludePartDelayInCost (as boolean) Sets or gets whether part delay should be included in the task's cost.