Extensions.Measure.IsValidMeasurement
Revision as of 07:31, 6 August 2014 by Nb (talk | contribs) (Created page with "Category:Measure == Classification == {{ClassificationActivity | IsValidMeasurement | Evaluates the status of a measurement | Term | OTX Measure extension...")
Contents
Classification
Name | IsValidMeasurement |
Short Description | Evaluates the status of a measurement |
Class | Term |
Extension | OTX Measure extension |
Group | Measurement related terms |
Exceptions | - |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
Boolean IsValidMeasurement(Measurement measurement);
Description
This term evaluates the status of a measurement. Since the state constants are not defined in this standard, this activity can be used to determine whether the measurement is used.
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | A measurement is considered valid if it contains at least an amount and a time stamp. |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
Measurement | Measurement | Term | - | [1] | The measurement whose status is being evaluated. |
Examples
Boolean result = IsValidMeasurement(measurement);
See also
GetMeasurementTimestamp
GetMeasurementStatus
GetMeasurementQuantity
GetMeasurementFloatValue