Battery charging type differentiation and other fixes

This commit is contained in:
2024-01-25 16:53:43 +01:00
parent 04fe674cf6
commit 6c31b67b14
17 changed files with 129 additions and 34 deletions

View File

@ -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;
}
}