Errata exists for this version of the document.
The WorstQuality2 Aggregate defined in Table 47 returns the worst status of the raw values in the interval where a Bad status is worse than Uncertain, which is worse than Good. No distinction is made between the specific reasons for the status.
The start bound calculated using Simple Bounding Values (see 3.1.9) is always included when determining the worst quality.
If multiple values exist with the worst quality but different StatusCodes then the StatusCode of the first value is returned and the MultipleValues bit is set.
This Aggregate returns the worst StatusCode as the value of the Aggregate.
The timestamp is always the start of the interval. The StatusCodes are Good, Calculated.
Table 47 – WorstQuality2 Aggregate summary
WorstQuality2 Aggregate Characteristics |
||
Type |
Calculated |
|
Data Type |
Status Code |
|
Use Bounds |
Simple |
|
Timestamp |
StartTime |
|
|
||
Status Code Calculations |
||
Calculation Method |
Custom Always Good |
|
Partial |
Set Sometimes If an interval is not a complete interval |
|
Calculated |
Set Always |
|
Interpolated |
Not Set |
|
Raw |
Not Set |
|
Multi Value |
Used |
|
|
||
Status Code Common Special Cases |
||
Before Start of Data |
Bad_NoData |
|
After End of Data |
Bad_NoData |
|
No Start Bound |
No special handing required |
|
No End Bound |
No special handing required |
|
Bound Bad |
No special handing required |
|
Bound Uncertain |
No special handing required |