Interface IUnitConverter
Provides means to work with units
Namespace: TSD.API.Remoting.Units
Assembly: TSD.API.Remoting.dll
Syntax
public interface IUnitConverter
Methods
| Name | Description |
|---|---|
| FromBaseAsync(IEnumerable<double>, IUnit, CancellationToken) | Converts a collection of values in the base unit to values in given unit (= factored and shifted) |
| GetUnitsAsync(Quantity, SystemType, CancellationToken) | Returns units associated with given quantity and system type |
| ToBaseAsync(IEnumerable<double>, IUnit, CancellationToken) | Converts a collection of values in given unit (= factored and shifted) to values in the base unit |