CO_ Custom UO Class
Definition
Namespace: DWSIM.UnitOperations.UnitOperations.CAPEOPENWrappers
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
[SerializableAttribute]
[GuidAttribute("1FD2DC53-DC7B-4c4d-BBEE-F37F4E5ADDFB")]
[ComVisibleAttribute(true)]
public class CO_CustomUO : CapeOpenBaseVB
<SerializableAttribute>
<GuidAttribute("1FD2DC53-DC7B-4c4d-BBEE-F37F4E5ADDFB")>
<ComVisibleAttribute(true)>
Public Class CO_CustomUO
Inherits CapeOpenBase- Inheritance
- Object CapeIdentification CapeObjectBase CapeUnitBase CapeOpenBase CO_CustomUO
Constructors
Properties
| ComponentDescription |
Gets and sets the description of the component.
(Inherited from CapeIdentification) |
| ComponentName |
Gets and sets the name of the component.
(Inherited from CapeIdentification) |
| HighlightSpaces | |
| Parameters |
Gets the component's collection of parameters.
(Inherited from CapeObjectBase) |
| Ports |
Gets the collection of unit operation ports.
(Inherited from CapeUnitBase) |
| Reports |
Gets the list of possible reports for the unit operation.
(Inherited from CapeUnitBase) |
| selectedReport |
Gets and sets the current active report for the unit operation.
(Inherited from CapeUnitBase) |
| simulationContext |
Sets the CAPE-OPEN simulation context object provided by the host simulator.
(Inherited from CapeOpenBase) |
| ValStatus |
Gets the flag to indicate the unit operation's validation status
(Inherited from CapeUnitBase) |
Methods
| Calculate | (Overrides CapeOpenBaseCalculate) |
| CO_CustomUO_PropertyChanged | |
| CreateParameters | (Overrides CapeOpenBaseCreateParameters) |
| CreatePorts | |
| Edit | (Overrides CapeUnitBaseEdit) |
| GetClassID |
Returns the CLSID of the persisted class to the caller.
(Inherited from CapeOpenBase) |
| GetSizeMax |
Returns the maximum byte size of the serialised state stream.
(Inherited from CapeOpenBase) |
| Initialize | (Overrides CapeOpenBaseInitialize) |
| InitNew |
Initialises the unit operation to a default state when no previously saved data is available.
(Inherited from CapeOpenBase) |
| IsDirty |
Returns whether the unit operation state has changed since the last save.
(Inherited from CapeOpenBase) |
| Load |
Deserialises the unit operation parameter values from a COM stream.
(Inherited from CapeOpenBase) |
| LogMessage |
Writes a string to the PME's log file.
(Inherited from CapeObjectBase) |
| MyResolveEventHandler | (Inherited from CapeOpenBase) |
| NotifyPropertyChanged |
Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification) |
| OnCalculate |
Called by the base CAPE-OPEN unit when a calculation is triggered. Override in derived classes to perform the calculation.
(Inherited from CapeOpenBase) |
| OnComponentDescriptionChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| OnComponentNameChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| OnPortCollectionAddingNew |
Occurs before an item is added to the list.
(Inherited from CapeUnitBase) |
| OnPortCollectionListChanged |
Occurs when the list or an item in the list changes.
(Inherited from CapeUnitBase) |
| OnUnitOperationBeginCalculation |
Occurs at the start of a unit operation calculation process.
(Inherited from CapeUnitBase) |
| OnUnitOperationEndCalculation |
Occurs at the completion of a unit operation calculation process.
(Inherited from CapeUnitBase) |
| OnUnitOperationValidated |
Occurs when a unit operation is validated.
(Inherited from CapeUnitBase) |
| PopUpMessage |
Writes a message to the terminal.
(Inherited from CapeObjectBase) |
| ProduceReport | (Overrides CapeUnitBaseProduceReport(String)) |
| Save |
Serialises the unit operation parameter values to a COM stream.
(Inherited from CapeOpenBase) |
| Terminate |
Terminates the unit operation and releases the simulation context COM object.
(Inherited from CapeOpenBase) |
| throwException |
Throws and exceptiona and exposes the exception object.
(Inherited from CapeObjectBase) |
| Validate |
Validates the unit operation.
(Inherited from CapeUnitBase) |
Events
| ComponentDescriptionChanged |
Occurs when the user changes of the description of a component.
(Inherited from CapeIdentification) |
| ComponentNameChanged |
Occurs when the user changes of the name of a component.
(Inherited from CapeIdentification) |
| PortCollectionAddingNew |
Occurs when the user Adds a new element to the port collection.
(Inherited from CapeUnitBase) |
| PortCollectionListChanged |
Occurs when the list or an item in the list changes.
(Inherited from CapeUnitBase) |
| PropertyChanged |
Notifies the collection that the value of a proparty of the parameter has been changed.
(Inherited from CapeIdentification) |
| UnitOperationBeginCalculation |
Occurs when the user begins the calculation of the unit operation.
(Inherited from CapeUnitBase) |
| UnitOperationEndCalculation |
Occurs at the completion of a calculation of a unit operation.
(Inherited from CapeUnitBase) |
| UnitOperationValidated |
Occurs when the user validates the unit operation.
(Inherited from CapeUnitBase) |
Fields
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |