CCrew 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 cCrew]]''' {{APIComment|Creates a new instance of the resource.}}
*cCrew {{APIComment|Creates an empty cCrew object.}}


== Properties  ==
== Properties  ==

Revision as of 16:40, 10 March 2014


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

Constructors

  • cCrew Creates an empty cCrew object.

Properties

  • Name Sets or returns the name of the model (the one used in the repository)
  • ID Returns the ID of the resource (the one used in the repository).
  • ProjectID Returns the ID of the project the resource belongs to.
  • LaborCostModelID Sets or returns the direct cost model ID the resource belongs to.
  • IncidentCostModelID Sets or returns the cost per incident ID the resource belongs to.
  • TaskLimit Sets or returns if there is a limit to the number of tasks a crew can perform.
  • TaskLimitVariableID Sets or returns the task limit ID the resource belongs to.
  • DelayModelID Sets or returns the logistic delay ID the resource belongs to.
  • IncludeCrewDelayInCost Sets or returns whether logistic delay should be included in the cost the resource belongs to.
  • IncludePartDelayInCost Sets or returns whether part delay should be included in the cost the resource belongs to.