Real Parameter(String, String, 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,
CapeParamMode mode,
string unit
)VB
Public Sub New (
name As String,
description As String,
value As Double,
defaultValue 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.
- mode CapeParamMode
- Sets the CapeParamMode mode of the parameter.
- unit String
- Use to Set the dimensionality of the parameter.
Remarks
The upper bound is set to Double.MaxValue (1.79769313486232e308) and the
lower bound is set to Double.MinValue (negative 1.79769313486232e308).
The mode is set to CapeParamMode.CAPE_INPUT_OUTPUT.
The dimensionality of the parameter is determined from the unit string.