TrendStorageReader.Read (METH) ¶ METHOD Read : ETrendStorageReaderErrors Reads data from the trend storage. InOut: Scope Name Type Comment Return Read ETrendStorageReaderErrors A ETrendStorageReaderErrors value indicating, whether the processing has been completed successfully or not: ETrendStorageReaderErrors.NoError: Completed successfully ETrendStorageReaderErrors.NotInitialized: Call to method Initialize has not been done ETrendStorageReaderErrors.WrongParameter: If the ITrendStorageReaderConsumer instance is invalid ETrendStorageReaderErrors.AdditionalReadCallRequired: Reading has been completed successfully, but there is additional call of method ContinueReading necessary to read the rest of the data Input liTimstampFrom LINT The absolute timestamp of the 1st sample liTimstampTo LINT The absolute timestamp of the last sample itfTrendStorageReaderConsumer ITrendStorageReaderConsumer An instance of ITrendStorageReaderConsumer, to which the data read from the trend storage will be passed.
TrendStorageReader.CurveFillingTypeRead (METH) ¶ METHOD CurveFillingTypeRead This method returns the curve filling type of the graph InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The filling type of the graph
TrendStorageReader.CurveTypeRead (METH) ¶ METHOD CurveTypeRead This method returns the curve type of the graph InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The curve type of the graph
TrendStorageReader.GradientAngleRead (METH) ¶ METHOD GradientAngleRead This method returns the angle of gradient rotation InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The angle of gradient rotation
TrendStorageReader.GradientBrightnessRead (METH) ¶ METHOD GradientBrightnessRead This method returns the brightness of the gradient InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The brightness of the gradient
TrendStorageReader.GradientCenterXRead (METH) ¶ METHOD GradientCenterXRead This method returns the rotation center of the gradient (X) InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The rotation center of the gradient (X)
TrendStorageReader.GradientCenterYRead (METH) ¶ METHOD GradientCenterYRead This method returns the rotation center of the gradient (Y) InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables iValue INT The rotation center of the gradient (Y)
TrendStorageReader.GradientColor1Read (METH) ¶ METHOD GradientColor1Read This method returns the first color of the gradient InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables diValue DINT The first color of the gradient
TrendStorageReader.GradientColor2Read (METH) ¶ METHOD GradientColor2Read This method returns the second color of the gradient InOut: Scope Name Type Comment Input iWhichVariable INT The 0 based index of the variable within all variables diValue DINT The second color of the gradient
ITrendStorageReaderConsumer.ValueRead (METH) ¶ METHOD ValueRead Notification, that a variable value from TblTrendData has been read and can be processed. InOut: Scope Name Type Comment Input diWhichRow DINT A 0-based index of the row read from TblTrendData. iWhichVariable INT A 0-based index of the variable within all variables liValue LINT The value, that was read from TblTrendData xValueNULL BOOL Indicates, whether NULL is stored in the trend storage