blob: e91b05f5cbaf50e0293ee0d7e4b6e5e6f4fe98d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "battery.h"
Battery::Battery() :
activeBattery(batteries[0]),
seriesCells(0),
parallelCells(0)
{
}
void Battery::changeBatteryChemistry(int name)
{
activeBattery= batteries[name];
}
|