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).
파일 보기 프로젝트 열기: hydrologics/TimeSeriesLibrary 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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