CCrew Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Properties == | == Properties == | ||
*'' | *Name (as ''string'') {{APIComment|Sets or returns the name of the model (the one used in the repository)}} | ||
*'' | *ID (as ''integer'') {{APIComment|Returns the ID of the resource (the one used in the repository).}} | ||
*'' | *ProjectID (as ''integer'') {{APIComment|Returns the ID of the project the resource belongs to.}} | ||
*'' | *LaborCostModelID (as ''integer'') {{APIComment|Sets or returns the direct cost model ID the resource belongs to.}} | ||
*'' | *IncidentCostModelID (as ''integer'') {{APIComment|Sets or returns the cost per incident ID the resource belongs to.}} | ||
*'' | *TaskLimit (as ''integer'') {{APIComment|Sets or returns if there is a limit to the number of tasks a crew can perform.}} | ||
*'' | *TaskLimitVariableID (as ''integer'') {{APIComment|Sets or returns the task limit ID the resource belongs to.}} | ||
*'' | *DelayModelID (as ''integer'') {{APIComment|Sets or returns the logistic delay ID the resource belongs to.}} | ||
*'' | *IncludeCrewDelayInCost (as ''boolean'') {{APIComment|Sets or returns whether logistic delay should be included in the cost the resource belongs to.}} | ||
*'' | *IncludePartDelayInCost (as ''boolean'') {{APIComment|Sets or returns whether part delay should be included in the cost the resource belongs to.}} |
Revision as of 17:16, 10 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 returns the name of the model (the one used in the repository)
- ID (as integer) Returns the ID of the resource (the one used in the repository).
- ProjectID (as integer) Returns the ID of the project the resource belongs to.
- LaborCostModelID (as integer) Sets or returns the direct cost model ID the resource belongs to.
- IncidentCostModelID (as integer) Sets or returns the cost per incident ID the resource belongs to.
- TaskLimit (as integer) Sets or returns if there is a limit to the number of tasks a crew can perform.
- TaskLimitVariableID (as integer) Sets or returns the task limit ID the resource belongs to.
- DelayModelID (as integer) Sets or returns the logistic delay ID the resource belongs to.
- IncludeCrewDelayInCost (as boolean) Sets or returns whether logistic delay should be included in the cost the resource belongs to.
- IncludePartDelayInCost (as boolean) Sets or returns whether part delay should be included in the cost the resource belongs to.