system.kanoa.event.getOEEDataByIntervalByShift
Description
Returns OEE data by interval and shift filtered by the given parameters.Syntax
getOEEDataByIntervalByShift(assetId, startDate, endDate, interval)- assetId - Asset ID.
- startDate - Start date.
- endDate - End date.
- interval - Interval string (e.g., 'Hour', 'Day', 'Week', None).
data (pyDataset).
Code Example
# Example Usage:
assetId = 123
startDate = timestamp_start
endDate = timestamp_end
interval = 'Hour'
data = system.kanoa.event.getOEEDataByIntervalByShift(assetId, startDate, endDate, interval)