From 1321168cb22a76df96d747194fcb91863e4e0659 Mon Sep 17 00:00:00 2001 From: Joshua Drake Date: Sat, 19 Nov 2022 04:04:00 -0600 Subject: Added Wire Class. Program now has some functionality! --- battery.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'battery.h') diff --git a/battery.h b/battery.h index 887fb0e..6c0ed44 100644 --- a/battery.h +++ b/battery.h @@ -38,6 +38,8 @@ public: void setSystemVoltage(double voltage); void setPeakSystemPower(double power); void changeBatteryChemistry(int name); +public slots: + void calculate(void); private: batteryData_t activeBattery; @@ -49,8 +51,6 @@ private: float packChargeRate; float packWeight; float packEnergy; - - void calculate(void); signals: }; -- cgit v1.2.3