Class DCBStatus
-
- All Implemented Interfaces:
public final class DCBStatusContains current status information on a battery module
- Since:
2.1
-
-
Field Summary
Fields Modifier and Type Field Description private final Integerindexprivate final Floatvoltageprivate final FloatvoltageAVG30sprivate final FloatcurrentAprivate final FloatcurrentAVG30sprivate final List<Float>temperaturesCelsius
-
Method Summary
Modifier and Type Method Description final IntegergetIndex()final FloatgetVoltage()final FloatgetVoltageAVG30s()final FloatgetCurrentA()final FloatgetCurrentAVG30s()final List<Float>getTemperaturesCelsius()-
-
Constructor Detail
-
DCBStatus
DCBStatus(Integer index, Float voltage, Float voltageAVG30s, Float currentA, Float currentAVG30s, List<Float> temperaturesCelsius)
- Parameters:
index- ID of the module in the batteryvoltage- Current voltagevoltageAVG30s- Average voltage of the last 30 secondscurrentA- Current amperage in AcurrentAVG30s- Average current in the last 30 secondstemperaturesCelsius- Current temperature values of the respective sensors in Celsius
-
-
Method Detail
-
getVoltage
final Float getVoltage()
-
getVoltageAVG30s
final Float getVoltageAVG30s()
-
getCurrentA
final Float getCurrentA()
-
getCurrentAVG30s
final Float getCurrentAVG30s()
-
getTemperaturesCelsius
final List<Float> getTemperaturesCelsius()
-
-
-
-