Skip to main content

system.kanoa.asset.getAssetOEEThresholds(paramsDict)

Returns an assets oee threshold settings. These settings are stored in the asset custom attribute '_oeeThreshold' and are inheritable by lower assets. You must provide either an assetPath or an assetId. If no thresholds are found, a set of default are returned


Parameters

paramsDict Dictionary

- assetIdInteger
- assetPathStringFastest search option

Returns

oeeThresholds Dictionary i.e. {'targetThreshold' 0.1, 'oee' 0.6, 'a' 0.8, 'p' 0.8, 'q' 0.8}


Example

system.kanoa.asset.getAssetOEEThresholds({"assetPath": 'Kanoa Box Co\Box Plant\Packaging\Box Line 1'})
>>>
{u'a': 0.8, u'targetThreshold': 0.1, u'oee': 0.6, u'p': 0.8, u'q': 0.8}