com.kuka.nav.battery
Class BatteryLevels.BatteryLevel

java.lang.Object
  extended by com.kuka.nav.battery.BatteryLevels.BatteryLevel
Enclosing class:
BatteryLevels

public class BatteryLevels.BatteryLevel
extends Object

A single level of the battery state of charge. It represents a range of state of charge values and has a name.


Field Summary
static String HIGH
          the default HIGH battery level.
static String LOW
          the default LOW battery level.
static String MID
          the default MID battery level.
 
Method Summary
 double getLowerThreshold()
           
 String getName()
           
 double getUpperThreshold()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOW

public static final String LOW
the default LOW battery level.

See Also:
Constant Field Values

MID

public static final String MID
the default MID battery level.

See Also:
Constant Field Values

HIGH

public static final String HIGH
the default HIGH battery level.

See Also:
Constant Field Values
Method Detail

getName

public String getName()
Returns:
a descriptive name of this charge level

getUpperThreshold

public double getUpperThreshold()
Returns:
the upper threshold represented by this battery state of charge level

getLowerThreshold

public double getLowerThreshold()
Returns:
the lower threshold represented by this battery state of charge level

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2019. All rights reserved.