system.kanoa.event.getOEEDataByInterval
Description
Returns OEE data by interval filtered by the given parameters.Syntax
getOEEDataByInterval(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.getOEEDataByInterval(assetId, startDate, endDate, interval)