CVariable Class: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) No edit summary |
John Leavitt (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
*StartValue (as ''double'') {{APIComment|Gets or sets the variable's Initial Value.}} | *StartValue (as ''double'') {{APIComment|Gets or sets the variable's Initial Value.}} | ||
*ResetWhen (as ''[[ResetOptionEnum Enumeration|ResetOptionEnum]]'') {{APIComment|Gets or sets the enumeration that specifies when the variable's value gets reset.}} | *ResetWhen (as ''[[ResetOptionEnum Enumeration|ResetOptionEnum]]'') {{APIComment|Gets or sets the enumeration that specifies when the variable's value gets reset.}} | ||
== Methods == | |||
'''Set/Return Item Properties''' | |||
*[[cVariable.ItemCategoryID|ItemCategoryID(Integer)]] {{APIComment|{{Template:ItemCategoryID.Cmt}}}} | |||
*[[cVariable.ItemPartNumber|ItemPartNumber(String)]] {{APIComment|{{Template:ItemPartNumber.Cmt}}}} | |||
*[[cVariable.ItemVersion|ItemVersion(String)]] {{APIComment|{{Template:ItemVersion.Cmt}}}} | |||
*[[cVariable.ItemSupplier|ItemSupplier(String)]] {{APIComment|{{Template:ItemSupplier.Cmt}}}} | |||
*[[cVariable.ItemApplication|ItemApplication(String)]] {{APIComment|{{Template:ItemApplication.Cmt}}}} | |||
*[[cVariable.ItemDescription|ItemDescription(String)]] {{APIComment|{{Template:ItemDescription.Cmt}}}} | |||
*[[cVariable.ItemComments|ItemComments(String)]] {{APIComment|{{Template:ItemComments.Cmt}}}} | |||
*[[cVariable.ItemKeywords|ItemKeywords(String)]] {{APIComment|{{Template:ItemKeywords.Cmt}}}} |
Revision as of 23:22, 26 March 2015
Variables each store a fixed numerical value and can be programmatically varied during simulation.
To access/edit repository level information, including accessing/adding resources, please see Repository Class.
Constructors
- cVariable Creates a new variable resource.
Properties
- Name (as string) Gets or sets the name of the variable.
- ID (as integer) Gets the numerical ID of the variable.
- ProjectID (as integer) Gets the numerical ID of the project the variable belongs to.
- StartValue (as double) Gets or sets the variable's Initial Value.
- ResetWhen (as ResetOptionEnum) Gets or sets the enumeration that specifies when the variable's value gets reset.
Methods
Set/Return Item Properties
- ItemCategoryID(Integer) Gets or sets the category ID. *
- ItemPartNumber(String) Gets or sets the part number. *
- ItemVersion(String) gets or sets the version. *
- ItemSupplier(String) Gets or sets the supplier. *
- ItemApplication(String) Gets or sets the application of the item. *
- ItemDescription(String) Gets or sets the description. *
- ItemComments(String) Gets or sets the comments. *
- ItemKeywords(String) Gets or sets the key words. *