CapeUnitBaseValStatus Property

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

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
public CapeValidationStatus ValStatus { get; }

Property Value

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

Implements

ICapeUnitValStatus

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:

  • notValidated(CAPE_NOT_VALIDATED)
  • invalid(CAPE_INVALID)
  • valid(CAPE_VALID)

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