@Beta public final class PiMeterCellHandle extends PiHandle
Modifier and Type | Method and Description |
---|---|
PiMeterCellId |
cellId()
Returns the cell ID associated with this handle.
|
PiEntityType |
entityType()
Returns the type of entity identified by this handle.
|
boolean |
equals(Object o) |
int |
hashCode() |
static PiMeterCellHandle |
of(DeviceId deviceId,
PiMeterCellConfig meterCellConfig)
Creates a new handle for the given device ID and PI meter cell
configuration.
|
static PiMeterCellHandle |
of(DeviceId deviceId,
PiMeterCellId meterCellId)
Creates a new handle for the given device ID and PI meter cell ID.
|
String |
toString() |
public static PiMeterCellHandle of(DeviceId deviceId, PiMeterCellId meterCellId)
deviceId
- device IDmeterCellId
- meter cell IDpublic static PiMeterCellHandle of(DeviceId deviceId, PiMeterCellConfig meterCellConfig)
deviceId
- device IDmeterCellConfig
- meter configpublic PiMeterCellId cellId()
public PiEntityType entityType()
PiHandle
entityType
in class PiHandle