ILanerDerivedSerie.DerivedType

Syntax

DerivedType: LnDerivedSerieType;

Description

This property is read-only.

The DerivedType property returns a child series type.

Example

Executing this example requires a form with the Button1 button, the LanerBox component with the LanerBox1 identifier and the UiErAnalyzer component used as a data source for LanerBox. UiErAnalyzer must contain the working area of the time series database that contains child series.

Before executing the example value of all child series mandatory attributes should be set. Then highlight the child series, that is a modeling one, in the data table. Click the button to start executing this example.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);

Var

Serie: ILanerSerie;

DerSerie: ILanerDerivedSerie;

i: Integer;

Begin

For i := 0 To LanerBox1.SelectedSeriesCount - 1 Do

Serie := LanerBox1.SelectedSeries(i);

If Serie Is ILanerDerivedSerie Then

DerSerie := Serie As ILanerDerivedSerie;

If DerSerie.DerivedType = LnDerivedSerieType.Modelling Then

DerSerie.CreateFactor;

End If;

End If;

End For;

End Sub Button1OnClick;

After executing this example, the factor, containing modeling series data, is created.

See also:

ILanerDerivedSerie