OTX Reference  
OpenTestSystem.Otx.Extensions.Measure.DataTypes.Measurement Class Reference

Container for a specific measurement More...

Inheritance diagram for OpenTestSystem.Otx.Extensions.Measure.DataTypes.Measurement:
Inheritance graph

Detailed Description

Container for a specific measurement

Measurement is used as a container for a specific measurement. It contains a timestamp of the measurement, the measurement status, and the measurand. The inner values of a measurement may by the terms GetMeasurementQuantity, GetMeasurementTimestamp, GetMeasurementStatus, IsValidMeasurement and GetMeasurementValue are used.

Since the Measurement data type has no initialisation parts, a Measurement can not be declared constant.

Conversion terms
The following table shows the rules for conversion to another data type:

ConversionResultSample
ToBooleanUndefined (should not be used)
ToIntegerUndefined (should not be used)
ToFloatUndefined (should not be used)
ToStringReturns the value of measurement variableMeasurement measureMentVariable = 1 km; String s = ToString(measureMentVariable); // Returns "1 km"
ToByteFieldUndefined (should not be used)

Sample

Measure.Measurement MeasurementVariable;