system.kanoa.event.getPreviousModeEvent
Description
Returns the modeEvent table entry prior to the passed-in timestamp.Syntax
getPreviousModeEvent(assetId, tStamp)- assetId - Asset ID.
- tStamp (datetime) - Timestamp.
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
tStamp = timestamp
previousModeEvent = system.kanoa.event.getPreviousModeEvent(assetId, tStamp)