ITimeSeries.Coord

Syntax

Coord: IMsFormulaTransformCoord;

Description

The Coord property returns parameters of series coordinate.

Comments

Use this property for access values of series coordinates parameters, for work with it, the IMsModelParamValues interface is used.

Example

This example describes custom method. The data series is passed by points. A metamodel, that calculates this series, must contain the PARAM_COORD number parameter.

Public Sub UserProc(Input: ITimeSeries; Output: ITimeSeries);

Var

I: Integer;

ParamValues: IMsModelParamValues;

ParamVal: IMsModelParamValue;

pVal: Double;

Begin

ParamValues := Input.Coord.ParamValues;

ParamVal := ParamValues.FindById("PARAM_COORD");

pVal := ParamVal.Value;

For I := Input.StartIndex To Input.EndIndex Do

Output(I) := Input(I) * pVal;

End For;

End Sub UserProc;

The method returns the value of series points that is multiplied to value of the PARAM_COORD parameter.

See also:

ITimeSeries