Real Parameter(String, String, Double, Double, Double, Double, Cape Param Mode, String) Constructor
Creates a new instance of the double precision-valued parameter class.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public RealParameter(
string name,
string description,
double value,
double defaultValue,
double lowerBound,
double upperBound,
CapeParamMode mode,
string unit
)VB
Public Sub New (
name As String,
description As String,
value As Double,
defaultValue As Double,
lowerBound As Double,
upperBound As Double,
mode As CapeParamMode,
unit As String
)Parameters
- name String
- Sets as the ComponentName of the parameter's ICapeIdentification interface.
- description String
- Sets as the ComponentDescription of the parameter's ICapeIdentification interface.
- value Double
- Sets the inital value of the parameter.
- defaultValue Double
- Sets the default value of the parameter.
- lowerBound Double
- Sets the lower bound of the parameter.
- upperBound Double
- Sets the upper bound of the parameter.
- mode CapeParamMode
- Sets the CapeParamMode mode of the parameter.
- unit String
- Use to Set the dimensionality of the parameter.
Remarks
The mode is set to CapeParamMode.CAPE_INPUT_OUTPUT. The dimensionality
of the parameter is determined from the unit string.