system.kanoa.operators.enterBadge(assetId, badgeNum, logIn, tStamp)
Badges an operator in or out for a specific asset.
Parameters
assetId Integer: Id of the asset associated with the badge action
badgeNum String: Badge number of the operator
logIn Boolean: Flag indicating whether the operator is logging in (True) or out (False)
tStamp DateTime: Timestamp of the badge event
Returns
None: this function does not return a value
Example
assetId = 1
badgeNum = 'badgeNum'
logIn = True
tStamp = system.date.now()
result = system.kanoa.operators.enterBadge(assetId, badgeNum, logIn, tStamp)