system.kanoa.event.getDowntimeDataForReliability
Description
Returns downtime data for the reliability report filtered by the given parameters.Syntax
getDowntimeDataForReliability(assetId, startDate, endDate, durationSecs)- assetId - Asset ID.
- startDate - Start date.
- endDate - End date.
- durationSecs - Filter downtime events for events greater than this value.
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
startDate = timestamp_start
endDate = timestamp_end
durationSecs = 60
data = system.kanoa.event.getDowntimeDataForReliability(assetId, startDate, endDate, durationSecs)