OnStageStart(Stage: MsProblemCalculationStage; Data: Variant);
OnStageStart(Stage: Prognoz.Platform.Interop.Ms.MsProblemCalculationStage; Data: object);
Stage. The current stage of modeling problem calculation.
Data. Data.
The OnStageStart method implements an event that occurs at the beginning of 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: