DerivedType: LnDerivedSerieType;
The DerivedType property returns a child series type.
This property is read-only.
Executing the example requires a form with the following components: the Button component named Button1, the LanerBox component named LanerBox1, and the UiErAnalyzer component named UiErAnalyzer1. UiErAnalyzer1 is a data source for LanerBox1. A working area of the time series database that contains child series should be loaded to UiErAnalyzer1.
Before executing the example value of all child series mandatory attributes should be set. Then select the child series that is a modeling one in the data table.
The example is a handler of the OnClick event for the Button1 component.
Add links to the Express, ExtCtrls, Forms, Laner, and Tab system assemblies.
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 the example, the indicator containing modeling series data is created.
See also: