Skip to main content

system.kanoa.shift.buildShiftEvents

This function requires KanoaOps module

Description

Builds the shiftEvent table for shift analysis and sets shiftId and shiftName tags on assetOEE and qdsAssetInfo UDTS (kanoaOps).

Syntax

buildShiftEvents(assetId, rangeStart, rangeEnd)
  • Parameters
      assetId (Integer) - Asset ID.
      rangeStart (Datetime) - Start date of the range.
      rangeEnd (Datetime) - End date of the range.
  • Returns
      None.
  • Code Example

    # Example Usage:
    system.kanoa.shift.buildShiftEvents(1, someStartDate, someEndDate)