CCrew Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(17 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:cCrew Class}}
{{DISPLAYTITLE:cCrew Class}}{{Template:API}}{{Template:APIBreadcrumb}}
{{Template:APIClass|Resource Classes|Resource Classes}}  
 
{{CCrew Class.Cmt}}
 
<onlyinclude>Represents a crew resource.</onlyinclude>
 
==Constructors==
{| {{APITable}}
|-
| style="width: 200px;"|cCrew||Creates an instance of the cCrew class.
|-
|[[CCrew Constructors|cCrew()]]||{{:CCrew Constructors}}
|}


== Constructors ==
*cCrew {{APIComment|Creates a new crew resource.}}


== Properties  ==
== Properties  ==
*'''[[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;"|DelayModelID||Gets or sets the numeric ID of the logistic delay model assigned to the task. '''Integer'''.
*'''[[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.}}
|ID||Gets the numeric ID of crew. '''Integer'''.
*'''[[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.}}
|IncidentCostModelID||Gets or sets the numeric ID of the cost-per-incident model assigned to the crew. '''Integer'''.
*'''[[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.}}
|IncludeCrewDelayInCost||Indicates whether logistic delay should be included in the crew's cost. '''Boolean'''. Default value = True.
*'''[[cCrew.IncludePartDelayInCost|IncludePartDelayInCost]]''' {{APIComment|Sets or returns whether part delay should be included in the cost the resource belongs to.}}
|-
|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