Cape ParameterMode 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)
The mode of the parameter, input, output, or input/output.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public CapeParamMode Mode { get; set; }VB
Public Property Mode As CapeParamMode
Get
SetProperty Value
CapeParamModeThe mode of the parameter, input, output, or input/output.
Implements
ICapeParameterModeRemarks
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
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeInvalidArgument | To be used when an invalid argument value is passed, for example, an unrecognised Compound identifier or UNDEFINED for the props argument. |