CCrew Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{Template:APIClass|Resource Classes|Resource Classes}}  
{{Template:APIClass|Resource Classes|Resource Classes}}  
{{CCrew Class.Cmt}}
{{CCrew Class.Cmt}}
{{Template:ResourceLinkToRepositoryClass.Cmt}}


== Constructors ==
== Constructors ==

Revision as of 23:51, 30 July 2014


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

To access/edit repository level information, including accessing/adding resources, please see Repository Class.

Constructors

  • cCrew Creates a new crew resource.

Properties

  • Name (as string) Gets or sets the crew's Name.)
  • ID (as integer) Gets the numerical ID of the resource the crew belongs to.
  • ProjectID (as integer) Gets the numerical ID of the project the crew belongs to.
  • LaborCostModelID (as integer) Gets or sets the numerical ID of the crew's Direct Cost model.
  • IncidentCostModelID (as integer) Gets or sets the numerical ID of the crew's Cost Per Incident model.
  • TaskLimit (as integer) Gets or sets the limit to the number of tasks a crew can perform (0 &61; no limit.
  • TaskLimitVariableID (as integer) Gets or sets the numerical ID of the variable that represents the number of tasks that can be performed simultaneously.
  • DelayModelID (as integer) Gets or sets the numerical ID of the task's logistic Delay model.
  • IncludeCrewDelayInCost (as boolean) Gets or sets whether logistic delay should be included in the task's cost.
  • IncludePartDelayInCost (as boolean) Gets or sets whether part delay should be included in the task's cost.