IMsProblemCalculationCallback.OnStageFinish

Syntax

OnStageFinish(Stage: MsProblemCalculationStage; Duration: Integer; Data: Variant);

Parameters

Stage. The current stage of modeling problem calculation.

Duration. Stage duration in milliseconds.

Data. Data.

Description

The OnStageFinish method implements an event that occurs after executing any stage of modeling problem.

Comments

The Data parameter is available for stages of data loading and saving, that is, when the Stage parameter is set to MsProblemCalculationStage.Load or MsProblemCalculationStage.Save. To get data, cast the value passed by the Data parameter to the IVariableStub interface.

Example

The method use is given in the example for IMsproblemCalculationCallback.OnWarning.

See also:

IMsProblemCalculationCallback