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