Class PiCounterCellHandle


  • public final class PiCounterCellHandle
    extends PiHandle
    Global identifier of a PI counter cell instantiated on a device, uniquely defined by a device ID and cell ID.
    • Method Detail

      • of

        public static PiCounterCellHandle of​(DeviceId deviceId,
                                             PiCounterCellId cellId)
        Creates a new handle for the given device ID and counter cell ID.
        Parameters:
        deviceId - device ID
        cellId - counter cell ID
        Returns:
        new counter cell handle
      • of

        public static PiCounterCellHandle of​(DeviceId deviceId,
                                             PiCounterCell cell)
        Creates a new handle for the given device ID and counter cell.
        Parameters:
        deviceId - device ID
        cell - counter cell
        Returns:
        new counter cell handle
      • cellId

        public PiCounterCellId cellId()
        Returns the counter cell ID associated with this handle.
        Returns:
        counter cell ID
      • entityType

        public PiEntityType entityType()
        Description copied from class: PiHandle
        Returns the type of entity identified by this handle.
        Specified by:
        entityType in class PiHandle
        Returns:
        PI entity type