Maximum Aggregate
The maximum actual time aggregate retrieves the maximum good raw value within the interval [s,e), and returns that value the timestamp of the aggregate will always be the start of the interval for every interval. If the same maximum exists at more than one timestamp, the oldest one is retrieved.
Example 1
Start: Jan-01-2002 12:00:10 End: Jan-01-2002 12:00:20 Interval: 00:00:05
Timestamp | Value | Quality |
---|---|---|
Jan-01-2002 12:00:10 | 10 | Raw, Good |
Jan-01-2002 12:00:15 | 0 | No Data, Bad |
Example 2
Start: Jan-01-2002 12:00:35 End: Jan-01-2002 12:01:00 Interval: 00:00:05
Timestamp | Value | Quality |
---|---|---|
Jan-01-02 12:00:35 | 0 | No Data, Bad |
Jan-01-02 12:00:40 | 0 | No Data, Bad |
Jan-01-02 12:00:45 | 0 | No Data, Bad |
Jan-01-02 12:00:50 | 50 | Raw, Good |
Jan-01-02 12:00:55 | 0 | No Data, Bad |