system.kanoaOPS.updateAssetSchedule
Description
This function will update the mode for the given asset (kanoaOPS).Syntax
updateAssetSchedule(assetPath, assetId, eventData)- assetPath (string) - Path of the asset.
- assetId - Asset ID.
- eventData - Event data.
- Boolean value indicating success or failure.
Code Example
# Example Usage:
asset_path = 'Kanoa Industries\Adelaide Hills\Packaging\Line 1'
asset_id = 123
event_data = {...} # Replace with actual event data
success = system.kanoaOPS.updateAssetSchedule(asset_path, asset_id, event_data)