IEaxDataAreaLanerSlice.Laner

Fore Syntax

Laner: ILaner;

Fore.NET Syntax

Laner: Prognoz.Platform.Interop.Laner.ILaner;

Description

The Laner property returns workbook of time series database in series mode.

Comments

The series mode for workbook of time series database is set in the IEaxAnalyzer.Mode property switching the EaxMode.MultiDimension value in EaxMode.Series.

Fore Example

Executing the example requires that the repository contains a dictionary with the WORKBOOK identifier.

Add links to the Express, Laner, Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    LanerSlice: IEaxDataAreaLanerSlice;
Begin
    MB := MetabaseClass.Active;
    Express := MB.ItemById("WORKBOOK").Bind As IEaxAnalyzer;
    LanerSlice := Express.DataArea.Slices.Item(0As IEaxDataAreaLanerSlice;
    Debug.WriteLine("Start data - " + LanerSlice.Laner.StartDate.ToString);
    Debug.WriteLine("End date - " + LanerSlice.Laner.EndDate.ToString);
End Sub UserProc;

After executing the example the console window displays start and end dates of displayed values.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example.

Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Laner;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    Express: IEaxAnalyzer;
    LanerSlice: IEaxDataAreaLanerSlice;
Begin
    MB := Params.Metabase;
    Express := MB.ItemById["WORKBOOK"].Bind() As IEaxAnalyzer;
    LanerSlice := Express.DataArea.Slices.Item[0As IEaxDataAreaLanerSlice;
    System.Diagnostics.Debug.WriteLine("Start date - " + LanerSlice.Laner.StartDate.ToString());
    System.Diagnostics.Debug.WriteLine("End date - " + LanerSlice.Laner.EndDate.ToString());
End Sub;

See also:

IEaxDataAreaLanerSlice