CVariable Class: Difference between revisions

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


=== Properties  ===
=== Properties  ===
*'''[[Name - cVariable|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
*'''[[cVariable.Name|Name]]''' {{APIComment|Sets or returns the name of the model (the one used in the repository)}}
*'''[[ID - cVariable|ID]]''' {{APIComment|Returns the ID of the resource (the one used in the repository).}}
*'''[[cVariable.ID|ID]]''' {{APIComment|Returns the ID of the resource (the one used in the repository).}}
*'''[[ProjectID - cVariable|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}
*'''[[cVariable.ProjectID|ProjectID]]''' {{APIComment|Returns the ID of the project the resource belongs to.}}
*'''[[StartValue]]''' {{APIComment|Sets or returns variable's start value.}}
*'''[[cVariable.StartValue|StartValue]]''' {{APIComment|Sets or returns variable's start value.}}
*'''[[ResetWhen]]''' {{APIComment|Sets or returns when the variable gets reset.}}
*'''[[cVariable.ResetWhen|ResetWhen]]''' {{APIComment|Sets or returns when the variable gets reset.}}

Revision as of 16:25, 18 September 2013



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

Constructors

  • New Creates a new instance of the 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.