CVariable Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 18: Line 18:
| style="width: 180px;"|ID||Gets the numeric ID of the variable. '''Integer'''.
| style="width: 180px;"|ID||Gets the numeric ID of the variable. '''Integer'''.
|-
|-
|{{Template:API_TxtIdentifiers}}
|ItemCategoryID||Gets or sets the category ID. (Synthesis identifier) '''Integer'''
|-
|ItemComments||Gets or sets the comments. (Synthesis identifier) '''String'''
|-
|-
|Name||Gets or sets the name of the variable. '''String'''.
|Name||Gets or sets the name of the variable. '''String'''.
Line 24: Line 26:
|ProjectID||Gets the numeric ID of the project the variable belongs to.  '''Integer'''.
|ProjectID||Gets the numeric ID of the project the variable belongs to.  '''Integer'''.
|-
|-
|ResetWhen||Gets or sets a value from the '''[[ResetOptionEnum Enumeration|ResetOptionEnum]]''' enumeration, which specifies whether the variable will retain its value during simulation or be reset to its initial value at specific times.
|ResetWhen||Gets or sets a value from the '''[[ResetOptionEnum Enumeration|ResetOptionEnum]]''' enumeration, which specifies whether the variable will retain its value during simulation or be reset to its initial value at specific times. Default value = 1 (reset after each set of runs).
|-
|-
|StartValue||Gets or sets the variable's initial value. '''Double'''.
|StartValue||Gets or sets the variable's initial value. '''Double'''.

Latest revision as of 17:46, 12 March 2019

APIWiki.png


Member of: SynthesisAPI


Represents a variable resource.

Constructors

Name Description
cVariable Creates an instance of the cVariable class.
cVariable() A parameterized constructor for the cVariable class. (.NET only)


Properties

Name Description
ID Gets the numeric ID of the variable. Integer.
ItemCategoryID Gets or sets the category ID. (Synthesis identifier) Integer
ItemComments Gets or sets the comments. (Synthesis identifier) String
Name Gets or sets the name of the variable. String.
ProjectID Gets the numeric ID of the project the variable belongs to. Integer.
ResetWhen Gets or sets a value from the ResetOptionEnum enumeration, which specifies whether the variable will retain its value during simulation or be reset to its initial value at specific times. Default value = 1 (reset after each set of runs).
StartValue Gets or sets the variable's initial value. Double.



See Also