TrendStorageReaderValueConverter.ConvertToString (METH)ΒΆ
METHOD ConvertToString : STRING
Converts a value read from the trend storage into a suitable string representation.
- InOut:
Scope
Name
Type
Comment
Return
ConvertToString
STRING
Input
iWhichVariable
INT
A 0-based index of the variable within all variables, i.e. must be less the parameter iCountVariables of method SetVariableConfiguration
liValue
LINT
The value, that was read from TblTrendData
xValueNULL
BOOL
Indicates, whether NULL is stored in the trend storage
Output
eError
Returns a ETrendStorageReaderErrors value indicating, where the processing was completed successfully or not.
ETrendStorageReaderErrors.NoError: Completed successfully
ETrendStorageReaderErrors.InvalidCall: ConvertToString was called without calling method SetVariableConfiguration before
ETrendStorageReaderErrors.WrongParameter: The value of the parameter iWhichVariable is invalid