Battery charging type differentiation and other fixes

This commit is contained in:
jens committed 2024-01-25 16:53:43 +01:00
1 parent 04fe674cf6
commit 6c31b67b14
17 files changed
+129 -34

No files matched your search

@@ -838,4 +838,17 @@ public class Rule implements Comparable<Rule>
return amount;
}
public static int getAmountOfActivatedRules()
{
int amount = 0;
for(Rule r : Rule.getRuleCollection())
{
if(r.isRuleActive())
amount++;
}
return amount;
}
}