system.kanoa.quality.schedule.getSecondsSinceLastCheck
Description
Returns the seconds since the last scheduled check for a checksheet on an asset.Syntax
getSecondsSinceLastCheck(paramsDict)Parameters:
Returns:
Code Examples
# Example usage
paramsDict = {'chkShtId': 1, 'assetId': 18}
result = system.kanoa.quality.schedule.getSecondsSinceLastCheck(paramsDict)
print(f"Last scheduled date: {result['lastScheduledDate']}, Seconds since last check: {result['seconds']}")