CCrew Class: Difference between revisions

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


Crews are assigned to tasks. They represent the labor personnel who will perform the maintenance activity.
Crews are assigned to tasks. They represent the labor personnel who will perform the maintenance activity.
=== Constructors ===
== Constructors ==
 
*'''[[New cCrew]]''' {{APIComment|Creates a new instance of the resource.}}
*'''[[New cCrew]]''' {{APIComment|Creates a new instance of the resource.}}


=== Properties  ===
== Properties  ==
*'''[[cCrew.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
*'''[[cCrew.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
*'''[[cCrew.ID|ID]]''' {{APIComment|Returns the ID of the resource (the one used in the repository).}}
*'''[[cCrew.ID|ID]]''' {{APIComment|Returns the ID of the resource (the one used in the repository).}}

Revision as of 23:38, 5 February 2014



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

Constructors

  • New cCrew Creates a new instance of the resource.

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.