CCrew Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
m (Changed protection level for "CCrew Class" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
No edit summary
 
(26 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:APIClass|CCrew Class|CCrew}}  
{{DISPLAYTITLE:cCrew Class}}{{Template:API}}{{Template:APIBreadcrumb}}


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


*'''[[New cCrew]]''' {{APIComment|Creates a new instance of the resource.}}
<onlyinclude>Represents a crew resource.</onlyinclude>


=== Properties  ===
==Constructors==
*'''[[cCrew.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
{| {{APITable}}
*'''[[cCrew.ID|ID]]''' {{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.}}
| style="width: 200px;"|cCrew||Creates an instance of the cCrew class.
*'''[[cCrew.LaborCostModelID|LaborCostModelID]]''' {{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.}}
|[[CCrew Constructors|cCrew()]]||{{:CCrew Constructors}}
*'''[[cCrew.TaskLimit|TaskLimit]]''' {{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.}}
 
*'''[[cCrew.DelayModelID|DelayModelID]]''' {{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.}}
== Properties  ==
*'''[[cCrew.IncludePartDelayInCost|IncludePartDelayInCost]]''' {{APIComment|Sets or returns whether part delay should be included in the cost the resource belongs to.}}
{| {{APITable}}
|-
| style="width: 200px;"|DelayModelID||Gets or sets the numeric ID of the logistic delay model assigned to the task. '''Integer'''.
|-
|ID||Gets the numeric ID of crew. '''Integer'''.
|-
|IncidentCostModelID||Gets or sets the numeric ID of the cost-per-incident model assigned to the crew. '''Integer'''.
|-
|IncludeCrewDelayInCost||Indicates whether logistic delay should be included in the crew's cost. '''Boolean'''. Default value = True.
|-
|IncludePartDelayInCost||Indicates whether part delay should be included in the crew's cost. '''Boolean'''. Default value = True.
|-
|{{Template:API_TxtIdentifiers}}
|-
|LaborCostModelID||Gets or sets the numeric ID of the direct-cost (cost per unit time) model assigned to the crew. '''Integer'''.
|-
|Name||Gets or sets the crew's name. '''String'''.
|-
|ProjectID||Gets the numeric ID of the project the crew belongs to. '''Integer'''.
|-
|TaskLimit||Gets or sets the limit to the number of tasks a crew can perform at any given time. A value of zero (0) indicates no limit. '''Integer'''.
|-
|TaskLimitVariableID||Gets or sets the numeric ID of the variable resource that represents the number of tasks that can be performed simultaneously. '''Integer'''.
|}
 
 
 
 
 
==See Also==
*[[Repository.Crew.AddCrew|Repository.Crew.AddCrew Method]]
*[[Repository.Crew.GetAllCrews|Repository.Crew.GetAllCrews Method]]
*[[Repository.Crew.GetCrew|Repository.Crew.GetCrew Method]]
*[[Repository.Crew.UpdateCrew|Repository.Crew.UpdateCrew Method]]

Latest revision as of 20:19, 29 April 2016

APIWiki.png


Member of: SynthesisAPI


Represents a crew resource.

Constructors

Name Description
cCrew Creates an instance of the cCrew class.
cCrew() A parameterized constructor for the cCrew class. (.NET only)


Properties

Name Description
DelayModelID Gets or sets the numeric ID of the logistic delay model assigned to the task. Integer.
ID Gets the numeric ID of crew. Integer.
IncidentCostModelID Gets or sets the numeric ID of the cost-per-incident model assigned to the crew. Integer.
IncludeCrewDelayInCost Indicates whether logistic delay should be included in the crew's cost. Boolean. Default value = True.
IncludePartDelayInCost Indicates whether part delay should be included in the crew's cost. Boolean. Default value = True.
ItemApplication Gets or sets the item's application. (Synthesis identifier) String
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
ItemDescription Gets or sets the description. (Synthesis identifier) String
ItemKeywords Gets or sets the keywords. (Synthesis identifier) String
ItemPartNumber Gets or sets the part number. (Synthesis identifier) String
ItemSupplier Gets or sets the supplier name. (Synthesis identifier) String
ItemVersion Gets or sets the version number. (Synthesis identifier) String
LaborCostModelID Gets or sets the numeric ID of the direct-cost (cost per unit time) model assigned to the crew. Integer.
Name Gets or sets the crew's name. String.
ProjectID Gets the numeric ID of the project the crew belongs to. Integer.
TaskLimit Gets or sets the limit to the number of tasks a crew can perform at any given time. A value of zero (0) indicates no limit. Integer.
TaskLimitVariableID Gets or sets the numeric ID of the variable resource that represents the number of tasks that can be performed simultaneously. Integer.



See Also