CCrew Class: Difference between revisions

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


== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Sets or gets the crew's Name.)}}
*Name (as ''string'') {{APIComment|Gets or sets the crew's Name.)}}
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the resource the crew belongs to.}}
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the resource the crew belongs to.}}
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the crew belongs to.}}
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the crew belongs to.}}


*LaborCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's Direct Cost model.}}
*LaborCostModelID (as ''integer'') {{APIComment|Gets or sets 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|Gets or sets 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 (0 &61; no limit.}}
*TaskLimit (as ''integer'') {{APIComment|Gets or sets the limit to the number of tasks a crew can perform (0 &61; no limit.}}
*TaskLimitVariableID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the variable that represents the number of tasks that can be performed simultaneously.}}
*TaskLimitVariableID (as ''integer'') {{APIComment|Gets or sets the numerical ID of the variable that represents the number of tasks that can be performed simultaneously.}}
*DelayModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's logistic Delay model.}}
*DelayModelID (as ''integer'') {{APIComment|Gets or sets 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|Gets or sets 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|Gets or sets whether part delay should be included in the task's cost.}}

Revision as of 21:40, 12 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) 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.