CCrew Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
 
(14 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  ==
*Name (as ''string'') {{APIComment|Sets or gets the name of the model (the one used in the repository)}}
{| {{APITable}}
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the resource (the one used in the repository).}}
|-
*ProjectID (as ''integer'') {{APIComment|Gets the numerical 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'''.
*LaborCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's direct cost model.}}
|-
*IncidentCostModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the crew's cost per incident model.}}
|ID||Gets the numeric ID of crew. '''Integer'''.
*TaskLimit (as ''integer'') {{APIComment|Sets or gets the limit to the number of tasks a crew can perform (no limit &#61; 0).}}
|-
*TaskLimitVariableID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's limit variable.}}
|IncidentCostModelID||Gets or sets the numeric ID of the cost-per-incident model assigned to the crew. '''Integer'''.
*DelayModelID (as ''integer'') {{APIComment|Sets or gets the numerical ID of the task's logistic delay model.}}
|-
*IncludeCrewDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether logistic delay should be included in the task's cost.}}
|IncludeCrewDelayInCost||Indicates whether logistic delay should be included in the crew's cost. '''Boolean'''. Default value = True.
*IncludePartDelayInCost (as ''boolean'') {{APIComment|Sets or gets whether part delay should be included in the task's cost.}}
|-
|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