CCrew Class: Difference between revisions

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


== Properties  ==
== Properties  ==
*'''[[cCrew.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
*Name (as ''string'') {{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).}}
*ID (as ''integer'') {{APIComment|Returns the ID of the resource (the one used in the repository).}}
*'''[[cCrew.ProjectID|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}
*ProjectID (as ''integer'') {{APIComment|Returns the ID of the project the resource belongs to.}}
*'''[[cCrew.LaborCostModelID|LaborCostModelID]]''' {{APIComment|Sets or returns the direct cost model ID the resource belongs to.}}
*LaborCostModelID (as ''integer'') {{APIComment|Sets or returns the direct cost model ID the resource belongs to.}}
*'''[[cCrew.IncidentCostModelID|IncidentCostModelID]]''' {{APIComment|Sets or returns the cost per incident ID the resource belongs to.}}
*IncidentCostModelID (as ''integer'') {{APIComment|Sets or returns the cost per incident ID the resource belongs to.}}
*'''[[cCrew.TaskLimit|TaskLimit]]''' {{APIComment|Sets or returns if there is a limit to the number of tasks a crew can perform.}}
*TaskLimit (as ''integer'') {{APIComment|Sets or returns if there is a limit to the number of tasks a crew can perform.}}
*'''[[cCrew.TaskLimitVariableID|TaskLimitVariableID]]''' {{APIComment|Sets or returns the task limit ID the resource belongs to.}}
*TaskLimitVariableID (as ''integer'') {{APIComment|Sets or returns the task limit ID the resource belongs to.}}
*'''[[cCrew.DelayModelID|DelayModelID]]''' {{APIComment|Sets or returns the logistic delay ID the resource belongs to.}}
*DelayModelID (as ''integer'') {{APIComment|Sets or returns the logistic delay ID the resource belongs to.}}
*'''[[cCrew.IncludeCrewDelayInCost|IncludeCrewDelayInCost]]''' {{APIComment|Sets or returns whether logistic delay should be included in the cost the resource belongs to.}}
*IncludeCrewDelayInCost (as ''boolean'') {{APIComment|Sets or returns whether logistic delay should be included in the cost the resource belongs to.}}
*'''[[cCrew.IncludePartDelayInCost|IncludePartDelayInCost]]''' {{APIComment|Sets or returns whether part 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.