system.kanoa.asset.linkAssetModes
Description
Links modes with assets (kanoaOPS).Syntax
linkAssetModes(assetIdList, modeList, userId, modeCodeList)- assetIdList (list[int]): - List of assetId's
- modeList (list[int]): List of modeIds
- userId (int)
- modeCodeList (list[int]) - List of mode codes expected from the plc
- None
Code Examples
# Example Usage:
assetIdList = [100,101,102]
modeList = [1,3,4]
modeCodeList = [2,8,12]
userId = 5
system.kanoa.asset.linkAssetModes(assetIdList, modeList, userId, modeCodeList)