Skip to main content

system.kanoa.event.getOEEDataByIntervalByShift

This function requires KanoaOPS module

Description

Returns OEE data by interval and shift filtered by the given parameters.

Syntax

getOEEDataByIntervalByShift(assetId, startDate, endDate, interval)
  • Parameters
      assetId - Asset ID.
      startDate - Start date.
      endDate - End date.
      interval - Interval string (e.g., 'Hour', 'Day', 'Week', None).
  • Returns
    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)