29 public Type
To => typeof(Double);
40 return Field.Quantity.Magnitude;
42 throw new ArgumentException(
"Not a QuantityField.", nameof(Value));
57 throw new ArgumentException(
"Not a QuantityField.", nameof(Value));
Base class for all sensor data fields.
Represents a physical quantity value.
Converts a QuantityField to a Double.
IElement ConvertToElement(object Value)
Converts the object in Value to an object of type To, encapsulated in an IElement.
Type To
Converter converts objects to this type.
object Convert(object Value)
Converts the object in Value to an object of type To.
QuantityFieldToDouble()
Converts a QuantityField to a Double.
Type From
Converter converts objects of this type.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.