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
MeasurementTypeThe type of the measurement
units
stringThe units of the measurement
value
decimalThe value of the measurement
Properties
Type
Gets the type of the measurement.
public MeasurementType Type { get; }
Property Value
Units
Gets the units of the measurement.
public string Units { get; }
Property Value
Value
Gets the value of the measurement.
public decimal Value { get; }