CVariable Class: Difference between revisions
Jump to navigation
Jump to search
Chris Kahn (talk | contribs) |
Chris Kahn (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
== Properties == | == Properties == | ||
*Name (as ''string'') {{APIComment| | *Name (as ''string'') {{APIComment|Gets or sets the name of the variable.}} | ||
*ID (as ''integer'') {{APIComment|Gets the numerical ID of the variable.}} | *ID (as ''integer'') {{APIComment|Gets the numerical ID of the variable.}} | ||
*ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the variable belongs to.}} | *ProjectID (as ''integer'') {{APIComment|Gets the numerical ID of the project the variable belongs to.}} | ||
*StartValue (as ''double'') {{APIComment| | *StartValue (as ''double'') {{APIComment|Gets or sets the variable's Initial Value.}} | ||
*ResetWhen (as ''[[ResetOptionEnum Enumeration|ResetOptionEnum]]'') {{APIComment| | *ResetWhen (as ''[[ResetOptionEnum Enumeration|ResetOptionEnum]]'') {{APIComment|Gets or sets the enumeration that specifies when the variable's value gets reset.}} |
Revision as of 21:40, 12 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 (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.