Many things changed
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class AvgWindSpeed extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Barometer extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class CloudHeight extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class DewPoint extends Grootheid
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Grootheid
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class HeatIndex extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class InsideHum extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class InsideTemp extends Grootheid{
|
||||
|
||||
@@ -7,7 +7,7 @@ public class LangsteRegenPeriode extends Grootheid{
|
||||
//constructor
|
||||
public LangsteRegenPeriode(Measurement measurement1, ArrayList<Measurement> measurement2){
|
||||
list = new ArrayList<Double>();
|
||||
regenPeriode = new Periode();
|
||||
regenPeriode = new Periode("Regen");
|
||||
updateRecent(measurement1);
|
||||
update24Hour(measurement2);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class LangsteZomerPeriode extends Grootheid{
|
||||
@@ -8,7 +8,7 @@ public class LangsteZomerPeriode extends Grootheid{
|
||||
//constructor
|
||||
public LangsteZomerPeriode(Measurement measurement1, ArrayList<Measurement> measurement2){
|
||||
list = new ArrayList<Double>();
|
||||
zomerPeriode = new Periode();
|
||||
zomerPeriode = new Periode("Zomer");
|
||||
updateRecent(measurement1);
|
||||
updatePeriod(measurement2);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class MaximaleRegenPeriode extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class OutsideHum extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class OutsideTemp extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class RainRate extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class UVLevel extends Grootheid{
|
||||
|
||||
+8
-7
@@ -37,31 +37,31 @@ public class Weerstation {
|
||||
startStartupAnimatie();
|
||||
|
||||
calPeriod.add(Calendar.DATE, -1);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Dag"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.DATE, -7);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Week"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.MONTH, -1);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Maand"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.MONTH, -3);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Maand 3"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.MONTH, -6);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Maand 6"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.YEAR, -1);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Jaar"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
calPeriod.add(Calendar.YEAR, -2);
|
||||
periods.add(new Periode(now, calPeriod));
|
||||
periods.add(new Periode(now, calPeriod, "Jaar 2"));
|
||||
calPeriod = Calendar.getInstance();
|
||||
|
||||
System.out.println("Day: " + periods.get(0));
|
||||
@@ -104,6 +104,7 @@ public class Weerstation {
|
||||
lstScreens.add(new DewPoint(meting1, meting2)); //Dauwpunt
|
||||
lstScreens.add(new Sun(meting1)); //Sunrise en Sunset
|
||||
lstScreens.add(new LangsteZomerPeriode(meting1, meting2)); //Langste Zomerse Periode
|
||||
lstScreens.add(new LangsteRegenPeriode(meting1, meting2)); //Langste Regen Periode
|
||||
lstScreens.add(new MaximaleRegenPeriode(meting1, meting2)); //Totale regenval in een periode
|
||||
lstScreens.add(new GraadDagen(meting1, meting2)); //Aantal graaddagen in een periode
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class WindChill extends Grootheid{
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package weerstation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Zonsterkte extends Grootheid{
|
||||
|
||||
Reference in New Issue
Block a user