Remarks

SensorReading
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.SensorReading
Characteristic Locus
Inheritance object > SensorReading
Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString()
Namespace Meadow.Foundation.DataLoggers
Assembly SensorReading.dll

Syntax

public class SensorReading

Constructors

SensorReading(string, string, DateTime)

Create a new SensorReading object.

Declaration
public SensorReading(string key, string value, DateTime createdAt)

Parameters

Type Name Description
string key

Name of the reading (e.g. temperature, humidity etc.)

string value

Value read from the sensor.

DateTime createdAt

DateTime the sensor reading was taken.

Remarks

SensorReading
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.SensorReading

Properties

CreatedAt

Date and time the reading was taken.

Declaration
public DateTime CreatedAt { get; set; }

Property Value

Type Description
DateTime

Remarks

SensorReading
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.SensorReading

Key

Name of the sensor reading.

Declaration
public string Key { get; set; }

Property Value

Type Description
string

Remarks

SensorReading
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.SensorReading

Value

Value read from the sensor.

Declaration
public string Value { get; set; }

Property Value

Type Description
string

Remarks

SensorReading
Status Status badge: working
Source code GitHub
NuGet package NuGet Gallery for Meadow.Foundation.DataLoggers.SensorReading