Table of Contents

Class Measurement

Namespace
SenseAnywhere.Sdk
Assembly
SenseAnywhere.Sdk.dll

Represents a sensor measurement with a value and units.

public sealed class Measurement
Inheritance
Measurement
Inherited Members

Constructors

Measurement(MeasurementType, string, decimal)

Initializes a new instance of the Measurement class.

public Measurement(MeasurementType type, string units, decimal value)

Parameters

type MeasurementType

The type of the measurement

units string

The units of the measurement

value decimal

The value of the measurement

Properties

Type

Gets the type of the measurement.

public MeasurementType Type { get; }

Property Value

MeasurementType

Units

Gets the units of the measurement.

public string Units { get; }

Property Value

string

Value

Gets the value of the measurement.

public decimal Value { get; }

Property Value

decimal