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

Revision as of 23:15, 11 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 gets the name of the model (the one used in the repository)
  • ID (as integer) Gets the numerical ID of the resource (the one used in the repository).
  • ProjectID (as integer) Gets the numerical ID of the project the resource belongs to.
  • LaborCostModelID (as integer) Sets or gets the numerical ID of the crew's direct cost model.
  • IncidentCostModelID (as integer) Sets or gets the numerical ID of the crew's cost per incident model.
  • TaskLimit (as integer) {{{1}}}
  • TaskLimitVariableID (as integer) Sets or gets the numerical ID of the task's limit variable.
  • DelayModelID (as integer) Sets or gets the numerical ID of the task's logistic delay model.
  • IncludeCrewDelayInCost (as boolean) Sets or gets whether logistic delay should be included in the task's cost.
  • IncludePartDelayInCost (as boolean) Sets or gets whether part delay should be included in the task's cost.