1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
| /// <summary>
/// Contains all translations for the WeatherConditions. These are based on the Icon used
/// </summary>
/// <param name="cond"></param>
/// <returns></returns>
private string WeatherCondition(object cond)
{
Hashtable WeatherTypes = new Hashtable();
WeatherTypes.Add(0, "Onweersbuien");
WeatherTypes.Add(1, "Regen en Wind");
WeatherTypes.Add(2, "Regen en Wind");
WeatherTypes.Add(3, "Onweersbuien");
WeatherTypes.Add(4, "Zware Onweersbuien");
WeatherTypes.Add(5, "Regen/Natte Sneeuw");
WeatherTypes.Add(6, "Hagel");
WeatherTypes.Add(7, "Regen/Natte Sneeuw/Hagel");
WeatherTypes.Add(8, "Lichte Regen/Hagel");
WeatherTypes.Add(9, "Lichte Regen");
WeatherTypes.Add(10, "Zware Regen/Hagel");
WeatherTypes.Add(11, "Regen");
WeatherTypes.Add(12, "Zware Regen");
WeatherTypes.Add(13, "Lichte Sneeuwbuien");
WeatherTypes.Add(14, "Sneeuw");
WeatherTypes.Add(15, "Sneeuwvlokken");
WeatherTypes.Add(16, "Zware Sneeuwbuien");
WeatherTypes.Add(17, "Onweersbuien");
WeatherTypes.Add(18, "Hagel");
WeatherTypes.Add(19, "Stof");
WeatherTypes.Add(20, "Mist");
WeatherTypes.Add(21, "Nevel");
WeatherTypes.Add(22, "Smog");
WeatherTypes.Add(23, "Winderig");
WeatherTypes.Add(24, "Winderig");
WeatherTypes.Add(25, "Koud");
WeatherTypes.Add(26, "Bewolkt");
WeatherTypes.Add(27, "Zwaar Bewolkte Nacht");
WeatherTypes.Add(28, "Zwaar Bewolkte Dag");
WeatherTypes.Add(29, "Licht Bewolkte Nacht");
WeatherTypes.Add(30, "Licht Bewolkte Dag");
WeatherTypes.Add(31, "Heldere Nacht");
WeatherTypes.Add(32, "Zonnige Dag");
WeatherTypes.Add(33, "Redelijke Nacht");
WeatherTypes.Add(34, "Licht Bewolkte Dag");
WeatherTypes.Add(35, "Onweersbuien");
WeatherTypes.Add(36, "Warme Zonnige Dag");
WeatherTypes.Add(37, "Plaatselijke Onweersbuien");
WeatherTypes.Add(38, "Bliksem");
WeatherTypes.Add(39, "Zware Regenbuien");
WeatherTypes.Add(40, "Zware Regenbuien");
WeatherTypes.Add(41, "Zware Sneeuwbuien");
WeatherTypes.Add(42, "Zware Sneeuwbuien");
WeatherTypes.Add(43, "Winderig/Lichte Sneeuw");
WeatherTypes.Add(44, "Licht Bewolkte Dag");
WeatherTypes.Add(45, "Regenachtige Nacht");
WeatherTypes.Add(46, "s'Nachts Lichte Sneeuw");
WeatherTypes.Add(47, "s'Nachts Onweersbuien");
int _cond = Convert.ToInt32(cond);
return WeatherTypes[_cond].ToString();
} |