Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
Frontend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Klaus Merzbach
Frontend
Commits
e55ff2f0
Commit
e55ff2f0
authored
5 years ago
by
Dennis Eisold
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
Master See merge request
!33
parents
748a5b48
7fdf8652
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Wetterstation/Form1.Designer.cs
+220
-207
220 additions, 207 deletions
Wetterstation/Form1.Designer.cs
Wetterstation/Form1.cs
+9
-8
9 additions, 8 deletions
Wetterstation/Form1.cs
with
229 additions
and
215 deletions
Wetterstation/Form1.Designer.cs
+
220
−
207
View file @
e55ff2f0
This diff is collapsed.
Click to expand it.
Wetterstation/Form1.cs
+
9
−
8
View file @
e55ff2f0
...
@@ -70,28 +70,28 @@ namespace Wetterstation
...
@@ -70,28 +70,28 @@ namespace Wetterstation
cartesianChart1
.
AxisY
.
Add
(
new
Axis
cartesianChart1
.
AxisY
.
Add
(
new
Axis
{
{
LabelFormatter
=
val
=>
val
+
"°C"
,
LabelFormatter
=
val
=>
val
+
"
°C"
,
IsEnabled
=
false
,
IsEnabled
=
false
,
Position
=
AxisPosition
.
LeftBottom
Position
=
AxisPosition
.
LeftBottom
});
});
cartesianChart1
.
AxisY
.
Add
(
new
Axis
cartesianChart1
.
AxisY
.
Add
(
new
Axis
{
{
LabelFormatter
=
val
=>
val
+
"%"
,
LabelFormatter
=
val
=>
val
+
"
%"
,
IsEnabled
=
false
,
IsEnabled
=
false
,
Position
=
AxisPosition
.
LeftBottom
Position
=
AxisPosition
.
LeftBottom
});
});
cartesianChart1
.
AxisY
.
Add
(
new
Axis
cartesianChart1
.
AxisY
.
Add
(
new
Axis
{
{
LabelFormatter
=
val
=>
val
+
"hPa"
,
LabelFormatter
=
val
=>
val
+
"
hPa"
,
IsEnabled
=
true
,
IsEnabled
=
true
,
Position
=
AxisPosition
.
RightTop
Position
=
AxisPosition
.
RightTop
});
});
cartesianChart1
.
AxisY
.
Add
(
new
Axis
cartesianChart1
.
AxisY
.
Add
(
new
Axis
{
{
LabelFormatter
=
val
=>
val
+
"ms"
,
LabelFormatter
=
val
=>
val
+
"
ms"
,
IsEnabled
=
false
,
IsEnabled
=
false
,
Position
=
AxisPosition
.
LeftBottom
Position
=
AxisPosition
.
LeftBottom
});
});
...
@@ -242,10 +242,11 @@ namespace Wetterstation
...
@@ -242,10 +242,11 @@ namespace Wetterstation
lbWindSpeed
.
Invoke
(
new
Action
(()
=>
{
lbWindSpeed
.
Text
=
weatherData
.
windSpeed
+
" ms"
;
}));
lbWindSpeed
.
Invoke
(
new
Action
(()
=>
{
lbWindSpeed
.
Text
=
weatherData
.
windSpeed
+
" ms"
;
}));
lbWindricht
.
Invoke
(
new
Action
(()
=>
{
lbWindricht
.
Text
=
weatherData
.
windDeg
+
" °"
;
}));
lbWindricht
.
Invoke
(
new
Action
(()
=>
{
lbWindricht
.
Text
=
weatherData
.
windDeg
+
" °"
;
}));
lbLuftdruck
.
Invoke
(
new
Action
(()
=>
{
lbLuftdruck
.
Text
=
weatherData
.
pressure
+
" mbar"
;
}));
lbLuftdruck
.
Invoke
(
new
Action
(()
=>
{
lbLuftdruck
.
Text
=
weatherData
.
pressure
+
" mbar"
;
}));
pbKompassrose
.
Invoke
(
new
Action
(()
=>
{
pbKompassrose
.
Invoke
(
new
Action
(()
=>
{
pbKompassrose
.
Image
=
RotateImage
((
Bitmap
)
global
::
Wetterstation
.
Properties
.
Resources
.
ResourceManager
.
GetObject
(
"WindRose_neu"
),
(
int
)
weatherData
.
windDeg
);
}));
pbKompassrose
.
Image
=
RotateImage
((
Bitmap
)
global
::
Wetterstation
.
Properties
.
Resources
.
ResourceManager
.
GetObject
(
"WindRose_neu"
),
(
int
)
weatherData
.
windDeg
);
lbRain1h
.
Invoke
(
new
Action
(()
=>
{
lbRain1h
.
Text
=
weatherData
.
rain1h
+
" L/h"
;
}));
}));
lbRain3h
.
Invoke
(
new
Action
(()
=>
{
lbRain3h
.
Text
=
weatherData
.
rain3h
+
" L/h"
;
}));
lbSnow1h
.
Invoke
(
new
Action
(()
=>
{
lbSnow1h
.
Text
=
weatherData
.
snow1h
+
" mm/h"
;
}));
lbSnow3h
.
Invoke
(
new
Action
(()
=>
{
lbSnow3h
.
Text
=
weatherData
.
snow3h
+
" mm/h"
;
}));
}
}
catch
(
Exception
ignored
)
{
}
catch
(
Exception
ignored
)
{
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment