C# Класс TimeSeriesLibrary.TSParameters

This class houses the meta-parameters that TimeSeriesLibrary is responsible for writing to the database along with the BLOB (this class contains the meta parameters but not the BLOB itself).
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
BlobStartDate System.DateTime
CompressionCode int
TimeStepQuantity short
TimeStepUnit TSDateCalculator.TimeStepUnitCode

Открытые методы

Метод Описание
SetParametersIrregular ( int timeStepCount, System.DateTime blobStartDate, System.DateTime blobEndDate, int compressionCode ) : void

TimeSeriesLibrary is responsible for ensuring that a certain set of meta-parameters (which are saved as database fields) are coordinated with the BLOB of timeseries data. This method records all of the meta-parameters of an irregular timeseries into the fields of this TSParameters object, using the input parameters given to the method.

SetParametersRegular ( TSDateCalculator timeStepUnit, short timeStepQuantity, int timeStepCount, System.DateTime blobStartDate, int compressionCode ) : void

TimeSeriesLibrary is responsible for ensuring that a certain set of meta-parameters (which are saved as database fields) are coordinated with the BLOB of timeseries data. This method records all of the meta-parameters of a regular timeseries into the fields of this TSParameters object, using the input parameters given to the method.

Описание методов

SetParametersIrregular() публичный Метод

TimeSeriesLibrary is responsible for ensuring that a certain set of meta-parameters (which are saved as database fields) are coordinated with the BLOB of timeseries data. This method records all of the meta-parameters of an irregular timeseries into the fields of this TSParameters object, using the input parameters given to the method.
public SetParametersIrregular ( int timeStepCount, System.DateTime blobStartDate, System.DateTime blobEndDate, int compressionCode ) : void
timeStepCount int
blobStartDate System.DateTime
blobEndDate System.DateTime
compressionCode int
Результат void

SetParametersRegular() публичный Метод

TimeSeriesLibrary is responsible for ensuring that a certain set of meta-parameters (which are saved as database fields) are coordinated with the BLOB of timeseries data. This method records all of the meta-parameters of a regular timeseries into the fields of this TSParameters object, using the input parameters given to the method.
public SetParametersRegular ( TSDateCalculator timeStepUnit, short timeStepQuantity, int timeStepCount, System.DateTime blobStartDate, int compressionCode ) : void
timeStepUnit TSDateCalculator
timeStepQuantity short
timeStepCount int
blobStartDate System.DateTime
compressionCode int
Результат void

Описание свойств

BlobStartDate публичное свойство

Date of the first time step stored in the database
public DateTime,System BlobStartDate
Результат System.DateTime

CompressionCode публичное свойство

The compression code that indicates what compression algorithm is used to compress the BLOB
public int CompressionCode
Результат int

TimeStepQuantity публичное свойство

number of units per time step (e.g. Quantity=6 for 6-hour time steps)
public short TimeStepQuantity
Результат short

TimeStepUnit публичное свойство

code for the units that measure the regular time step (e.g. hour, day, month)
public TSDateCalculator.TimeStepUnitCode TimeStepUnit
Результат TSDateCalculator.TimeStepUnitCode