From eeda28b1df4ce1fa60cad6de176c8b2e6a0170d0 Mon Sep 17 00:00:00 2001 From: Gerwaz3 Date: Fri, 25 Jul 2025 03:32:40 +0200 Subject: [PATCH] Update KIA-E-GMP-BATTERY.cpp --- Software/src/battery/KIA-E-GMP-BATTERY.cpp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Software/src/battery/KIA-E-GMP-BATTERY.cpp b/Software/src/battery/KIA-E-GMP-BATTERY.cpp index c5d33313..2f3f9e9c 100644 --- a/Software/src/battery/KIA-E-GMP-BATTERY.cpp +++ b/Software/src/battery/KIA-E-GMP-BATTERY.cpp @@ -810,6 +810,29 @@ void KiaEGmpBattery:: #endif } +// Getter implementations for HTML renderer +int KiaEGmpBattery::get_battery_12V() const { + return leadAcidBatteryVoltage; +} +int KiaEGmpBattery::get_waterleakageSensor() const { + return waterleakageSensor; +} +int KiaEGmpBattery::get_temperature_water_inlet() const { + return temperature_water_inlet; +} +int KiaEGmpBattery::get_powerRelayTemperature() const { + return powerRelayTemperature; +} +int KiaEGmpBattery::get_batteryManagementMode() const { + return batteryManagementMode; +} +int KiaEGmpBattery::get_BMS_ign() const { + return BMS_ign; +} +int KiaEGmpBattery::get_batRelay() const { + return batteryRelay; +} + void KiaEGmpBattery::handle_incoming_can_frame(CAN_frame rx_frame) { startedUp = true; switch (rx_frame.ID) {