system.kanoa.event.getDowntimeDataByShift
Description
Returns downtime data grouped by shift.Syntax
getDowntimeDataByShift(assetId, startDate, endDate)- assetId - Asset ID.
- startDate - Start date.
- endDate - End date.
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
startDate = timestamp_start
endDate = timestamp_end
data = system.kanoa.event.getDowntimeDataByShift(assetId, startDate, endDate)