diff options
author | Joshua Drake <joshua.drake@ditchwitch.com> | 2022-11-21 16:34:17 -0600 |
---|---|---|
committer | Joshua Drake <joshua.drake@ditchwitch.com> | 2022-11-21 16:34:17 -0600 |
commit | 179ed918aed1c9f190ae6846ea4bcccccbeab18f (patch) | |
tree | 1fabd0bbc20e102097eeecf18e2238f121629d0f /battery.h | |
parent | 341e61f7a6f9deebf086a2b8147e252be6d45f33 (diff) |
Added Pre-Charge functionality and made thing prettier.
Diffstat (limited to 'battery.h')
-rw-r--r-- | battery.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -40,6 +40,7 @@ public: void setSystemVoltage(double voltage); void setPeakSystemPower(double power); void changeBatteryChemistry(int name); + void setMinimumSOC(double SOC); int seriesCells(void); int parallelCells(void); @@ -53,11 +54,11 @@ private: batteryData_t activeBattery; double systemVoltage; double peakPower; + double minimumAllowableSOC; float packDischargeRate; float packChargeRate; float packWeight; float packEnergy; - signals: void calculation(void); |