"linkedAreas"
Returns a list of all linked areas.
Synopsis
trendObj.linkedAreas(int area, dyn_int &others)
getValue(trendObj, "areaStopped", int area, dyn_int &others);
Parameter
Parameter | Description |
---|---|
trendObj | Trend for which the attributed should be get. |
area | ID of the area for which the attribute should be get. |
others | A list of the IDs of all other areas that are linked to the stated area. |
Description
The attribute can be read to return a list of all areas that are linked to the stated area.
Example
Following example returns a list of all area IDs that are linked to the area with the ID 1 and displays them inside of the LogViewer.
main()
{
dyn_int linkedAreaIds;
int area = 1;
state = myTrend.linkedAreas(area, linkedAreaIds);
DebugN(linkedAreaIds);
}
Assignment
Trend