AlarmStorageReader.prvTblAlarmFindTimestamp (METH)ΒΆ
METHOD prvTblAlarmFindTimestamp : STO.ERROR
Searches a row in the table TbAlarm, that matches a given timestamp best. This method must not be called if the database table is empty.
- InOut:
Scope
Name
Type
Comment
Return
prvTblAlarmFindTimestampSTO.ERRORInput
itfDatabaseAccessIDatabaseAccessThe instance of IDatabaseAccess, that is used to access the database
liTimstampLINTThe absolute timestamp to search for
xUseNextRowBOOLThis parameter indicates, which row has to be considered if the timestamp cannot be found exactly. Either the next row (TRUE) or the previous row (FALSE)
Output
idRowTimstampCAA.IDENTReturns the row ID of the row corresponding to the given timestamp