Skip to main content

system.kanoa.asset.getStates

This function requires KanoaOPS module

Description

Returns state info for the given parameters (kanoaOPS).

Syntax

getStates(paramsDict)
  • Parameters
      paramsDict (dict) - Dictionary containing filter parameters.
  • Returns
      pyDataset.
  • Code Examples

    # Example Usage:
    parameters = {
    'enabled': True,
    'stateName': 'Running',
    'stateId': 1,
    'stateTypeName': 'Type1',
    'stateTypeId': 2,
    'assetGroupId': 1
    }
    state_info = system.kanoa.asset.getStates(parameters)