com.kuka.nav.kmp.omnimove.battery
Class KMPomniMoveBatteryInfo

java.lang.Object
  extended by com.kuka.nav.kmp.omnimove.battery.KMPomniMoveBatteryInfo

public class KMPomniMoveBatteryInfo
extends Object

KMP Omnimove battery information.


Constructor Summary
KMPomniMoveBatteryInfo()
          Construct KMP Omnimove battery info with invalid data and disconnected state.
KMPomniMoveBatteryInfo(double soc, double soh, boolean isChargingActive, boolean isRefChargeNeeded)
          Construct KMP Omnimove battery info with reliable data.
 
Method Summary
 com.kuka.nav.robot.ConnectionState getReliability()
          Get the reliability of the battery information.
 double getStateOfCharge()
          Get the state of charge (SoC) of the battery.
 double getStateOfHealth()
          Get the state of health (SoH) of the battery.
 boolean isCharging()
          Check whether battery is currently charging..
 boolean isReferenceChargeNeeded()
          Check whether reference charge is needed for accurate SoC.
 void makeUnreliable()
          If the data is reliable, set it to unreliable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMPomniMoveBatteryInfo

public KMPomniMoveBatteryInfo(double soc,
                              double soh,
                              boolean isChargingActive,
                              boolean isRefChargeNeeded)
Construct KMP Omnimove battery info with reliable data.

Parameters:
soc - state of charge
soh - state of health
isChargingActive - true if battery is charging
isRefChargeNeeded - true if reference charge is needed for accurate SoC

KMPomniMoveBatteryInfo

public KMPomniMoveBatteryInfo()
Construct KMP Omnimove battery info with invalid data and disconnected state.

Method Detail

getStateOfHealth

public double getStateOfHealth()
Get the state of health (SoH) of the battery.

Returns:
state of health

isReferenceChargeNeeded

public boolean isReferenceChargeNeeded()
Check whether reference charge is needed for accurate SoC.

Returns:
true if reference charge is needed

getStateOfCharge

public double getStateOfCharge()
Get the state of charge (SoC) of the battery.

Returns:
state of charge

isCharging

public boolean isCharging()
Check whether battery is currently charging..

Returns:
true if battery is charging

getReliability

public com.kuka.nav.robot.ConnectionState getReliability()
Get the reliability of the battery information.

Returns:
reliability of the data based on the connection

makeUnreliable

public void makeUnreliable()
If the data is reliable, set it to unreliable. Use on cached data if a new request fails.



Copyright © 2019. All rights reserved.