system.kanoa.event.getOEEColors
Description
Returns colors for OEE, Availability, Performance, and Quality based on the asset and OEE values.Syntax
getOEEColors(paramsDict, oee, availability, performance, quality)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
assetId | int | e.g. 18 | |
assetPath | string | e.g. 'Kanoa Industries\Adelaide Hills\Packaging\Line 1' |
Code Examples
# Example Usage:
colors = system.kanoa.event.getOEEColors(paramsDict={'assetId': 18}, oee=80.0, availability=90.0, performance=85.0, quality=95.0)