ICape UnitVal Status 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)
A flag that indiciates the validation status of the unit operation.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(2)]
CapeValidationStatus ValStatus { get; }VB
<DispIdAttribute(2)>
ReadOnly Property ValStatus As CapeValidationStatus
GetProperty Value
CapeValidationStatusA 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
| 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. |