diff --git a/Wetterstation/Form1.Designer.cs b/Wetterstation/Form1.Designer.cs index ffeb52e540f5ff425be3505112ea4e96f33f7285..d69496a88ff29a8874dd947a4058a62b5b941ba7 100644 --- a/Wetterstation/Form1.Designer.cs +++ b/Wetterstation/Form1.Designer.cs @@ -41,7 +41,7 @@ namespace Wetterstation this.lbTextWindSpeed = new System.Windows.Forms.Label(); this.lbTextLuftfeuchtInnen = new System.Windows.Forms.Label(); this.Windrichtung = new System.Windows.Forms.Label(); - this.pictureBox1 = new System.Windows.Forms.PictureBox(); + this.pbKompassrose = new System.Windows.Forms.PictureBox(); this.lbInnenTemp = new System.Windows.Forms.Label(); this.lbAussenTemp = new System.Windows.Forms.Label(); this.lbWindSpeed = new System.Windows.Forms.Label(); @@ -69,8 +69,8 @@ namespace Wetterstation this.btSystemKnopf = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); + this.lbInnen = new System.Windows.Forms.Label(); + this.lbAussen = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.lbTempMax = new System.Windows.Forms.Label(); this.lbTempMin = new System.Windows.Forms.Label(); @@ -81,12 +81,26 @@ namespace Wetterstation this.lbForecastTemp4 = new System.Windows.Forms.Label(); this.lbForecastTemp5 = new System.Windows.Forms.Label(); this.cartesianChart1 = new LiveCharts.WinForms.CartesianChart(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); + this.lbRegenmenge = new System.Windows.Forms.Label(); + this.lbSchneemenge = new System.Windows.Forms.Label(); + this.lb1hR = new System.Windows.Forms.Label(); + this.lb3hR = new System.Windows.Forms.Label(); + this.lbRain1h = new System.Windows.Forms.Label(); + this.lbRain3h = new System.Windows.Forms.Label(); + this.lbSnow3h = new System.Windows.Forms.Label(); + this.lbSnow1h = new System.Windows.Forms.Label(); + this.lb3hS = new System.Windows.Forms.Label(); + this.lb1hS = new System.Windows.Forms.Label(); + this.pbTendenzInnen = new System.Windows.Forms.PictureBox(); + this.pictureBox2 = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.pbKompassrose)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbTendenzInnen)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.SuspendLayout(); // // lbTextInnentemp @@ -154,42 +168,42 @@ namespace Wetterstation this.Windrichtung.TabIndex = 4; this.Windrichtung.Text = "Windrichtung"; // - // pictureBox1 + // pbKompassrose // - this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.None; - this.pictureBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(55)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); - this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; - this.pictureBox1.Image = global::Wetterstation.Properties.Resources.WindRose_neu; - this.pictureBox1.Location = new System.Drawing.Point(1160, 59); - this.pictureBox1.Margin = new System.Windows.Forms.Padding(4); - this.pictureBox1.Name = "pictureBox1"; - this.pictureBox1.Size = new System.Drawing.Size(120, 120); - this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; - this.pictureBox1.TabIndex = 10; - this.pictureBox1.TabStop = false; + this.pbKompassrose.Anchor = System.Windows.Forms.AnchorStyles.None; + this.pbKompassrose.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(88)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.pbKompassrose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.pbKompassrose.Image = global::Wetterstation.Properties.Resources.WindRose_neu; + this.pbKompassrose.Location = new System.Drawing.Point(1160, 64); + this.pbKompassrose.Margin = new System.Windows.Forms.Padding(4, 0, 4, 4); + this.pbKompassrose.Name = "pbKompassrose"; + this.pbKompassrose.Size = new System.Drawing.Size(120, 121); + this.pbKompassrose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbKompassrose.TabIndex = 10; + this.pbKompassrose.TabStop = false; // // lbInnenTemp // + this.lbInnenTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lbInnenTemp.AutoSize = true; this.lbInnenTemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); this.lbInnenTemp.Font = new System.Drawing.Font("Arial", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbInnenTemp.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.lbInnenTemp.Location = new System.Drawing.Point(165, 53); + this.lbInnenTemp.Location = new System.Drawing.Point(181, 54); this.lbInnenTemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbInnenTemp.Name = "lbInnenTemp"; this.lbInnenTemp.Size = new System.Drawing.Size(262, 93); this.lbInnenTemp.TabIndex = 13; - this.lbInnenTemp.Text = "NA C°"; - this.lbInnenTemp.Click += new System.EventHandler(this.LbInnenTemp_Click); + this.lbInnenTemp.Text = "NA °C"; // // lbAussenTemp // - this.lbAussenTemp.Anchor = System.Windows.Forms.AnchorStyles.None; + this.lbAussenTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lbAussenTemp.AutoSize = true; this.lbAussenTemp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); this.lbAussenTemp.Font = new System.Drawing.Font("Arial", 48F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbAussenTemp.ForeColor = System.Drawing.Color.White; - this.lbAussenTemp.Location = new System.Drawing.Point(165, 182); + this.lbAussenTemp.Location = new System.Drawing.Point(181, 182); this.lbAussenTemp.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbAussenTemp.Name = "lbAussenTemp"; this.lbAussenTemp.Size = new System.Drawing.Size(262, 93); @@ -229,7 +243,7 @@ namespace Wetterstation this.lbWindricht.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); this.lbWindricht.Font = new System.Drawing.Font("Arial", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbWindricht.ForeColor = System.Drawing.SystemColors.ButtonFace; - this.lbWindricht.Location = new System.Drawing.Point(1195, 186); + this.lbWindricht.Location = new System.Drawing.Point(1184, 186); this.lbWindricht.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbWindricht.Name = "lbWindricht"; this.lbWindricht.Size = new System.Drawing.Size(54, 32); @@ -268,7 +282,7 @@ namespace Wetterstation this.lbTextTendenz.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(99)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); this.lbTextTendenz.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbTextTendenz.ForeColor = System.Drawing.SystemColors.ButtonHighlight; - this.lbTextTendenz.Location = new System.Drawing.Point(48, 32); + this.lbTextTendenz.Location = new System.Drawing.Point(53, 33); this.lbTextTendenz.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lbTextTendenz.Name = "lbTextTendenz"; this.lbTextTendenz.Size = new System.Drawing.Size(80, 20); @@ -450,7 +464,6 @@ namespace Wetterstation this.lbHintergrund.Name = "lbHintergrund"; this.lbHintergrund.Size = new System.Drawing.Size(1312, 436); this.lbHintergrund.TabIndex = 42; - this.lbHintergrund.Click += new System.EventHandler(this.LbHintergrund_Click); // // lbCity // @@ -517,31 +530,31 @@ namespace Wetterstation this.label2.TabIndex = 48; this.label2.Text = "min."; // - // label4 - // - this.label4.AutoSize = true; - this.label4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); - this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label4.ForeColor = System.Drawing.SystemColors.ButtonFace; - this.label4.Location = new System.Drawing.Point(701, 334); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(48, 17); - this.label4.TabIndex = 49; - this.label4.Text = "Innen"; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); - this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.label3.ForeColor = System.Drawing.SystemColors.ButtonFace; - this.label3.Location = new System.Drawing.Point(777, 334); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(61, 17); - this.label3.TabIndex = 50; - this.label3.Text = "Aussen"; + // lbInnen + // + this.lbInnen.AutoSize = true; + this.lbInnen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbInnen.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbInnen.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbInnen.Location = new System.Drawing.Point(701, 334); + this.lbInnen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbInnen.Name = "lbInnen"; + this.lbInnen.Size = new System.Drawing.Size(48, 17); + this.lbInnen.TabIndex = 49; + this.lbInnen.Text = "Innen"; + // + // lbAussen + // + this.lbAussen.AutoSize = true; + this.lbAussen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbAussen.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbAussen.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbAussen.Location = new System.Drawing.Point(777, 334); + this.lbAussen.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbAussen.Name = "lbAussen"; + this.lbAussen.Size = new System.Drawing.Size(61, 17); + this.lbAussen.TabIndex = 50; + this.lbAussen.Text = "Aussen"; // // label5 // @@ -663,7 +676,160 @@ namespace Wetterstation this.cartesianChart1.Size = new System.Drawing.Size(1309, 310); this.cartesianChart1.TabIndex = 60; this.cartesianChart1.Text = "cartesianChart1"; - this.cartesianChart1.ChildChanged += new System.EventHandler<System.Windows.Forms.Integration.ChildChangedEventArgs>(this.CartesianChart1_ChildChanged); + // + // lbRegenmenge + // + this.lbRegenmenge.AutoSize = true; + this.lbRegenmenge.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbRegenmenge.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbRegenmenge.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbRegenmenge.Location = new System.Drawing.Point(897, 334); + this.lbRegenmenge.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbRegenmenge.Name = "lbRegenmenge"; + this.lbRegenmenge.Size = new System.Drawing.Size(103, 17); + this.lbRegenmenge.TabIndex = 61; + this.lbRegenmenge.Text = "Regenmenge"; + // + // lbSchneemenge + // + this.lbSchneemenge.AutoSize = true; + this.lbSchneemenge.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbSchneemenge.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbSchneemenge.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbSchneemenge.Location = new System.Drawing.Point(1068, 334); + this.lbSchneemenge.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbSchneemenge.Name = "lbSchneemenge"; + this.lbSchneemenge.Size = new System.Drawing.Size(110, 17); + this.lbSchneemenge.TabIndex = 62; + this.lbSchneemenge.Text = "Schneemenge"; + // + // lb1hR + // + this.lb1hR.AutoSize = true; + this.lb1hR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lb1hR.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lb1hR.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lb1hR.Location = new System.Drawing.Point(897, 358); + this.lb1hR.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lb1hR.Name = "lb1hR"; + this.lb1hR.Size = new System.Drawing.Size(26, 17); + this.lb1hR.TabIndex = 63; + this.lb1hR.Text = "1h"; + // + // lb3hR + // + this.lb3hR.AutoSize = true; + this.lb3hR.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lb3hR.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lb3hR.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lb3hR.Location = new System.Drawing.Point(900, 385); + this.lb3hR.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lb3hR.Name = "lb3hR"; + this.lb3hR.Size = new System.Drawing.Size(26, 17); + this.lb3hR.TabIndex = 64; + this.lb3hR.Text = "3h"; + // + // lbRain1h + // + this.lbRain1h.AutoSize = true; + this.lbRain1h.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbRain1h.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbRain1h.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbRain1h.Location = new System.Drawing.Point(939, 358); + this.lbRain1h.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbRain1h.Name = "lbRain1h"; + this.lbRain1h.Size = new System.Drawing.Size(52, 17); + this.lbRain1h.TabIndex = 65; + this.lbRain1h.Text = "NA l/h"; + // + // lbRain3h + // + this.lbRain3h.AutoSize = true; + this.lbRain3h.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbRain3h.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbRain3h.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbRain3h.Location = new System.Drawing.Point(939, 385); + this.lbRain3h.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbRain3h.Name = "lbRain3h"; + this.lbRain3h.Size = new System.Drawing.Size(52, 17); + this.lbRain3h.TabIndex = 66; + this.lbRain3h.Text = "NA l/h"; + // + // lbSnow3h + // + this.lbSnow3h.AutoSize = true; + this.lbSnow3h.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbSnow3h.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbSnow3h.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbSnow3h.Location = new System.Drawing.Point(1109, 385); + this.lbSnow3h.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbSnow3h.Name = "lbSnow3h"; + this.lbSnow3h.Size = new System.Drawing.Size(68, 17); + this.lbSnow3h.TabIndex = 70; + this.lbSnow3h.Text = "NA cm/h"; + // + // lbSnow1h + // + this.lbSnow1h.AutoSize = true; + this.lbSnow1h.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lbSnow1h.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbSnow1h.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lbSnow1h.Location = new System.Drawing.Point(1109, 358); + this.lbSnow1h.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbSnow1h.Name = "lbSnow1h"; + this.lbSnow1h.Size = new System.Drawing.Size(68, 17); + this.lbSnow1h.TabIndex = 69; + this.lbSnow1h.Text = "NA cm/h"; + // + // lb3hS + // + this.lb3hS.AutoSize = true; + this.lb3hS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lb3hS.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lb3hS.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lb3hS.Location = new System.Drawing.Point(1071, 385); + this.lb3hS.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lb3hS.Name = "lb3hS"; + this.lb3hS.Size = new System.Drawing.Size(26, 17); + this.lb3hS.TabIndex = 68; + this.lb3hS.Text = "3h"; + // + // lb1hS + // + this.lb1hS.AutoSize = true; + this.lb1hS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.lb1hS.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lb1hS.ForeColor = System.Drawing.SystemColors.ButtonFace; + this.lb1hS.Location = new System.Drawing.Point(1068, 358); + this.lb1hS.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lb1hS.Name = "lb1hS"; + this.lb1hS.Size = new System.Drawing.Size(26, 17); + this.lb1hS.TabIndex = 67; + this.lb1hS.Text = "1h"; + // + // pbTendenzInnen + // + this.pbTendenzInnen.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.pbTendenzInnen.Image = global::Wetterstation.Properties.Resources.pfeil_unten; + this.pbTendenzInnen.Location = new System.Drawing.Point(1012, 123); + this.pbTendenzInnen.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.pbTendenzInnen.Name = "pbTendenzInnen"; + this.pbTendenzInnen.Size = new System.Drawing.Size(27, 62); + this.pbTendenzInnen.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pbTendenzInnen.TabIndex = 71; + this.pbTendenzInnen.TabStop = false; + // + // pictureBox2 + // + this.pictureBox2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(90)))), ((int)(((byte)(10)))), ((int)(((byte)(80)))), ((int)(((byte)(147))))); + this.pictureBox2.Image = global::Wetterstation.Properties.Resources.pfeil_unten; + this.pictureBox2.Location = new System.Drawing.Point(1213, 63); + this.pictureBox2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.pictureBox2.Name = "pictureBox2"; + this.pictureBox2.Size = new System.Drawing.Size(13, 15); + this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.pictureBox2.TabIndex = 74; + this.pictureBox2.TabStop = false; // // Hintergrund // @@ -672,7 +838,19 @@ namespace Wetterstation this.BackgroundImage = global::Wetterstation.Properties.Resources.saturn; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(1344, 897); - this.Controls.Add(this.pictureBox1); + this.Controls.Add(this.pictureBox2); + this.Controls.Add(this.pbTendenzInnen); + this.Controls.Add(this.lbSnow3h); + this.Controls.Add(this.lbSnow1h); + this.Controls.Add(this.lb3hS); + this.Controls.Add(this.lb1hS); + this.Controls.Add(this.lbRain3h); + this.Controls.Add(this.lbRain1h); + this.Controls.Add(this.lb3hR); + this.Controls.Add(this.lb1hR); + this.Controls.Add(this.lbSchneemenge); + this.Controls.Add(this.lbRegenmenge); + this.Controls.Add(this.pbKompassrose); this.Controls.Add(this.cartesianChart1); this.Controls.Add(this.lbForecastTemp5); this.Controls.Add(this.lbForecastTemp4); @@ -683,8 +861,8 @@ namespace Wetterstation this.Controls.Add(this.label8); this.Controls.Add(this.lbTempMax); this.Controls.Add(this.label5); - this.Controls.Add(this.label3); - this.Controls.Add(this.label4); + this.Controls.Add(this.lbAussen); + this.Controls.Add(this.lbInnen); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.btSystemKnopf); @@ -722,13 +900,14 @@ namespace Wetterstation this.Name = "Hintergrund"; this.Text = "Wetterstation"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.Hintergrund_FormClosed); - this.Load += new System.EventHandler(this.Hintergrund_Load); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbKompassrose)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lbForecastImage1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbTendenzInnen)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -741,7 +920,7 @@ namespace Wetterstation private System.Windows.Forms.Label lbTextWindSpeed; private System.Windows.Forms.Label lbTextLuftfeuchtInnen; private System.Windows.Forms.Label Windrichtung; - private System.Windows.Forms.PictureBox pictureBox1; + private System.Windows.Forms.PictureBox pbKompassrose; private System.Windows.Forms.Label lbInnenTemp; private System.Windows.Forms.Label lbAussenTemp; private System.Windows.Forms.Label lbWindSpeed; @@ -769,8 +948,8 @@ namespace Wetterstation private Button btSystemKnopf; private Label label1; private Label label2; - private Label label4; - private Label label3; + private Label lbInnen; + private Label lbAussen; private Label label5; private Label lbTempMin; private Label label8; @@ -781,6 +960,18 @@ namespace Wetterstation private Label lbForecastTemp4; private Label lbForecastTemp5; private LiveCharts.WinForms.CartesianChart cartesianChart1; + private Label lbRegenmenge; + private Label lbSchneemenge; + private Label lb1hR; + private Label lb3hR; + private Label lbRain1h; + private Label lbRain3h; + private Label lbSnow3h; + private Label lbSnow1h; + private Label lb3hS; + private Label lb1hS; + private PictureBox pbTendenzInnen; + private PictureBox pictureBox2; } } diff --git a/Wetterstation/Form1.cs b/Wetterstation/Form1.cs index 8c93f310591b1b8488ef243fcb88d699fd0bf500..5c493aa6b2741f315a8b512fcbedd94b4314e825 100644 --- a/Wetterstation/Form1.cs +++ b/Wetterstation/Form1.cs @@ -14,23 +14,11 @@ namespace Wetterstation { public partial class Hintergrund : Form { - public struct MassueredValue - { - public DateTime dtTimestamp; - public double dValue; - }; - - MassueredValue temperatureValue; - MassueredValue humidityValue; - MassueredValue pressureValue; - - //Variable fuer den Debugmodues private bool debug = false; - private MqttClient myClient; SettingsModel WeatherstationSettings = new SettingsModel(); - + String graphLastTimestamp = null; public Hintergrund() { InitializeComponent(); @@ -46,31 +34,74 @@ namespace Wetterstation mqttStart(); updateChart(); } - private void updateChart() { cartesianChart1.Series = new SeriesCollection { new LineSeries { - Title = "Temperature", - Values = new ChartValues<double> {4, 4, 4, 4, 4}, + Title = "Temperatur", + Values = new ChartValues<double> {}, + ScalesYAt = 0, + PointGeometry = null + }, + new LineSeries + { + Title = "Luftfeuchtigkeit", + Values = new ChartValues<int> {}, + ScalesYAt = 1, PointGeometry = null }, new LineSeries { - Title = "Humidity", - Values = new ChartValues<double> {6, 7, 3, 4, 6}, + Title = "Luftdruck", + Values = new ChartValues<int> {}, + ScalesYAt = 2, PointGeometry = null }, new LineSeries { - Title = "Pressure", - Values = new ChartValues<double> {5, 2, 8, 3}, + Title = "Wind Geschwindigkeit", + Values = new ChartValues<double> {}, + ScalesYAt = 3, PointGeometry = null } }; + cartesianChart1.AxisY.Add(new Axis + { + LabelFormatter = val => val + " °C", + IsEnabled = false, + Position = AxisPosition.LeftBottom + }); + + cartesianChart1.AxisY.Add(new Axis + { + LabelFormatter = val => val + " %", + IsEnabled = false, + Position = AxisPosition.LeftBottom + }); + + cartesianChart1.AxisY.Add(new Axis + { + LabelFormatter = val => val + " hPa", + IsEnabled = true, + Position = AxisPosition.RightTop + }); + + cartesianChart1.AxisY.Add(new Axis + { + LabelFormatter = val => val + " ms", + IsEnabled = false, + Position = AxisPosition.LeftBottom + }); + + cartesianChart1.AxisX.Add(new Axis + { + Title = "Uhrzeit", + Labels = new[] { "" } + }); + cartesianChart1.LegendLocation = LegendLocation.Right; //modifying the series collection will animate and update the chart @@ -81,56 +112,12 @@ namespace Wetterstation //}); //modifying any series values will also animate and update the chart - cartesianChart1.Series[2].Values.Add(5d); } - private void t_DateTime(object sender, EventArgs e) { lbUhr.Text = DateTime.Now.ToLongTimeString(); lbDatum.Text = DateTime.Now.ToShortDateString(); } - - private void LED_Click(object sender, EventArgs e) - { - - System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); - System.Drawing.Graphics formGraphics; - formGraphics = this.CreateGraphics(); - formGraphics.FillEllipse(myBrush, new Rectangle(818, 238, 12, 12)); - myBrush.Dispose(); - formGraphics.Dispose(); - } - - private void Label1_Click(object sender, EventArgs e) - { - System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); - System.Drawing.Graphics formGraphics; - formGraphics = this.CreateGraphics(); - formGraphics.FillEllipse(myBrush, new Rectangle(872, 290, 12, 12)); - myBrush.Dispose(); - formGraphics.Dispose(); - } - - private void LED_S_Click(object sender, EventArgs e) - { - System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); - System.Drawing.Graphics formGraphics; - formGraphics = this.CreateGraphics(); - formGraphics.FillEllipse(myBrush, new Rectangle(818,350, 12, 12)); - myBrush.Dispose(); - formGraphics.Dispose(); - } - - private void LED_W_Click(object sender, EventArgs e) - { - System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); - System.Drawing.Graphics formGraphics; - formGraphics = this.CreateGraphics(); - formGraphics.FillEllipse(myBrush, new Rectangle(764, 290, 12, 12)); - myBrush.Dispose(); - formGraphics.Dispose(); - } - //MQTT connect public void mqttStart() { @@ -152,7 +139,6 @@ namespace Wetterstation this.myClient.Publish(topic_publish, Encoding.UTF8.GetBytes("Request_frontend")); } - public void msgPublish(String topic, String message) { Console.Write("Sending via MQTT: "); @@ -160,7 +146,6 @@ namespace Wetterstation Console.WriteLine("Message: " + message); this.myClient.Publish(topic, Encoding.UTF8.GetBytes(message)); } - private void client_recievedMessage(object sender, MqttMsgPublishEventArgs e) { // Handle message received @@ -188,62 +173,61 @@ namespace Wetterstation } } - public void updateFormChart(String message) { + double temp; + int humidity; + int pressure; + double windSpeed; dynamic weatherData = JsonConvert.DeserializeObject(message.ToString()); - Console.WriteLine("---- bin in update Graph -----"); - //Console.WriteLine(message); - - //Console.WriteLine("---- und das steht in weatherData -----"); - //Console.WriteLine(weatherData); - - /* - Console.WriteLine("---- und das steht in results[0][series][0][columns] -----"); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"columns\"][0] = > " + weatherData["results"][0]["series"][0]["columns"][0]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"columns\"][1] = > " + weatherData["results"][0]["series"][0]["columns"][1]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"columns\"][2] = > " + weatherData["results"][0]["series"][0]["columns"][2]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"columns\"][3] = > " + weatherData["results"][0]["series"][0]["columns"][3]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"columns\"][4] = > " + weatherData["results"][0]["series"][0]["columns"][4]); - Console.WriteLine(); - - - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][1][0] => " + weatherData["results"][0]["series"][0]["values"][1][0]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][65][0] => " + weatherData["results"][0]["series"][0]["values"][85][0]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][65][1] => " + weatherData["results"][0]["series"][0]["values"][65][1]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][65][2] => " + weatherData["results"][0]["series"][0]["values"][65][2]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][65][3] => " + weatherData["results"][0]["series"][0]["values"][65][3]); - Console.WriteLine("weatherData[\"results\"][0][\"series\"][0][\"values\"][65][4] => " + weatherData["results"][0]["series"][0]["values"][65][4]); - */ - - - //Console.WriteLine(weatherData["results"][0]["series"][0]["values"][85][2]); - //temperatureValue.dtTimestamp = weatherData["results"][0]["series"][0]["values"][1][0]; - //temperatureValue.dValue = weatherData["results"][0]["series"][0]["values"][85][2]; - - - - //Console.WriteLine("Datum: " + temperatureValue.dtTimestamp + " hat Wert: " + temperatureValue.dValue); - - //Laufvariablen fuer For-Schleife - - //while((weatherData["results"][0]["series"][0]["columns"][0])) - //{ - // Console.WriteLine("4 erwaretet: " + i); - // i++; - //} - - - //foreach() - //Console.WriteLine(weatherData["results"]["columns"]["values"]); - - /* - for(weatherData.) + if (graphLastTimestamp == null) { - + int i = 0; + foreach (var result in weatherData["results"][0]["series"][0]["values"]) + { + if (result[2] == null) temp = 0; + else temp = result[1]; + if (result[1] == null) humidity = 0; + else humidity = result[2]; + if (result[3] == null) pressure = 0; + else pressure = result[3]; + if (result[4] == null) windSpeed = 0; + else windSpeed = result[4]; + + cartesianChart1.Series[0].Values.Add(Math.Round(temp, 1)); + cartesianChart1.Series[1].Values.Add(humidity); + cartesianChart1.Series[2].Values.Add(pressure); + cartesianChart1.Series[3].Values.Add(Math.Round(windSpeed, 1)); + } + graphLastTimestamp = weatherData["results"][0]["series"][0]["values"][96][0].ToString(); + } + else + { + if (graphLastTimestamp != weatherData["results"][0]["series"][0]["values"][96][0].ToString()) + { + cartesianChart1.Series[0].Values.RemoveAt(0); + cartesianChart1.Series[1].Values.RemoveAt(0); + cartesianChart1.Series[2].Values.RemoveAt(0); + cartesianChart1.Series[3].Values.RemoveAt(0); + + if (weatherData["results"][0]["series"][0]["values"][96][2] == null) temp = 0; + else temp = weatherData["results"][0]["series"][0]["values"][96][1]; + if (weatherData["results"][0]["series"][0]["values"][96][1] == null) humidity = 0; + else humidity = weatherData["results"][0]["series"][0]["values"][96][2]; + if (weatherData["results"][0]["series"][0]["values"][96][3] == null) pressure = 0; + else pressure = weatherData["results"][0]["series"][0]["values"][96][3]; + if (weatherData["results"][0]["series"][0]["values"][96][4] == null) windSpeed = 0; + else windSpeed = weatherData["results"][0]["series"][0]["values"][96][4]; + + cartesianChart1.Series[0].Values.Add(Math.Round(temp, 1)); + cartesianChart1.Series[1].Values.Add(humidity); + cartesianChart1.Series[2].Values.Add(pressure); + cartesianChart1.Series[3].Values.Add(Math.Round(windSpeed, 1)); + + graphLastTimestamp = weatherData["results"][0]["series"][0]["values"][96][0].ToString(); + } } - */ } // momentan noch von openweathermap @@ -259,11 +243,12 @@ namespace Wetterstation lbLuftfeuchtAussen.Invoke(new Action(() => { lbLuftfeuchtAussen.Text = weatherData.humidity + " %"; })); lbWindSpeed.Invoke(new Action(() => { lbWindSpeed.Text = weatherData.windSpeed + " ms"; })); lbWindricht.Invoke(new Action(() => { lbWindricht.Text = weatherData.windDeg + " °"; })); - //lbLuftdruck.Invoke(new Action(() => { lbLuftdruck.Text = weatherData.pressure + " mbar"; })); //kommt jetzt von den internen Sensoren BME280 - pictureBox1.Invoke(new Action(() => { - pictureBox1.Image = RotateImage((Bitmap)global::Wetterstation.Properties.Resources.ResourceManager.GetObject("WindRose_neu"), (int)weatherData.windDeg); - })); - + lbLuftdruck.Invoke(new Action(() => { lbLuftdruck.Text = weatherData.pressure + " mbar"; })); + pbKompassrose.Invoke(new Action(() => { 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) { } } @@ -282,8 +267,6 @@ namespace Wetterstation } return rotatedImage; } - - public void updateFormForecast(String message) { Console.WriteLine("Entered updateFormForecast"); @@ -312,14 +295,12 @@ namespace Wetterstation } catch (Exception ignored) { } } - public String getDayFromDateString(String strDate) { DateTime dt = DateTime.ParseExact(strDate, "yyyy-MM-dd HH:mm:ss", CultureInfo.InvariantCulture); CultureInfo culture = new CultureInfo("de-DE"); return culture.DateTimeFormat.GetDayName(dt.DayOfWeek).Substring(0, 2).ToString(); } - public void updateFormSensors(String message) { Console.WriteLine("Entered updateFormSensors"); @@ -355,19 +336,16 @@ namespace Wetterstation } - public void updateFormComplete() { WeatherstationSettings = SqliteDataAccess.LoadWeatherstationSettings(); lbCity.Text = WeatherstationSettings.city; } - public void updateSettings2Mqtt() { Console.WriteLine(JsonConvert.SerializeObject(WeatherstationSettings).ToString()); this.msgPublish(WeatherstationSettings.mqtt_topic_backend + "settings", JsonConvert.SerializeObject(WeatherstationSettings).ToString()); } - private void BtSystemKnopf_Click(object sender, EventArgs e) { Form settings = new Settings(); @@ -380,36 +358,10 @@ namespace Wetterstation // Neue Einstellungen an Backend senden this.updateSettings2Mqtt(); } - - private void Hintergrund_Load(object sender, EventArgs e) - { - - } - private void Hintergrund_FormClosed(object sender, FormClosedEventArgs e) { this.myClient.Disconnect(); Application.Exit(); } - - private void CartesianChart1_ChildChanged(object sender, System.Windows.Forms.Integration.ChildChangedEventArgs e) - { - - } - - private void LbHintergrund_Click(object sender, EventArgs e) - { - - } - - private void LbInnenTemp_Click(object sender, EventArgs e) - { - - } - - private void LbLuftFeuchtInnen_Click(object sender, EventArgs e) - { - - } } } diff --git a/Wetterstation/Properties/Resources.Designer.cs b/Wetterstation/Properties/Resources.Designer.cs index 3ad2441884254f262b224bada7569448a2c5a630..15ec5860ccc885ee7461f1eedace49a6fccfc7b5 100644 --- a/Wetterstation/Properties/Resources.Designer.cs +++ b/Wetterstation/Properties/Resources.Designer.cs @@ -270,6 +270,36 @@ namespace Wetterstation.Properties { } } + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap pfeil_oben { + get { + object obj = ResourceManager.GetObject("pfeil_oben", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap pfeil_quer { + get { + object obj = ResourceManager.GetObject("pfeil_quer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// <summary> + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// </summary> + internal static System.Drawing.Bitmap pfeil_unten { + get { + object obj = ResourceManager.GetObject("pfeil_unten", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// <summary> /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. /// </summary> diff --git a/Wetterstation/Properties/Resources.resx b/Wetterstation/Properties/Resources.resx index 9ebb11d75095b649991611f7ac7ab4aef621c077..47c29db6357e1bfe6e5275c4ce6a1104b90a5609 100644 --- a/Wetterstation/Properties/Resources.resx +++ b/Wetterstation/Properties/Resources.resx @@ -127,6 +127,9 @@ <data name="Strand" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\Strand.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="pfeil_oben" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\pfeil_oben.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> <data name="_50n_2x" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\50n@2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> @@ -199,10 +202,16 @@ <data name="_13n_2x" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\13n@2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="WindRose_neu" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WindRose_neu2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> <data name="_04d_2x" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\04d@2x.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> - <data name="WindRose_neu" type="System.Resources.ResXFileRef, System.Windows.Forms"> - <value>..\Resources\WindRose_neu2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + <data name="pfeil_unten" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\pfeil_unten.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> + </data> + <data name="pfeil_quer" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\pfeil_quer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> </root> \ No newline at end of file diff --git a/Wetterstation/Resources/pfeil_oben.png b/Wetterstation/Resources/pfeil_oben.png new file mode 100644 index 0000000000000000000000000000000000000000..b76cf54a84639240bfafed24512c7422c9d16bcc Binary files /dev/null and b/Wetterstation/Resources/pfeil_oben.png differ diff --git a/Wetterstation/Resources/pfeil_quer.png b/Wetterstation/Resources/pfeil_quer.png new file mode 100644 index 0000000000000000000000000000000000000000..31005f7d894f5c1289e0629b23723267d377ffad Binary files /dev/null and b/Wetterstation/Resources/pfeil_quer.png differ diff --git a/Wetterstation/Resources/pfeil_quer.xcf b/Wetterstation/Resources/pfeil_quer.xcf new file mode 100644 index 0000000000000000000000000000000000000000..c110367677b4ce755c96a4ad19ef20b173cc525d Binary files /dev/null and b/Wetterstation/Resources/pfeil_quer.xcf differ diff --git a/Wetterstation/Resources/pfeil_unten.png b/Wetterstation/Resources/pfeil_unten.png new file mode 100644 index 0000000000000000000000000000000000000000..06d2a5aa31eeff511567525fd8a620cb0df59735 Binary files /dev/null and b/Wetterstation/Resources/pfeil_unten.png differ diff --git a/Wetterstation/Resources/roterPfeil.png b/Wetterstation/Resources/roterPfeil.png new file mode 100644 index 0000000000000000000000000000000000000000..2b65d6cab6c8ecb640a5ae40dda47700687f996a Binary files /dev/null and b/Wetterstation/Resources/roterPfeil.png differ diff --git a/Wetterstation/Wetterstation.csproj b/Wetterstation/Wetterstation.csproj index 835111fec99c11fd6de185a1e96054d93dab5f1c..a7ddf17a758ae706400461c898e9e2456cddbdd0 100644 --- a/Wetterstation/Wetterstation.csproj +++ b/Wetterstation/Wetterstation.csproj @@ -107,6 +107,9 @@ <Compile Include="Settings.Designer.cs"> <DependentUpon>Settings.cs</DependentUpon> </Compile> + <None Include="Resources\pfeil_quer.png" /> + <None Include="Resources\pfeil_oben.png" /> + <None Include="Resources\pfeil_unten.png" /> <None Include="Resources\WindRose_neu2.png" /> <EmbeddedResource Include="Form1.resx"> <DependentUpon>Form1.cs</DependentUpon>