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
ConvertToStringSTRINGInput
iWhichVariableINTA 0-based index of the variable within all variables, i.e. must be less the parameter iCountVariables of method SetVariableConfiguration
liValueLINTThe value, that was read from TblTrendData
xValueNULLBOOLIndicates, whether NULL is stored in the trend storage
Output
eErrorReturns 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