OnStageFinish(Stage: MsProblemCalculationStage; Duration: Integer; Data: Variant);
OnStageFinish(Stage: Prognoz.Platform.Interop.Ms.MsProblemCalculationStage; Duration: integer; Data: object);
Stage. The current stage of modeling problem calculation.
Duration. Stage duration in milliseconds.
Data. Data.
The OnStageFinish method implements an event that occurs after executing any stage of modeling problem.
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.
The method use is given in the example for IMsproblemCalculationCallback.OnWarning.
See also: