Skip to content

Class EnvironmentReading ​

Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll

Represents a single environmental sensor reading.

csharp
public class EnvironmentReading

Inheritance ​

object ← EnvironmentReading

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties ​

Humidity

Gets or sets relative humidity as a percentage (0-100).

LightLevel

Gets or sets light level as a percentage (0-100).

ReadingId

Gets or sets unique identifier for this reading.

Temperature

Gets or sets temperature in degrees Celsius.

Timestamp

Gets or sets timestamp when the reading was taken (device ticks).

Methods ​

ToString()

Returns a string representation of the environmental reading.

Released under the Apache License 2.0.