system.kanoa.asset.addCounter
Description
Called by tagUDT assetOEE\Configuration\infeedCounterId, etc. to initialize the counterId for storing the count value against.Syntax
addCounter(assetId, counterName, counterTypeName, userId)Parameters:
Returns:
Code Examples
# Example Usage:
asset_id = 18
counter_name = 'caps'
counter_type_name = 'infeed'
user_id = 123
counter_id = system.kanoa.asset.addCounter(asset_id, counter_name, counter_type_name, user_id)