mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-04 02:09:30 +02:00
Update KIA-E-GMP-BATTERY.cpp
This commit is contained in:
parent
8db91a0456
commit
eeda28b1df
1 changed files with 23 additions and 0 deletions
|
@ -810,6 +810,29 @@ void KiaEGmpBattery::
|
||||||
#endif
|
#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) {
|
void KiaEGmpBattery::handle_incoming_can_frame(CAN_frame rx_frame) {
|
||||||
startedUp = true;
|
startedUp = true;
|
||||||
switch (rx_frame.ID) {
|
switch (rx_frame.ID) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue