From e57f52f64bf17c8dbb965642ab98349863346b34 Mon Sep 17 00:00:00 2001 From: Torsten Oltmanns Date: Thu, 28 Dec 2023 09:23:06 +0800 Subject: [PATCH] fixed max cell number in console overview --- .../main/java/com/airepublic/bmstoinverter/BmsToInverter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bms-to-inverter-main/src/main/java/com/airepublic/bmstoinverter/BmsToInverter.java b/bms-to-inverter-main/src/main/java/com/airepublic/bmstoinverter/BmsToInverter.java index d6fb97a8..531e2bfe 100644 --- a/bms-to-inverter-main/src/main/java/com/airepublic/bmstoinverter/BmsToInverter.java +++ b/bms-to-inverter-main/src/main/java/com/airepublic/bmstoinverter/BmsToInverter.java @@ -420,7 +420,7 @@ private String createBatteryOverview() { + "\t" + b.packVoltage / 10f + "\t" + b.packCurrent / 10f + "\t" + b.minCellmV / 1000f + "(#" + b.minCellVNum + ") " - + "\t" + b.maxCellmV / 1000f + "(#" + b.maxCellVNum / 1000f + ")" + + "\t" + b.maxCellmV / 1000f + "(#" + b.maxCellVNum + ")" + "\t" + (b.maxCellmV - b.minCellmV) / 1000f + " \n"); }