IMsProblemCalculationCallback.OnStageFinish

Fore Syntax

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

Fore.NET Syntax

OnStageFinish(Stage: Prognoz.Platform.Interop.Ms.MsProblemCalculationStage; Duration: integer; Data: object);

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.

Fore and Fore.NET Examples

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

See also:

IMsProblemCalculationCallback