40 return Field.PersistableQuantity;
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.
Persistable quantity object.
Represents a physical quantity value.
Converts a QuantityField to a PersistableQuantity.
QuantityFieldToPersistableQuantity()
Converts a QuantityField to a PersistableQuantity.
IElement ConvertToElement(object Value)
Converts the object in Value to an object of type To, encapsulated in an IElement.
object Convert(object Value)
Converts the object in Value to an object of type To.
Type From
Converter converts objects of this type.
Type To
Converter converts objects to this type.
Basic interface for all types of elements.
Converts an object of one type to an object of another type.