Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeasurementGroupCollection

A collection of measurement groups. The groups can be defined in PiWeb Monitor. Each group is a measurement collection with a specific key:

const measurementGroups = piweb.data.getMeasurementGroupCollection();
for (let measurementGroup of measurementGroupCollection)
{
    for (let measurement of measurementGroup)
    {
        ...
       }
}

Hierarchy

  • MeasurementGroupCollection

Index

Constructors

Properties

Accessors

Methods

Constructors

Private constructor

Properties

groupingKey

groupingKey: number | undefined

The attribute key, by which the measurements are grouped.

groupingTimeSpan

groupingTimeSpan: MeasurementGroupingTimeSpan | undefined

In case the measurements are grouped by time, these are the time spans by which the measurements are grouped.

groupingType

Describes, how the measurements are grouped.

Accessors

length

  • get length(): number
  • Gets the number of measurements in the collection.

    Returns number

Methods

Private __@iterator

Private first

iter

  • Returns an iter over all measurements.

    Returns Iter<MeasurementGroup>

Generated using TypeDoc