Skip to main content

system.kanoa.schedule.checkAssetSchedule

Description

This function is called by a gateway timer script. It will check the schedule to see what is scheduled for the line in which case it will set the line mode accordingly. It will also check if any currently scheduled operations should have ended, in which case it will put the asset into an idle mode.

Syntax

checkAssetSchedule(paramsDict)
  • Parameters
      paramsDict (dict)
      - assetPath (string)
  • Returns
      None
  • Code Example

    # Example Usage:
    assetPath = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
    system.kanoa.schedule.checkAssetSchedule({'assetPath': assetPath})