CVariable Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


== Constructors ==
== Constructors ==
*cVariable {{APIComment|Creates an empty cVariable object.}}
*cVariable {{APIComment|Creates a new variable resource.}}


== Properties  ==
== Properties  ==

Revision as of 16:55, 10 March 2014


Variables each store a fixed numerical value and can be programmatically varied during simulation.

Constructors

  • cVariable Creates a new variable resource.

Properties

  • Name Sets or returns the name of the model (the one used in the repository)
  • ID Returns the ID of the resource (the one used in the repository).
  • ProjectID Returns the ID of the project the resource belongs to.
  • StartValue Sets or returns variable's start value.
  • ResetWhen Sets or returns when the variable gets reset.