Pressure​Measurement Class

Definition

Represents a pressure measurement and a display value associated with the measurement.

public class PressureMeasurement : Microsoft.Health.ItemTypes.Measurement<double>
Inheritance

Inherited Members

Microsoft.Health.ItemTypes.Measurement`1

Remarks

In HealthVault, pressure measurements have values and display values. All values are stored in a standard SI unit of pascal (Pa). An application can take a pressure value using any scale the application chooses and can store the user-entered value as the display value, but the pressure value must be converted to pascals to be stored in HealthVault.

Constructors

Pressure​Measurement()

Creates a new instance of the PressureMeasurement class with empty values.

Pressure​Measurement(​Double)

Creates a new instance of the PressureMeasurement class with the specified value in pascal.

Pressure​Measurement(​Double, ​Display​Value)

Creates a new instance of the PressureMeasurement class with the specified value in pascals and an optional display value.

Methods

Assert​Measurement​Value(​Double)

Verifies the value is a legal pressure value in Pa.

Get​Value​String(​Double)

Gets a string representation of the pressure in the base units.

Parse​Value​Xml(​XPath​Navigator)

Populates the data for the pressure from the XML.

Write​Value​Xml(​Xml​Writer)

Writes the pressure to the specified XML writer.