ICompressedTimeSeriesDataFactory Interface
HAKOM.TSM.Net.Api.Data.TimeSeries.Compression
Section titled “HAKOM.TSM.Net.Api.Data.TimeSeries.Compression”Creates ICompressedTimeSeriesData<TCompressedValue> objects.
public interface ICompressedTimeSeriesDataFactoryMethods
Section titled “Methods”ICompressedTimeSeriesDataFactory.Create<TCompressedValue>(DateTimeOffset, TCompressedValue) Method
Section titled “ICompressedTimeSeriesDataFactory.Create<TCompressedValue>(DateTimeOffset, TCompressedValue) Method”Creates a new ICompressedTimeSeriesData<TCompressedValue> object based on the given parameters.
HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ICompressedTimeSeriesData<TCompressedValue> Create<TCompressedValue>(System.DateTimeOffset blockTime, TCompressedValue blockData);Type parameters
Section titled “Type parameters”TCompressedValue
The type of the compressed value.
Parameters
Section titled “Parameters”blockTime System.DateTimeOffset
The block’s time (beginning or end, based on the Function property of the related time series).
blockData TCompressedValue
The compressed data, valid for this time.
Returns
Section titled “Returns”HAKOM.TSM.Net.Api.Data.TimeSeries.Compression.ICompressedTimeSeriesData<TCompressedValue>
A new instance of ICompressedTimeSeriesData<TCompressedValue>, containing the given compressed data, for the given time.
Was this page helpful?Thanks for your feedback!