RealParameter(String, Double, Double, 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)
public RealParameter(
	string name,
	double value,
	double defaultValue,
	string unit
)

Parameters

name  String
Sets as the ComponentName of the parameter's ICapeIdentification interface.
value  Double
Sets the inital value of the parameter.
defaultValue  Double
Sets the default value 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.

See Also