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