ICapeUnitValStatus Property

Gets the flag to indicate the unit operation's validation status CapeValidationStatus.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[DispIdAttribute(2)]
CapeValidationStatus ValStatus { get; }

Property Value

CapeValidationStatus
A flag that indiciates the validation status of the unit operation.

Remarks

Get the flag that indicates whether the Flowsheet Unit is valid (e.g. some parameter values have changed but they have not been validated by using Validate). It has three possible values:

(i) notValidated(CAPE_NOT_VALIDATED): The PMC's Validate() method has not been called after the last time that its value had been changed.

(ii) invalid(CAPE_INVALID): The last time that the PMC's Validate() method was called it returned false.

(iii) valid(CAPE_VALID): the last time that the PMC's Validate() method was called it returned true.

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