Skip to content
Documentation

IConstantUnitConversionFactory Interface

A factory for creating constant unit conversions.

public interface IConstantUnitConversionFactory

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);

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.

IConstantUnitConversion
A new IConstantUnitConversion object with the given values.

© 2026 Volue.Version v0.6.38017 November 2026