Improved Console and fixed .display(..., double batt) bug

The console has many extra functions and an improved help screen. It
also accepts names as well as numbers for input.
Example: /periode 3maanden
/scherm binnenluchtvochtigheid

It searches for keywords, so exact naming is not necessary.
This commit is contained in:
Kenneth van Ewijk
2014-10-29 14:54:50 +01:00
parent 92f19cf3ad
commit 9ac419c7cc
8 changed files with 460 additions and 204 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ public class LangsteRegenPeriode extends Grootheid{
regenPeriode = Calculator.timeStampToPeriode( measurement2.get(index[0]).getDateStamp(), measurement2.get(index[1]).getDateStamp());
}
public void display(String periode, boolean knop1, boolean knop2, short batt)
public void display(String periode, boolean knop1, boolean knop2, double batt)
{
GUIboard.writePageToMatrix("Langste Regen Periode", regenPeriode.toString(), periode, knop1, knop2, batt);
}