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. {'oeeTolerance' 0.1, 'oee' 0.6, 'aTolerance' 0.1, 'a' 0.8, 'pTolerance' 0.1, 'p' 0.8, 'qTolerance' 0.1, 'q' 0.8}


Example

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