-
Notifications
You must be signed in to change notification settings - Fork 0
/
UserControl_Wetter.vb
446 lines (377 loc) · 21.5 KB
/
UserControl_Wetter.vb
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
Option Strict Off
Imports System.Drawing
Imports System.Globalization
Imports System.Threading
Public Class UserControl_Wetter
'Private bSet_NOSW As Boolean
'Private bDown_NOSW As Boolean
Private ptNOSW As System.Drawing.Point
Private dwPOSW As Single
Private dNOSW As Point
'Private Const SekWetter As Integer = 180
Private Sub UserControl_Wetter_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Dim tmpDate As Date = Me.DTP_1.Value
'Set_Wetter(New Date(tmpDate.Year, tmpDate.Month, tmpDate.Day, 6, 0, 0), _
'New Date(tmpDate.AddDays(1).Year, tmpDate.AddDays(1).Month, tmpDate.AddDays(1).Day, 6, 0, 0))
Dim ci As CultureInfo = New CultureInfo("de-DE")
ci.NumberFormat.NumberDecimalSeparator = ","
Thread.CurrentThread.CurrentCulture = ci
Thread.CurrentThread.CurrentUICulture = ci
Aktuallisieren()
End Sub
#Region "Diagramme"
Private Sub PB_Luftdruck_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_Luftdruck.Paint
Dim gr As Graphics = e.Graphics
Dim Wertebereich As Integer = 100
Dim MinWert As Integer = 950
Dim IntervalleAnz As Integer = 10
'Diagramm-Gitternetz
'x-Achse
For i As Integer = 1 To 24
gr.DrawLine(Pens.Gray, i * 20, 0, i * 20, Me.PB_Luftfeuchte.Height)
Next
'y-Achsen-Richtung
Dim tmpIntervall As Integer = CInt(Me.PB_Luftdruck.Height / (IntervalleAnz - 1)) '11)
For i As Integer = 1 To IntervalleAnz '12
'If i = 5 Then '8 Then'12), _
' gr.DrawLine(Pens.LightCoral, 0, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz), _
' Me.PB_Temperatur.Width, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz)) '12))
'Else
If Math.IEEERemainder(i, 2) = 0 Then
gr.DrawLine(Pens.Gray, 0, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz),
Me.PB_Temperatur.Width, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz))
Else
gr.DrawLine(Pens.LightGray, 0, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz),
Me.PB_Temperatur.Width, i * CInt(Me.PB_Luftfeuchte.Height / IntervalleAnz))
End If
Next
'mittlerer Luftdruck
gr.DrawLine(Pens.LightCoral, 0, Me.PB_Luftdruck.Height - CInt((Me.PB_Luftdruck.Height * (1013.25 - MinWert)) / Wertebereich),
Me.PB_Temperatur.Width, Me.PB_Luftdruck.Height - CInt((Me.PB_Luftdruck.Height * (1013.25 - MinWert)) / Wertebereich))
'1 Pixel entspricht 3 min
'Luftdruck-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
'For iDS As Integer = 0 To Wetter.Length - 1
' With Wetter(iDS).Luftdruck
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS)
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
Dim Luftdruck As String = .Split(Chr(59))(2).Replace(".", ",") '.Luftdruck
Dim result As Integer
Dim parsingSuccesful As Boolean = Double.TryParse(Luftdruck, result)
Dim Wert As Double = result
If Wert <> 0 Then '-1 Then
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt auf x-Achse) -> 1 Pixel entspricht 3 min
'-> Pixelentfernung der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 3)
'Dim x As Integer = CInt(((Zeit.AddHours(-6).Hour) * 60 + Zeit.Minute) / 3)
Dim x As Integer = CInt(((Zeit.Hour) * 60 + Zeit.Minute) / 3)
'Wertebereich geht von 950 - 150 hPa '980 - 1040 hPa
Dim y As Integer = Me.PB_Luftdruck.Height - CInt((Me.PB_Luftdruck.Height * (Wert - MinWert)) / Wertebereich) '980)) / 60)
gr.FillRectangle(New SolidBrush(Color.Blue), x, y, 1, 1)
'gr.DrawEllipse(Pens.Blue, x, y, 1, 1)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1
Next
End If
End Sub
Private Sub PB_Luftfeuchte_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_Luftfeuchte.Paint
Dim gr As Graphics = e.Graphics
'Diagramm-Gitternetz
'x-Achse
For i As Integer = 1 To 24
gr.DrawLine(Pens.Gray, i * 20, 0, i * 20, Me.PB_Luftfeuchte.Height)
Next
'y-Achse
For i As Integer = 1 To 5
gr.DrawLine(Pens.Gray, 0, i * CInt(Me.PB_Luftfeuchte.Height / 5),
Me.PB_Luftfeuchte.Width, i * CInt(Me.PB_Luftfeuchte.Height / 5))
Next
'1 Pixel entspricht 3 min
'Luftfeuchte-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS) '.Luftfeuchtigkeit
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
'Dim Wert As Single = .Split(Chr(59))(3).Replace(".", ",") '.Luftfeuchtigkeit
Dim result As Integer
Dim parsingSuccesful As Boolean = Double.TryParse(.Split(Chr(59))(3).Replace(".", ","), result)
Dim Wert As Integer = result
'.Luftfeuchtigkeit.Wert = CSng(tmpZeile(iFeuchtigkeit).Replace(".", ","))
If Wert >= 0 And Wert <= 100 Then '<> -1 Then
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt auf x-Achse) -> 1 Pixel entspricht 3 min
'-> Pixelentfernung der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 3)
'Dim x As Integer = CInt(((Zeit.AddHours(-6).Hour) * 60 + Zeit.Minute) / 3)
Dim x As Integer = CInt(((Zeit.Hour) * 60 + Zeit.Minute) / 3)
'Wertebereich geht von 0 - 100 %
Dim y As Integer = Me.PB_Luftfeuchte.Height - CInt((Me.PB_Luftfeuchte.Height * Wert) / 100)
gr.FillRectangle(New SolidBrush(Color.Blue), x, y, 1, 1)
'gr.DrawEllipse(Pens.Red, x, y, 1, 1)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1
Next
End If
End Sub
Private Sub PB_Regen_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_Regen.Paint
Dim gr As Graphics = e.Graphics
'1 Pixel entspricht 3 min
'Regen-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS) '.Regen
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
Dim result As Integer
Dim parsingSuccesful As Boolean = Double.TryParse(.Split(Chr(59))(7).Replace(".", ","), result)
Dim Wert As Integer = result '.Regen
If Wert >= 1 Then '<> -1 Then
Dim tmpZeit As Date = Zeit
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt auf x-Achse) -> 1 Pixel entspricht 3 min
'-> Pixelentfernung der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 3)
'Dim x As Integer = CInt(((Zeit.AddHours(-6).Hour) * 60 + Zeit.Minute) / 3)
Dim x As Integer = CInt(((Zeit.Hour) * 60 + Zeit.Minute) / 3)
'Mit Windrichtung und Pixel-Radius liegt der Punkt in Polarkoordinaten vor
'-> Transformation in Kartesische Koordinaten und Translation in den Pixel-Ursprung der Grafik pOrigin
Dim y As Integer = Me.PB_Regen.Height
gr.DrawLine(Pens.Red, x, 0, x, y)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1
Next
End If
'Diagramm-Gitternetz
'x-Achse
For i As Integer = 1 To 24
gr.DrawLine(Pens.Black, i * 20, CInt(Me.PB_Regen.Height / 2), i * 20, Me.PB_Regen.Height)
Next
End Sub
Private Sub PB_Temperatur_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_Temperatur.Paint
Dim gr As Graphics = e.Graphics
'Diagramm-Gitternetz
'x-Achse
For i As Integer = 1 To 24
gr.DrawLine(Pens.Gray, i * 20, 0, i * 20, Me.PB_Temperatur.Height)
Next
'y-Achsen-Richtung
Dim tmpIntervall As Integer = CInt(Me.PB_Temperatur.Height / 15)
For i As Integer = 1 To 16
If i = 9 Then
gr.DrawLine(Pens.LightCoral, 0, i * CInt(Me.PB_Temperatur.Height / 16),
Me.PB_Temperatur.Width, i * CInt(Me.PB_Temperatur.Height / 16))
ElseIf Math.IEEERemainder(i, 2) <> 0 Then
gr.DrawLine(Pens.Gray, 0, i * CInt(Me.PB_Temperatur.Height / 16),
Me.PB_Temperatur.Width, i * CInt(Me.PB_Temperatur.Height / 16))
Else
gr.DrawLine(Pens.LightGray, 0, i * CInt(Me.PB_Temperatur.Height / 16),
Me.PB_Temperatur.Width, i * CInt(Me.PB_Temperatur.Height / 16))
End If
Next
'y-Achse: 1° entspr. 6 PX -> 5° entspr. 30 PX
'Temperatur-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS) '.Temperatur
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
Dim result As Integer
Dim parsingSuccesful As Boolean = Double.TryParse(.Split(Chr(59))(1).Replace(".", ","), result)
Dim Wert As Integer = result
'Dim Wert As Single = .Split(Chr(59))(1).Replace(".", ",") '.Temperatur
'.Temperatur.Wert = CSng(tmpZeile(iTemperatur).Replace(".", ","))
If Wert >= -35 And Wert <= 45 Then '<> -1 Then
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt auf x-Achse) -> 1 Pixel entspricht 3 min
'-> Pixelentfernung der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 3)
'Dim x As Integer = CInt(((Zeit.AddHours(-6).Hour) * 60 + Zeit.Minute) / 3)
Dim x As Integer = CInt(((Zeit.Hour) * 60 + Zeit.Minute) / 3)
'Wertebereich geht von -35° bis 45°
Dim y As Integer = Me.PB_Temperatur.Height - CInt((Me.PB_Temperatur.Height * (Wert + 35)) / 80)
gr.FillRectangle(New SolidBrush(Color.Blue), x, y, 1, 1)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1
Next
End If
End Sub
Private Sub PB_Windgeschwindigkeit_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_Windgeschwindigkeit.Paint
Dim gr As Graphics = e.Graphics
'Diagramm-Gitternetz
'x-Achse
For i As Integer = 1 To 24
gr.DrawLine(Pens.Gray, i * 20, 0, i * 20, Me.PB_Windgeschwindigkeit.Height)
Next
'y-Achsen-Richtung
Dim tmpIntervall As Integer = CInt(Me.PB_Windgeschwindigkeit.Height / 11)
For i As Integer = 1 To 12
If Math.IEEERemainder(i, 2) = 0 Then
gr.DrawLine(Pens.Gray, 0, i * CInt(Me.PB_Windgeschwindigkeit.Height / 12),
Me.PB_Windgeschwindigkeit.Width, i * CInt(Me.PB_Windgeschwindigkeit.Height / 12))
Else
gr.DrawLine(Pens.LightGray, 0, i * CInt(Me.PB_Windgeschwindigkeit.Height / 12),
Me.PB_Windgeschwindigkeit.Width, i * CInt(Me.PB_Windgeschwindigkeit.Height / 12))
End If
Next
'Windgeschwindigkeit-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS) '.Windgeschwindigkeit
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
Dim result As Integer
Dim parsingSuccesful As Boolean = Double.TryParse(.Split(Chr(59))(4).Replace(".", ","), result)
Dim Wert As Integer = result * 3.6
'Dim Wert As Single = .Split(Chr(59))(4).Replace(".", ",") * 3.6 '.Windgeschwindigkeit
If Wert >= 0 And Wert <= 120 Then '<> -1 Then
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt auf x-Achse) -> 1 Pixel entspricht 3 min
'-> Pixelentfernung der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 3)
'Dim x As Integer = CInt(((Zeit.AddHours(-6).Hour) * 60 + Zeit.Minute) / 3)
Dim x As Integer = CInt(((Zeit.Hour) * 60 + Zeit.Minute) / 3)
'Wertebereich geht von 0 bis 120 kmh
Dim y As Integer = CInt(Me.PB_Windgeschwindigkeit.Height - (Me.PB_Windgeschwindigkeit.Height * Wert / 120))
gr.FillRectangle(New SolidBrush(Color.Blue), x, y, 1, 1)
'gr.DrawEllipse(Pens.Blue, x, y, 1, 1)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1 '1 wird eh wieder draufgezählt
Next
End If
End Sub
#End Region
#Region "NOSW"
Private Sub Set_NOSW(ByVal rotation As Single)
'bSet_NOSW = True
PB_NOSW.Invalidate()
End Sub
Private Sub PB_NOSW_Paint(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles PB_NOSW.Paint
'150; 150 -> 124
Dim gr As Graphics = e.Graphics
'Zeitkreis zeichnen
Dim sngWdth() As String = CStr(Me.PB_NOSW.Width / 2).Split(",")
'Es sollte eine ungerade Zahl der Breite und Höhe vorliegen, um einen Mittelpunkt in der Grafik zu haben
If sngWdth.Length = 1 Then
Me.PB_NOSW.Width = Me.PB_NOSW.Width + 1
Me.PB_NOSW.Height = Me.PB_NOSW.Width
End If
sngWdth = CStr((Me.PB_NOSW.Width - 1) / 24).Split(",")
Dim iSchritte As Integer = CInt(sngWdth(0))
Dim firstStep As Integer = (Me.PB_NOSW.Width - 1) / 2 - iSchritte * 12
Dim pOrigin As New Point((Me.PB_NOSW.Width - 1) / 2, (Me.PB_NOSW.Width - 1) / 2)
'Windrichtung-Datenpunkte eintragen
If Wetter.Count > 0 Then
'If Not IsNothing(Wetter) Then
For iDS As Integer = 0 To Wetter.Count - 1
If Wetter(iDS) <> "" Then
With Wetter(iDS) '.Windrichtung
Dim Zeit As Date = .Split(Chr(59))(0) '.Zeit
Dim Wert As String = .Split(Chr(59))(5).Replace(".", ",") '.Windrichtung
If Wert <> "N/A" Then '-1 Then
Dim tmpZeit As Date = Zeit
Dim rPX As Integer
'Umrechnung der Zeit in Pixel (vom Ursprung entfernt) -> 1 Pixel entspricht 6 min
'-> Pixelradius der Zeit: CInt(((.Zeit.Hour - 6) * 60 + .Zeit.Minute) / 6)
'rPX = firstStep + CInt(((Zeit.Hour - 6) * 60 + Zeit.Minute) / 6)
rPX = firstStep + CInt((Zeit.Hour * 60 + Zeit.Minute) / 6)
'0° Windrichtung entspricht Norden
'Mit Windrichtung und Pixel-Radius liegt der Punkt in Polarkoordinaten vor
'-> Transformation in Kartesische Koordinaten und Translation in den Pixel-Ursprung der Grafik pOrigin
Dim x As Integer = pOrigin.X + rPX * Math.Sin(Wert * 2 * Math.PI / 360)
Dim y As Integer = pOrigin.Y + rPX * Math.Cos(Wert * 2 * Math.PI / 360)
gr.DrawEllipse(Pens.Red, x, y, 1, 1)
'gr.DrawEllipse(Pens.Red, x - 1, y - 1, 3, 3)
'** Die unten gehen nicht -> nichts zu sehen
'gr.DrawLine(Pens.Red, x, y, x, y)
'gr.FillEllipse(Brushes.Red, x, y, 1, 1)
End If
End With
End If
iDS = iDS + My.Settings.SekWetter - 1 '1 wird eh wieder draufgezählt
Next
End If
'Uhrzeitbeschriftung eintragen
For iStep As Integer = 0 To 12
Dim iUhr As Integer = iStep * 2
If iUhr >= 24 Then iUhr = iUhr - 24
Select Case iStep
Case 6
gr.DrawEllipse(Pens.DarkRed, pOrigin.X - firstStep - iStep * iSchritte - 1, pOrigin.Y - firstStep - iStep * iSchritte - 1, 1 + 2 * (firstStep + iStep * iSchritte), 1 + 2 * (firstStep + iStep * iSchritte))
gr.DrawString(iUhr & ":00", New System.Drawing.Font("Tahoma", 8, FontStyle.Regular), Brushes.DarkRed, pOrigin.X, pOrigin.Y - firstStep - iStep * iSchritte - 1)
Case 3, 9
gr.DrawEllipse(Pens.DarkOrange, pOrigin.X - firstStep - iStep * iSchritte - 1, pOrigin.Y - firstStep - iStep * iSchritte - 1, 1 + 2 * (firstStep + iStep * iSchritte), 1 + 2 * (firstStep + iStep * iSchritte))
gr.DrawString(iUhr & ":00", New System.Drawing.Font("Tahoma", 8, FontStyle.Regular), Brushes.DarkOrange, pOrigin.X, pOrigin.Y - firstStep - iStep * iSchritte - 1)
Case Else
gr.DrawEllipse(Pens.Olive, pOrigin.X - firstStep - iStep * iSchritte - 1, pOrigin.Y - firstStep - iStep * iSchritte - 1, 1 + 2 * (firstStep + iStep * iSchritte), 1 + 2 * (firstStep + iStep * iSchritte))
gr.DrawString(iUhr & ":00", New System.Drawing.Font("Tahoma", 8, FontStyle.Regular), Brushes.Black, pOrigin.X, pOrigin.Y - firstStep - iStep * iSchritte - 1)
End Select
Next
End Sub
#End Region
Private Sub DTP_1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DTP_1.ValueChanged
Aktuallisieren()
End Sub
Private Sub Aktuallisieren()
Dim tmpDate As Date = Me.DTP_1.Value
Me.Cursor = Cursors.WaitCursor
If Set_Wetter(New Date(tmpDate.Year, tmpDate.Month, tmpDate.Day, 0, 0, 0), _
New Date(tmpDate.AddDays(1).Year, tmpDate.AddDays(1).Month, tmpDate.AddDays(1).Day, 0, 0, 0)) = False Then
MsgBox("Es konnten relevante Dateien, nicht geöffnet werden, da sie von einem anderen Prozess verwendet werden. Versuchen Sie es später noch einmal.", MsgBoxStyle.OkOnly, "Zugriffskonflikt")
Wetter.Clear() ' = Nothing
End If
Update_Anzeige()
Me.Cursor = Cursors.Default
End Sub
Private Sub Update_Anzeige()
Dim myThread_NOSW As New Threading.Thread(AddressOf PB_NOSW_Update)
myThread_NOSW.Start()
Dim myThread_Luftdruck As New Threading.Thread(AddressOf PB_Luftdruck_Update)
myThread_Luftdruck.Start()
Dim myThread_Luftfeuchte As New Threading.Thread(AddressOf PB_Luftfeuchte_Update)
myThread_Luftfeuchte.Start()
Dim myThread_Regen As New Threading.Thread(AddressOf PB_Regen_Update)
myThread_Regen.Start()
Dim myThread_Temperatur As New Threading.Thread(AddressOf PB_Temperatur_Update)
myThread_Temperatur.Start()
Dim myThread_Windgeschwindigkeit As New Threading.Thread(AddressOf PB_Windgeschwindigkeit_Update)
myThread_Windgeschwindigkeit.Start()
'Me.PB_NOSW.Invalidate()
'Me.PB_Luftdruck.Invalidate()
'Me.PB_Luftfeuchte.Invalidate()
'Me.PB_Regen.Invalidate()
'Me.PB_Temperatur.Invalidate()
'Me.PB_Windgeschwindigkeit.Invalidate()
End Sub
Private Sub PB_Windgeschwindigkeit_Update(ByVal obj As Object)
Me.PB_Windgeschwindigkeit.Invalidate()
End Sub
Private Sub PB_Temperatur_Update(ByVal obj As Object)
Me.PB_Temperatur.Invalidate()
End Sub
Private Sub PB_Regen_Update(ByVal obj As Object)
Me.PB_Regen.Invalidate()
End Sub
Private Sub PB_Luftfeuchte_Update(ByVal obj As Object)
Me.PB_Luftfeuchte.Invalidate()
End Sub
Private Sub PB_Luftdruck_Update(ByVal obj As Object)
Me.PB_Luftdruck.Invalidate()
End Sub
Private Sub PB_NOSW_Update(ByVal obj As Object)
Me.PB_NOSW.Invalidate()
End Sub
Private Sub Button_Refresh_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button_Refresh.Click
Aktuallisieren()
End Sub
Private Sub PB_Luftdruck_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PB_Luftdruck.Click
End Sub
End Class