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