RealParameter(String, String, Double, Double, Double, Double, CapeParamMode, 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,
	string description,
	double value,
	double defaultValue,
	double lowerBound,
	double upperBound,
	CapeParamMode mode,
	string unit
)

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.

See Also