CVariable Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) No edit summary |
Chris Kahn (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
Variables each store a fixed numerical value and can be programmatically varied during simulation. | Variables each store a fixed numerical value and can be programmatically varied during simulation. | ||
== Constructors == | |||
*'''[[New cVariable]]''' {{APIComment|Creates a new instance of the resource.}} | *'''[[New cVariable]]''' {{APIComment|Creates a new instance of the resource.}} | ||
== Properties == | |||
*'''[[cVariable.Name|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)}} | ||
*'''[[cVariable.ID|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).}} |
Revision as of 23:39, 5 February 2014
Variables each store a fixed numerical value and can be programmatically varied during simulation.
Constructors
- New cVariable 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.