Beispiel #1
0
        private void VulKlimatogram()
        {
            var metingMadrid = new List <Meting>();
            var m            = new Meting(1, 5.5, 42);

            metingMadrid.Add(m);
            m = new Meting(2, 7.0, 45);
            metingMadrid.Add(m);
            m = new Meting(3, 9.3, 30);
            metingMadrid.Add(m);
            m = new Meting(4, 11.6, 45);
            metingMadrid.Add(m);
            m = new Meting(5, 15.5, 39);
            metingMadrid.Add(m);
            m = new Meting(6, 20.4, 26);
            metingMadrid.Add(m);
            m = new Meting(7, 24.3, 9);
            metingMadrid.Add(m);
            m = new Meting(8, 23.8, 9);
            metingMadrid.Add(m);
            m = new Meting(9, 20.3, 28);
            metingMadrid.Add(m);
            m = new Meting(10, 14.5, 38);
            metingMadrid.Add(m);
            m = new Meting(11, 8.9, 59);
            metingMadrid.Add(m);
            m = new Meting(12, 5.9, 44);
            metingMadrid.Add(m);
            k = new Klimatogram("Madrid", "Weerstation Madrid", 40.38, -3.56, 1990, 2014);
            k.setMetingen(metingMadrid);
        }
Beispiel #2
0
        public void Initialize()
        {
            klimatogramNoord = new Klimatogram("klimatogramNoord", "Gent", 51.05, 3.705, 1980, 2014);
            metingenNoord    = new List <Meting>
            {
                new Meting(5, 30.0, 20),
                new Meting(8, 10.0, 25),
                new Meting(11, 50, 10),
                new Meting(2, 20, 5)
            };
            klimatogramNoord.setMetingen(metingenNoord);

            klimatogramZuid = new Klimatogram("klimatogramZuid", "Sydney", -33.87, 151.21, 1990, 2014);
            metingenZuid    = new List <Meting>
            {
                new Meting(5, 45, 15),
                new Meting(8, 15, 10),
                new Meting(11, 25, 25),
                new Meting(2, 5, 30)
            };
            klimatogramZuid.setMetingen(metingenZuid);
        }