ICapeParameterMode Property

Gets and sets the mode of the parameter.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[DispIdAttribute(4)]
CapeParamMode Mode { get; set; }

Property Value

CapeParamMode
The mode of the parameter, input, output, or input/output.

Remarks

Modes of parameters. It allows the following values:

(i) Input (CAPE_INPUT): the Unit(or whichever owner component) will use its value to calculate.

(ii) Output (CAPE_OUTPUT): the Unit will place in the parameter a result of its calculations.

(iii) Input-Output (CAPE_INPUT_OUTPUT): the user inputs an initial estimation value and the user outputs a calculated value.

Exceptions

ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.
ECapeInvalidArgumentTo be used when an invalid argument value is passed, for example, an unrecognised Compound identifier or UNDEFINED for the props argument.

See Also