CVariable Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
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