system.kanoa.tooling.getAlerts(paramsDict)
Returns the tools that are due for maintenance or over a limit, worst first. A tool is Due at the tool's warnPct of a limit (PM interval, refurbishment interval, lifetime limit, refurbishment limit, calibration) and Over limit past one. The hourly tool life job also checks calendar-day and calibration limits.
Parameters
paramsDict Dictionary
| - toolingAssetId | Integer | One tool |
| - assetId | Integer | The tools mounted on this asset now |
| - enabled | Boolean |
Returns
alerts pyDataset: toolingAssetId, toolingName, toolingPath, level (1 due, 2 over), status, message, isMounted, hostAssetId, hostAssetName
Example
paramsDict = {'toolingAssetId': 1, 'assetId': 1, 'enabled': True}
alerts = system.kanoa.tooling.getAlerts(paramsDict)