Class Bmp280ReadResult
Contains a measurement result of a Bmp280 sensor.
Namespace: Iot.Device.Bmxx80.ReadResult
Assembly: Iot.Device.Bmxx80.dll
Syntax
public class Bmp280ReadResult
Constructors
Bmp280ReadResult(Temperature, bool, Pressure, bool)
Initializes a new instance of the Bmp280ReadResult class.
Declaration
public Bmp280ReadResult(Temperature temperature, bool temperatureIsValid, Pressure pressure, bool pressureIsValid)
Parameters
Type | Name | Description |
---|---|---|
Temperature | temperature | The Temperature measurement. |
bool | temperatureIsValid | Last temperature value read was successful. |
Pressure | pressure | The Pressure measurement. |
bool | pressureIsValid | Last pressure value read was successful. |
Properties
Pressure
Gets the collected pressure measurement.
Declaration
public Pressure Pressure { get; }
Property Value
Type | Description |
---|---|
Pressure |
PressureIsValid
Gets a value indicating whether the Last pressure value read was successful.
Declaration
public bool PressureIsValid { get; }
Property Value
Type | Description |
---|---|
bool |
Temperature
Gets the collected temperature measurement.
Declaration
public Temperature Temperature { get; }
Property Value
Type | Description |
---|---|
Temperature |
TemperatureIsValid
Gets a value indicating whether the last temperature value read was successful.
Declaration
public bool TemperatureIsValid { get; }
Property Value
Type | Description |
---|---|
bool |