IConstantUnitConversionFactory Interface
A factory for creating constant unit conversions.
public interface IConstantUnitConversionFactoryMethods
Section titled “Methods”IConstantUnitConversionFactory.Create(IUnitReference, IUnitReference, decimal, decimal, IInterval, IStorageInformation) Method
Section titled “IConstantUnitConversionFactory.Create(IUnitReference, IUnitReference, decimal, decimal, IInterval, IStorageInformation) Method”Creates a new IConstantUnitConversion object.
HAKOM.TSM.Net.Api.Units.IConstantUnitConversion Create(HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference unit, HAKOM.TSM.Net.Api.Units.Persistence.References.IUnitReference? conversionUnit=null, decimal factor=1m, decimal offset=0m, HAKOM.TSM.Net.Api.Time.Intervals.IInterval? integrationInterval=null, HAKOM.Persistence.Core.Net.Api.Storage.IStorageInformation? storage=null);Parameters
Section titled “Parameters”unit IUnitReference
The IUnitReference to which the conversion rules will apply.
conversionUnit IUnitReference
The IUnitReference to which the conversion can be made.
factor System.Decimal
A System.Decimal value used for the conversion.
offset System.Decimal
A System.Decimal value used for the conversion.
integrationInterval IInterval
The IInterval used for the integration.
storage IStorageInformation
The IStorageInformation about how the object is stored in a repository.
Returns
Section titled “Returns”IConstantUnitConversion
A new IConstantUnitConversion object with the given values.
Was this page helpful?Thanks for your feedback!