Laner: ILaner;
Laner: Prognoz.Platform.Interop.Laner.ILaner;
The Laner property returns the workbook of time series database in the series mode.
The series mode for the time series database workbook is set in the IEaxAnalyzerCore.Mode property by toggling the EaxMode.MultiDimension value to EaxMode.Series.
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(0) As 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.
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[0] As 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: