CVariable Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{CVariable Class.Cmt}}
{{CVariable Class.Cmt}}


{{Template:ResourceLinkToRepositoryClass.Cmt}}
== Constructors ==
== Constructors ==
*cVariable {{APIComment|Creates a new variable resource.}}
*cVariable {{APIComment|Creates a new variable resource.}}

Revision as of 23:50, 30 July 2014


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.