# HG changeset patch # User mkanning@CL-ENS241-10.cedarville.edu # Date 2013-02-22 12:00:24 # Node ID 61b779113422493d064a11e1ac3c93ae6bf39a46 # Parent 105a3022c22b2ea398ecfae773226e9f7f4c07a3 add functinality to data tab. not complete but is mostly working diff --git a/Demo.WindowsForms/Forms/MainForm.Designer.cs b/Demo.WindowsForms/Forms/MainForm.Designer.cs --- a/Demo.WindowsForms/Forms/MainForm.Designer.cs +++ b/Demo.WindowsForms/Forms/MainForm.Designer.cs @@ -32,6 +32,74 @@ this.panel4 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel(); this.btnTest = new System.Windows.Forms.Button(); + this.tabControl = new System.Windows.Forms.TabControl(); + this.tabGraphs = new System.Windows.Forms.TabPage(); + this.pnlDataListDisplay = new System.Windows.Forms.Panel(); + this.tboxChartData = new System.Windows.Forms.TextBox(); + this.lblChartData = new System.Windows.Forms.Label(); + this.tboxCurrent = new System.Windows.Forms.TextBox(); + this.lblCurrent = new System.Windows.Forms.Label(); + this.tboxMin = new System.Windows.Forms.TextBox(); + this.lblAverage = new System.Windows.Forms.Label(); + this.tboxMax = new System.Windows.Forms.TextBox(); + this.lblMax = new System.Windows.Forms.Label(); + this.tboxAverage = new System.Windows.Forms.TextBox(); + this.lblMin = new System.Windows.Forms.Label(); + this.ctnParentChartHolder = new System.Windows.Forms.SplitContainer(); + this.ctnTopChartHolder = new System.Windows.Forms.SplitContainer(); + this.lblTopLeftChartTitle = new System.Windows.Forms.Label(); + this.chrtTopLeft = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.lblTopRightChartTitle = new System.Windows.Forms.Label(); + this.chrtTopRight = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.ctnBottomChartHolder = new System.Windows.Forms.SplitContainer(); + this.lblBottomLeftChartTitle = new System.Windows.Forms.Label(); + this.chrtBottomLeft = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.lblBottomRightChartTitle = new System.Windows.Forms.Label(); + this.chrtBottomRight = new System.Windows.Forms.DataVisualization.Charting.Chart(); + this.tabData = new System.Windows.Forms.TabPage(); + this.gboxSlaveData = new System.Windows.Forms.GroupBox(); + this.tboxCameraBatteryLevel = new System.Windows.Forms.TextBox(); + this.label26 = new System.Windows.Forms.Label(); + this.tboxCameraBoardTemp = new System.Windows.Forms.TextBox(); + this.label27 = new System.Windows.Forms.Label(); + this.label28 = new System.Windows.Forms.Label(); + this.textBox15 = new System.Windows.Forms.TextBox(); + this.label25 = new System.Windows.Forms.Label(); + this.tboxGeigerBatteryLevel = new System.Windows.Forms.TextBox(); + this.label24 = new System.Windows.Forms.Label(); + this.tboxGeigerBoardTemp = new System.Windows.Forms.TextBox(); + this.label23 = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.tboxAtmoAltitude = new System.Windows.Forms.TextBox(); + this.label21 = new System.Windows.Forms.Label(); + this.textBox11 = new System.Windows.Forms.TextBox(); + this.label19 = new System.Windows.Forms.Label(); + this.tboxAtmoHumidity = new System.Windows.Forms.TextBox(); + this.label18 = new System.Windows.Forms.Label(); + this.tboxAtmoPressure = new System.Windows.Forms.TextBox(); + this.label17 = new System.Windows.Forms.Label(); + this.tboxAtmoBatteryLevel = new System.Windows.Forms.TextBox(); + this.label15 = new System.Windows.Forms.Label(); + this.tboxAtmoBoardTemp = new System.Windows.Forms.TextBox(); + this.label8 = new System.Windows.Forms.Label(); + this.label20 = new System.Windows.Forms.Label(); + this.gboxMasterData = new System.Windows.Forms.GroupBox(); + this.textBox6 = new System.Windows.Forms.TextBox(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.tboxMasterVelocity = new System.Windows.Forms.TextBox(); + this.label3 = new System.Windows.Forms.Label(); + this.tboxMasterLongitude = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); + this.tboxMasterLatitude = new System.Windows.Forms.TextBox(); + this.label16 = new System.Windows.Forms.Label(); + this.tboxMasterBatteryLevel = new System.Windows.Forms.TextBox(); + this.tboxMasterBoardTemp = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); + this.tboxMessageBox = new System.Windows.Forms.TextBox(); + this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.tboxMasterSatellites = new System.Windows.Forms.TextBox(); + this.label29 = new System.Windows.Forms.Label(); this.MainMap = new Demo.WindowsForms.Map(); this.splitter1 = new BSE.Windows.Forms.Splitter(); this.panelMenu = new BSE.Windows.Forms.Panel(); @@ -106,90 +174,11 @@ this.label13 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.button17 = new System.Windows.Forms.Button(); - this.tabControl = new System.Windows.Forms.TabControl(); - this.tabGraphs = new System.Windows.Forms.TabPage(); - this.pnlDataListDisplay = new System.Windows.Forms.Panel(); - this.tboxChartData = new System.Windows.Forms.TextBox(); - this.lblChartData = new System.Windows.Forms.Label(); - this.tboxCurrent = new System.Windows.Forms.TextBox(); - this.lblCurrent = new System.Windows.Forms.Label(); - this.tboxMin = new System.Windows.Forms.TextBox(); - this.lblAverage = new System.Windows.Forms.Label(); - this.tboxMax = new System.Windows.Forms.TextBox(); - this.lblMax = new System.Windows.Forms.Label(); - this.tboxAverage = new System.Windows.Forms.TextBox(); - this.lblMin = new System.Windows.Forms.Label(); - this.ctnParentChartHolder = new System.Windows.Forms.SplitContainer(); - this.ctnTopChartHolder = new System.Windows.Forms.SplitContainer(); - this.lblTopLeftChartTitle = new System.Windows.Forms.Label(); - this.chrtTopLeft = new System.Windows.Forms.DataVisualization.Charting.Chart(); - this.lblTopRightChartTitle = new System.Windows.Forms.Label(); - this.chrtTopRight = new System.Windows.Forms.DataVisualization.Charting.Chart(); - this.ctnBottomChartHolder = new System.Windows.Forms.SplitContainer(); - this.lblBottomLeftChartTitle = new System.Windows.Forms.Label(); - this.chrtBottomLeft = new System.Windows.Forms.DataVisualization.Charting.Chart(); - this.lblBottomRightChartTitle = new System.Windows.Forms.Label(); - this.chrtBottomRight = new System.Windows.Forms.DataVisualization.Charting.Chart(); - this.tabData = new System.Windows.Forms.TabPage(); - this.gboxSlaveData = new System.Windows.Forms.GroupBox(); - this.textBox16 = new System.Windows.Forms.TextBox(); - this.label26 = new System.Windows.Forms.Label(); - this.textBox17 = new System.Windows.Forms.TextBox(); - this.label27 = new System.Windows.Forms.Label(); - this.label28 = new System.Windows.Forms.Label(); - this.textBox15 = new System.Windows.Forms.TextBox(); - this.label25 = new System.Windows.Forms.Label(); - this.textBox14 = new System.Windows.Forms.TextBox(); - this.label24 = new System.Windows.Forms.Label(); - this.textBox13 = new System.Windows.Forms.TextBox(); - this.label23 = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); - this.textBox12 = new System.Windows.Forms.TextBox(); - this.label21 = new System.Windows.Forms.Label(); - this.textBox11 = new System.Windows.Forms.TextBox(); - this.label19 = new System.Windows.Forms.Label(); - this.textBox10 = new System.Windows.Forms.TextBox(); - this.label18 = new System.Windows.Forms.Label(); - this.textBox9 = new System.Windows.Forms.TextBox(); - this.label17 = new System.Windows.Forms.Label(); - this.textBox8 = new System.Windows.Forms.TextBox(); - this.label15 = new System.Windows.Forms.Label(); - this.textBox7 = new System.Windows.Forms.TextBox(); - this.label8 = new System.Windows.Forms.Label(); - this.label20 = new System.Windows.Forms.Label(); - this.gboxMasterData = new System.Windows.Forms.GroupBox(); - this.textBox6 = new System.Windows.Forms.TextBox(); - this.label7 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.textBox5 = new System.Windows.Forms.TextBox(); - this.label3 = new System.Windows.Forms.Label(); - this.textBox4 = new System.Windows.Forms.TextBox(); - this.label2 = new System.Windows.Forms.Label(); - this.textBox3 = new System.Windows.Forms.TextBox(); - this.label16 = new System.Windows.Forms.Label(); - this.textBox2 = new System.Windows.Forms.TextBox(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label1 = new System.Windows.Forms.Label(); - this.tboxMessageBox = new System.Windows.Forms.TextBox(); - this.splitContainer1 = new System.Windows.Forms.SplitContainer(); + this.tboxMasterHDOP = new System.Windows.Forms.TextBox(); + this.label30 = new System.Windows.Forms.Label(); this.tabMap.SuspendLayout(); this.panel4.SuspendLayout(); this.panel2.SuspendLayout(); - this.panelMenu.SuspendLayout(); - this.xPanderPanelList1.SuspendLayout(); - this.xPanderPanelMain.SuspendLayout(); - this.tableLayoutPanel4.SuspendLayout(); - this.tableLayoutPanel5.SuspendLayout(); - this.groupBox8.SuspendLayout(); - this.groupBox7.SuspendLayout(); - this.groupBox5.SuspendLayout(); - this.groupBox3.SuspendLayout(); - this.tableLayoutPanel6.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).BeginInit(); - this.xPanderPanelInfo.SuspendLayout(); - this.tableLayoutPanel2.SuspendLayout(); - this.xPanderPanelCache.SuspendLayout(); - this.tableLayoutPanel1.SuspendLayout(); this.tabControl.SuspendLayout(); this.tabGraphs.SuspendLayout(); this.pnlDataListDisplay.SuspendLayout(); @@ -212,6 +201,21 @@ this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); + this.panelMenu.SuspendLayout(); + this.xPanderPanelList1.SuspendLayout(); + this.xPanderPanelMain.SuspendLayout(); + this.tableLayoutPanel4.SuspendLayout(); + this.tableLayoutPanel5.SuspendLayout(); + this.groupBox8.SuspendLayout(); + this.groupBox7.SuspendLayout(); + this.groupBox5.SuspendLayout(); + this.groupBox3.SuspendLayout(); + this.tableLayoutPanel6.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).BeginInit(); + this.xPanderPanelInfo.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + this.xPanderPanelCache.SuspendLayout(); + this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // tabMap @@ -260,6 +264,754 @@ this.btnTest.UseVisualStyleBackColor = true; this.btnTest.Click += new System.EventHandler(this.btnTest_Click); // + // tabControl + // + this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tabControl.Controls.Add(this.tabMap); + this.tabControl.Controls.Add(this.tabGraphs); + this.tabControl.Controls.Add(this.tabData); + this.tabControl.Location = new System.Drawing.Point(0, 0); + this.tabControl.Name = "tabControl"; + this.tabControl.SelectedIndex = 0; + this.tabControl.Size = new System.Drawing.Size(871, 451); + this.tabControl.TabIndex = 45; + // + // tabGraphs + // + this.tabGraphs.Controls.Add(this.pnlDataListDisplay); + this.tabGraphs.Controls.Add(this.ctnParentChartHolder); + this.tabGraphs.Location = new System.Drawing.Point(4, 22); + this.tabGraphs.Name = "tabGraphs"; + this.tabGraphs.Padding = new System.Windows.Forms.Padding(3); + this.tabGraphs.Size = new System.Drawing.Size(863, 425); + this.tabGraphs.TabIndex = 2; + this.tabGraphs.Text = "Graphs"; + this.tabGraphs.UseVisualStyleBackColor = true; + // + // pnlDataListDisplay + // + this.pnlDataListDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.pnlDataListDisplay.Controls.Add(this.tboxChartData); + this.pnlDataListDisplay.Controls.Add(this.lblChartData); + this.pnlDataListDisplay.Controls.Add(this.tboxCurrent); + this.pnlDataListDisplay.Controls.Add(this.lblCurrent); + this.pnlDataListDisplay.Controls.Add(this.tboxMin); + this.pnlDataListDisplay.Controls.Add(this.lblAverage); + this.pnlDataListDisplay.Controls.Add(this.tboxMax); + this.pnlDataListDisplay.Controls.Add(this.lblMax); + this.pnlDataListDisplay.Controls.Add(this.tboxAverage); + this.pnlDataListDisplay.Controls.Add(this.lblMin); + this.pnlDataListDisplay.Location = new System.Drawing.Point(6, 6); + this.pnlDataListDisplay.Name = "pnlDataListDisplay"; + this.pnlDataListDisplay.Size = new System.Drawing.Size(851, 26); + this.pnlDataListDisplay.TabIndex = 29; + // + // tboxChartData + // + this.tboxChartData.Enabled = false; + this.tboxChartData.Location = new System.Drawing.Point(85, 3); + this.tboxChartData.Name = "tboxChartData"; + this.tboxChartData.Size = new System.Drawing.Size(100, 20); + this.tboxChartData.TabIndex = 29; + // + // lblChartData + // + this.lblChartData.AutoSize = true; + this.lblChartData.Location = new System.Drawing.Point(3, 6); + this.lblChartData.Name = "lblChartData"; + this.lblChartData.Size = new System.Drawing.Size(76, 13); + this.lblChartData.TabIndex = 28; + this.lblChartData.Text = "Data for Chart:"; + // + // tboxCurrent + // + this.tboxCurrent.Enabled = false; + this.tboxCurrent.Location = new System.Drawing.Point(241, 3); + this.tboxCurrent.Name = "tboxCurrent"; + this.tboxCurrent.Size = new System.Drawing.Size(100, 20); + this.tboxCurrent.TabIndex = 24; + // + // lblCurrent + // + this.lblCurrent.AutoSize = true; + this.lblCurrent.Location = new System.Drawing.Point(191, 6); + this.lblCurrent.Name = "lblCurrent"; + this.lblCurrent.Size = new System.Drawing.Size(44, 13); + this.lblCurrent.TabIndex = 20; + this.lblCurrent.Text = "Current:"; + // + // tboxMin + // + this.tboxMin.BackColor = System.Drawing.SystemColors.Window; + this.tboxMin.Enabled = false; + this.tboxMin.ForeColor = System.Drawing.SystemColors.WindowText; + this.tboxMin.Location = new System.Drawing.Point(684, 3); + this.tboxMin.Name = "tboxMin"; + this.tboxMin.Size = new System.Drawing.Size(100, 20); + this.tboxMin.TabIndex = 27; + // + // lblAverage + // + this.lblAverage.AutoSize = true; + this.lblAverage.Location = new System.Drawing.Point(347, 6); + this.lblAverage.Name = "lblAverage"; + this.lblAverage.Size = new System.Drawing.Size(50, 13); + this.lblAverage.TabIndex = 21; + this.lblAverage.Text = "Average:"; + // + // tboxMax + // + this.tboxMax.Enabled = false; + this.tboxMax.Location = new System.Drawing.Point(545, 3); + this.tboxMax.Name = "tboxMax"; + this.tboxMax.Size = new System.Drawing.Size(100, 20); + this.tboxMax.TabIndex = 26; + // + // lblMax + // + this.lblMax.AutoSize = true; + this.lblMax.Location = new System.Drawing.Point(509, 6); + this.lblMax.Name = "lblMax"; + this.lblMax.Size = new System.Drawing.Size(30, 13); + this.lblMax.TabIndex = 22; + this.lblMax.Text = "Max:"; + // + // tboxAverage + // + this.tboxAverage.Enabled = false; + this.tboxAverage.Location = new System.Drawing.Point(403, 3); + this.tboxAverage.Name = "tboxAverage"; + this.tboxAverage.Size = new System.Drawing.Size(100, 20); + this.tboxAverage.TabIndex = 25; + // + // lblMin + // + this.lblMin.AutoSize = true; + this.lblMin.Location = new System.Drawing.Point(651, 6); + this.lblMin.Name = "lblMin"; + this.lblMin.Size = new System.Drawing.Size(27, 13); + this.lblMin.TabIndex = 23; + this.lblMin.Text = "Min:"; + // + // ctnParentChartHolder + // + this.ctnParentChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ctnParentChartHolder.Location = new System.Drawing.Point(6, 38); + this.ctnParentChartHolder.Name = "ctnParentChartHolder"; + this.ctnParentChartHolder.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // ctnParentChartHolder.Panel1 + // + this.ctnParentChartHolder.Panel1.Controls.Add(this.ctnTopChartHolder); + // + // ctnParentChartHolder.Panel2 + // + this.ctnParentChartHolder.Panel2.Controls.Add(this.ctnBottomChartHolder); + this.ctnParentChartHolder.Size = new System.Drawing.Size(851, 381); + this.ctnParentChartHolder.SplitterDistance = 170; + this.ctnParentChartHolder.TabIndex = 28; + // + // ctnTopChartHolder + // + this.ctnTopChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ctnTopChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ctnTopChartHolder.Location = new System.Drawing.Point(3, 3); + this.ctnTopChartHolder.Name = "ctnTopChartHolder"; + // + // ctnTopChartHolder.Panel1 + // + this.ctnTopChartHolder.Panel1.Controls.Add(this.lblTopLeftChartTitle); + this.ctnTopChartHolder.Panel1.Controls.Add(this.chrtTopLeft); + // + // ctnTopChartHolder.Panel2 + // + this.ctnTopChartHolder.Panel2.Controls.Add(this.lblTopRightChartTitle); + this.ctnTopChartHolder.Panel2.Controls.Add(this.chrtTopRight); + this.ctnTopChartHolder.Size = new System.Drawing.Size(845, 164); + this.ctnTopChartHolder.SplitterDistance = 407; + this.ctnTopChartHolder.TabIndex = 0; + // + // lblTopLeftChartTitle + // + this.lblTopLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblTopLeftChartTitle.AutoSize = true; + this.lblTopLeftChartTitle.Location = new System.Drawing.Point(0, 149); + this.lblTopLeftChartTitle.Name = "lblTopLeftChartTitle"; + this.lblTopLeftChartTitle.Size = new System.Drawing.Size(42, 13); + this.lblTopLeftChartTitle.TabIndex = 2; + this.lblTopLeftChartTitle.Text = "Altitude"; + // + // chrtTopLeft + // + this.chrtTopLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.chrtTopLeft.Location = new System.Drawing.Point(3, 3); + this.chrtTopLeft.Name = "chrtTopLeft"; + this.chrtTopLeft.Size = new System.Drawing.Size(399, 156); + this.chrtTopLeft.TabIndex = 1; + this.chrtTopLeft.Text = "chart4"; + this.chrtTopLeft.Click += new System.EventHandler(this.chrtTopLeft_Click); + // + // lblTopRightChartTitle + // + this.lblTopRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblTopRightChartTitle.AutoSize = true; + this.lblTopRightChartTitle.Location = new System.Drawing.Point(0, 149); + this.lblTopRightChartTitle.Name = "lblTopRightChartTitle"; + this.lblTopRightChartTitle.Size = new System.Drawing.Size(47, 13); + this.lblTopRightChartTitle.TabIndex = 1; + this.lblTopRightChartTitle.Text = "Humidity"; + // + // chrtTopRight + // + this.chrtTopRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.chrtTopRight.Location = new System.Drawing.Point(3, 3); + this.chrtTopRight.Name = "chrtTopRight"; + this.chrtTopRight.Size = new System.Drawing.Size(426, 156); + this.chrtTopRight.TabIndex = 0; + this.chrtTopRight.Text = "chart4"; + this.chrtTopRight.Click += new System.EventHandler(this.chrtTopRight_Click); + // + // ctnBottomChartHolder + // + this.ctnBottomChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ctnBottomChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.ctnBottomChartHolder.Location = new System.Drawing.Point(3, 3); + this.ctnBottomChartHolder.Name = "ctnBottomChartHolder"; + // + // ctnBottomChartHolder.Panel1 + // + this.ctnBottomChartHolder.Panel1.Controls.Add(this.lblBottomLeftChartTitle); + this.ctnBottomChartHolder.Panel1.Controls.Add(this.chrtBottomLeft); + // + // ctnBottomChartHolder.Panel2 + // + this.ctnBottomChartHolder.Panel2.Controls.Add(this.lblBottomRightChartTitle); + this.ctnBottomChartHolder.Panel2.Controls.Add(this.chrtBottomRight); + this.ctnBottomChartHolder.Size = new System.Drawing.Size(845, 201); + this.ctnBottomChartHolder.SplitterDistance = 407; + this.ctnBottomChartHolder.TabIndex = 0; + // + // lblBottomLeftChartTitle + // + this.lblBottomLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblBottomLeftChartTitle.AutoSize = true; + this.lblBottomLeftChartTitle.Location = new System.Drawing.Point(0, 186); + this.lblBottomLeftChartTitle.Name = "lblBottomLeftChartTitle"; + this.lblBottomLeftChartTitle.Size = new System.Drawing.Size(48, 13); + this.lblBottomLeftChartTitle.TabIndex = 1; + this.lblBottomLeftChartTitle.Text = "Pressure"; + // + // chrtBottomLeft + // + this.chrtBottomLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.chrtBottomLeft.Location = new System.Drawing.Point(3, -1); + this.chrtBottomLeft.Name = "chrtBottomLeft"; + this.chrtBottomLeft.Size = new System.Drawing.Size(399, 197); + this.chrtBottomLeft.TabIndex = 0; + this.chrtBottomLeft.Text = "chart2"; + this.chrtBottomLeft.Click += new System.EventHandler(this.chrtBottomLeft_Click); + // + // lblBottomRightChartTitle + // + this.lblBottomRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.lblBottomRightChartTitle.AutoSize = true; + this.lblBottomRightChartTitle.Location = new System.Drawing.Point(0, 186); + this.lblBottomRightChartTitle.Name = "lblBottomRightChartTitle"; + this.lblBottomRightChartTitle.Size = new System.Drawing.Size(44, 13); + this.lblBottomRightChartTitle.TabIndex = 2; + this.lblBottomRightChartTitle.Text = "Velocity"; + // + // chrtBottomRight + // + this.chrtBottomRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.chrtBottomRight.Location = new System.Drawing.Point(3, -1); + this.chrtBottomRight.Name = "chrtBottomRight"; + this.chrtBottomRight.Size = new System.Drawing.Size(426, 197); + this.chrtBottomRight.TabIndex = 1; + this.chrtBottomRight.Text = "chart2"; + this.chrtBottomRight.Click += new System.EventHandler(this.chrtBottomRight_Click); + // + // tabData + // + this.tabData.Controls.Add(this.gboxSlaveData); + this.tabData.Controls.Add(this.gboxMasterData); + this.tabData.Location = new System.Drawing.Point(4, 22); + this.tabData.Name = "tabData"; + this.tabData.Padding = new System.Windows.Forms.Padding(10); + this.tabData.Size = new System.Drawing.Size(863, 425); + this.tabData.TabIndex = 3; + this.tabData.Text = "Data"; + this.tabData.UseVisualStyleBackColor = true; + // + // gboxSlaveData + // + this.gboxSlaveData.Controls.Add(this.tboxCameraBatteryLevel); + this.gboxSlaveData.Controls.Add(this.label26); + this.gboxSlaveData.Controls.Add(this.tboxCameraBoardTemp); + this.gboxSlaveData.Controls.Add(this.label27); + this.gboxSlaveData.Controls.Add(this.label28); + this.gboxSlaveData.Controls.Add(this.textBox15); + this.gboxSlaveData.Controls.Add(this.label25); + this.gboxSlaveData.Controls.Add(this.tboxGeigerBatteryLevel); + this.gboxSlaveData.Controls.Add(this.label24); + this.gboxSlaveData.Controls.Add(this.tboxGeigerBoardTemp); + this.gboxSlaveData.Controls.Add(this.label23); + this.gboxSlaveData.Controls.Add(this.label22); + this.gboxSlaveData.Controls.Add(this.tboxAtmoAltitude); + this.gboxSlaveData.Controls.Add(this.label21); + this.gboxSlaveData.Controls.Add(this.textBox11); + this.gboxSlaveData.Controls.Add(this.label19); + this.gboxSlaveData.Controls.Add(this.tboxAtmoHumidity); + this.gboxSlaveData.Controls.Add(this.label18); + this.gboxSlaveData.Controls.Add(this.tboxAtmoPressure); + this.gboxSlaveData.Controls.Add(this.label17); + this.gboxSlaveData.Controls.Add(this.tboxAtmoBatteryLevel); + this.gboxSlaveData.Controls.Add(this.label15); + this.gboxSlaveData.Controls.Add(this.tboxAtmoBoardTemp); + this.gboxSlaveData.Controls.Add(this.label8); + this.gboxSlaveData.Controls.Add(this.label20); + this.gboxSlaveData.Location = new System.Drawing.Point(259, 13); + this.gboxSlaveData.Name = "gboxSlaveData"; + this.gboxSlaveData.Padding = new System.Windows.Forms.Padding(10); + this.gboxSlaveData.Size = new System.Drawing.Size(297, 438); + this.gboxSlaveData.TabIndex = 1; + this.gboxSlaveData.TabStop = false; + this.gboxSlaveData.Text = "Slave Modules"; + // + // tboxCameraBatteryLevel + // + this.tboxCameraBatteryLevel.Location = new System.Drawing.Point(146, 378); + this.tboxCameraBatteryLevel.Name = "tboxCameraBatteryLevel"; + this.tboxCameraBatteryLevel.ReadOnly = true; + this.tboxCameraBatteryLevel.Size = new System.Drawing.Size(100, 20); + this.tboxCameraBatteryLevel.TabIndex = 41; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Location = new System.Drawing.Point(40, 381); + this.label26.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(69, 13); + this.label26.TabIndex = 40; + this.label26.Text = "Battery Level"; + // + // tboxCameraBoardTemp + // + this.tboxCameraBoardTemp.Location = new System.Drawing.Point(146, 351); + this.tboxCameraBoardTemp.Name = "tboxCameraBoardTemp"; + this.tboxCameraBoardTemp.ReadOnly = true; + this.tboxCameraBoardTemp.Size = new System.Drawing.Size(100, 20); + this.tboxCameraBoardTemp.TabIndex = 39; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Location = new System.Drawing.Point(40, 354); + this.label27.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(98, 13); + this.label27.TabIndex = 38; + this.label27.Text = "Board Temperature"; + // + // label28 + // + this.label28.AutoSize = true; + this.label28.Location = new System.Drawing.Point(15, 327); + this.label28.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(81, 13); + this.label28.TabIndex = 37; + this.label28.Text = "Camera Module"; + // + // textBox15 + // + this.textBox15.Location = new System.Drawing.Point(146, 297); + this.textBox15.Name = "textBox15"; + this.textBox15.ReadOnly = true; + this.textBox15.Size = new System.Drawing.Size(100, 20); + this.textBox15.TabIndex = 36; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Location = new System.Drawing.Point(40, 300); + this.label25.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(52, 13); + this.label25.TabIndex = 35; + this.label25.Text = "Radiation"; + // + // tboxGeigerBatteryLevel + // + this.tboxGeigerBatteryLevel.Location = new System.Drawing.Point(146, 270); + this.tboxGeigerBatteryLevel.Name = "tboxGeigerBatteryLevel"; + this.tboxGeigerBatteryLevel.ReadOnly = true; + this.tboxGeigerBatteryLevel.Size = new System.Drawing.Size(100, 20); + this.tboxGeigerBatteryLevel.TabIndex = 34; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Location = new System.Drawing.Point(40, 273); + this.label24.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(69, 13); + this.label24.TabIndex = 33; + this.label24.Text = "Battery Level"; + // + // tboxGeigerBoardTemp + // + this.tboxGeigerBoardTemp.Location = new System.Drawing.Point(146, 243); + this.tboxGeigerBoardTemp.Name = "tboxGeigerBoardTemp"; + this.tboxGeigerBoardTemp.ReadOnly = true; + this.tboxGeigerBoardTemp.Size = new System.Drawing.Size(100, 20); + this.tboxGeigerBoardTemp.TabIndex = 32; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Location = new System.Drawing.Point(40, 246); + this.label23.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(98, 13); + this.label23.TabIndex = 31; + this.label23.Text = "Board Temperature"; + // + // label22 + // + this.label22.AutoSize = true; + this.label22.Location = new System.Drawing.Point(15, 219); + this.label22.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label22.Name = "label22"; + this.label22.Size = new System.Drawing.Size(76, 13); + this.label22.TabIndex = 30; + this.label22.Text = "Geiger Module"; + // + // tboxAtmoAltitude + // + this.tboxAtmoAltitude.Location = new System.Drawing.Point(146, 189); + this.tboxAtmoAltitude.Name = "tboxAtmoAltitude"; + this.tboxAtmoAltitude.ReadOnly = true; + this.tboxAtmoAltitude.Size = new System.Drawing.Size(100, 20); + this.tboxAtmoAltitude.TabIndex = 29; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Location = new System.Drawing.Point(40, 192); + this.label21.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(42, 13); + this.label21.TabIndex = 28; + this.label21.Text = "Altitude"; + // + // textBox11 + // + this.textBox11.Location = new System.Drawing.Point(146, 108); + this.textBox11.Name = "textBox11"; + this.textBox11.ReadOnly = true; + this.textBox11.Size = new System.Drawing.Size(100, 20); + this.textBox11.TabIndex = 27; + // + // label19 + // + this.label19.AutoSize = true; + this.label19.Location = new System.Drawing.Point(40, 111); + this.label19.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label19.Name = "label19"; + this.label19.Size = new System.Drawing.Size(82, 13); + this.label19.TabIndex = 26; + this.label19.Text = "Air Temperature"; + // + // tboxAtmoHumidity + // + this.tboxAtmoHumidity.BackColor = System.Drawing.SystemColors.Control; + this.tboxAtmoHumidity.Location = new System.Drawing.Point(146, 135); + this.tboxAtmoHumidity.Name = "tboxAtmoHumidity"; + this.tboxAtmoHumidity.ReadOnly = true; + this.tboxAtmoHumidity.Size = new System.Drawing.Size(100, 20); + this.tboxAtmoHumidity.TabIndex = 25; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Location = new System.Drawing.Point(40, 138); + this.label18.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(47, 13); + this.label18.TabIndex = 24; + this.label18.Text = "Humidity"; + // + // tboxAtmoPressure + // + this.tboxAtmoPressure.Location = new System.Drawing.Point(146, 162); + this.tboxAtmoPressure.Name = "tboxAtmoPressure"; + this.tboxAtmoPressure.ReadOnly = true; + this.tboxAtmoPressure.Size = new System.Drawing.Size(100, 20); + this.tboxAtmoPressure.TabIndex = 23; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(40, 165); + this.label17.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(48, 13); + this.label17.TabIndex = 22; + this.label17.Text = "Pressure"; + // + // tboxAtmoBatteryLevel + // + this.tboxAtmoBatteryLevel.Location = new System.Drawing.Point(146, 81); + this.tboxAtmoBatteryLevel.Name = "tboxAtmoBatteryLevel"; + this.tboxAtmoBatteryLevel.ReadOnly = true; + this.tboxAtmoBatteryLevel.Size = new System.Drawing.Size(100, 20); + this.tboxAtmoBatteryLevel.TabIndex = 21; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(40, 84); + this.label15.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(69, 13); + this.label15.TabIndex = 20; + this.label15.Text = "Battery Level"; + // + // tboxAtmoBoardTemp + // + this.tboxAtmoBoardTemp.Location = new System.Drawing.Point(146, 54); + this.tboxAtmoBoardTemp.Name = "tboxAtmoBoardTemp"; + this.tboxAtmoBoardTemp.ReadOnly = true; + this.tboxAtmoBoardTemp.Size = new System.Drawing.Size(100, 20); + this.tboxAtmoBoardTemp.TabIndex = 19; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(40, 57); + this.label8.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(98, 13); + this.label8.TabIndex = 18; + this.label8.Text = "Board Temperature"; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Location = new System.Drawing.Point(15, 30); + this.label20.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(101, 13); + this.label20.TabIndex = 18; + this.label20.Text = "Atmosphere Module"; + // + // gboxMasterData + // + this.gboxMasterData.Controls.Add(this.tboxMasterHDOP); + this.gboxMasterData.Controls.Add(this.label30); + this.gboxMasterData.Controls.Add(this.tboxMasterSatellites); + this.gboxMasterData.Controls.Add(this.label29); + this.gboxMasterData.Controls.Add(this.textBox6); + this.gboxMasterData.Controls.Add(this.label7); + this.gboxMasterData.Controls.Add(this.label6); + this.gboxMasterData.Controls.Add(this.tboxMasterVelocity); + this.gboxMasterData.Controls.Add(this.label3); + this.gboxMasterData.Controls.Add(this.tboxMasterLongitude); + this.gboxMasterData.Controls.Add(this.label2); + this.gboxMasterData.Controls.Add(this.tboxMasterLatitude); + this.gboxMasterData.Controls.Add(this.label16); + this.gboxMasterData.Controls.Add(this.tboxMasterBatteryLevel); + this.gboxMasterData.Controls.Add(this.tboxMasterBoardTemp); + this.gboxMasterData.Controls.Add(this.label1); + this.gboxMasterData.Location = new System.Drawing.Point(13, 13); + this.gboxMasterData.Name = "gboxMasterData"; + this.gboxMasterData.Padding = new System.Windows.Forms.Padding(10); + this.gboxMasterData.Size = new System.Drawing.Size(240, 329); + this.gboxMasterData.TabIndex = 0; + this.gboxMasterData.TabStop = false; + this.gboxMasterData.Text = "Master Module"; + // + // textBox6 + // + this.textBox6.Location = new System.Drawing.Point(120, 162); + this.textBox6.Name = "textBox6"; + this.textBox6.ReadOnly = true; + this.textBox6.Size = new System.Drawing.Size(100, 20); + this.textBox6.TabIndex = 17; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(14, 165); + this.label7.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(67, 13); + this.label7.TabIndex = 16; + this.label7.Text = "GPS Altitude"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(15, 138); + this.label6.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(44, 13); + this.label6.TabIndex = 15; + this.label6.Text = "Velocity"; + // + // tboxMasterVelocity + // + this.tboxMasterVelocity.BackColor = System.Drawing.SystemColors.Control; + this.tboxMasterVelocity.Location = new System.Drawing.Point(121, 135); + this.tboxMasterVelocity.Name = "tboxMasterVelocity"; + this.tboxMasterVelocity.ReadOnly = true; + this.tboxMasterVelocity.Size = new System.Drawing.Size(100, 20); + this.tboxMasterVelocity.TabIndex = 14; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(14, 111); + this.label3.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(54, 13); + this.label3.TabIndex = 13; + this.label3.Text = "Longitude"; + // + // tboxMasterLongitude + // + this.tboxMasterLongitude.Location = new System.Drawing.Point(120, 108); + this.tboxMasterLongitude.Name = "tboxMasterLongitude"; + this.tboxMasterLongitude.ReadOnly = true; + this.tboxMasterLongitude.Size = new System.Drawing.Size(100, 20); + this.tboxMasterLongitude.TabIndex = 12; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(15, 84); + this.label2.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(45, 13); + this.label2.TabIndex = 11; + this.label2.Text = "Latitude"; + // + // tboxMasterLatitude + // + this.tboxMasterLatitude.Location = new System.Drawing.Point(121, 81); + this.tboxMasterLatitude.Name = "tboxMasterLatitude"; + this.tboxMasterLatitude.ReadOnly = true; + this.tboxMasterLatitude.Size = new System.Drawing.Size(100, 20); + this.tboxMasterLatitude.TabIndex = 10; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(14, 57); + this.label16.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(69, 13); + this.label16.TabIndex = 9; + this.label16.Text = "Battery Level"; + // + // tboxMasterBatteryLevel + // + this.tboxMasterBatteryLevel.Location = new System.Drawing.Point(120, 54); + this.tboxMasterBatteryLevel.Name = "tboxMasterBatteryLevel"; + this.tboxMasterBatteryLevel.ReadOnly = true; + this.tboxMasterBatteryLevel.Size = new System.Drawing.Size(100, 20); + this.tboxMasterBatteryLevel.TabIndex = 8; + // + // tboxMasterBoardTemp + // + this.tboxMasterBoardTemp.Location = new System.Drawing.Point(120, 24); + this.tboxMasterBoardTemp.Name = "tboxMasterBoardTemp"; + this.tboxMasterBoardTemp.ReadOnly = true; + this.tboxMasterBoardTemp.Size = new System.Drawing.Size(100, 20); + this.tboxMasterBoardTemp.TabIndex = 1; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(15, 30); + this.label1.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(98, 13); + this.label1.TabIndex = 0; + this.label1.Text = "Board Temperature"; + // + // tboxMessageBox + // + this.tboxMessageBox.AcceptsReturn = true; + this.tboxMessageBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tboxMessageBox.BackColor = System.Drawing.SystemColors.ScrollBar; + this.tboxMessageBox.Location = new System.Drawing.Point(0, 3); + this.tboxMessageBox.Multiline = true; + this.tboxMessageBox.Name = "tboxMessageBox"; + this.tboxMessageBox.ReadOnly = true; + this.tboxMessageBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; + this.tboxMessageBox.Size = new System.Drawing.Size(868, 69); + this.tboxMessageBox.TabIndex = 30; + // + // splitContainer1 + // + this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.splitContainer1.Location = new System.Drawing.Point(12, 12); + this.splitContainer1.Name = "splitContainer1"; + this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; + // + // splitContainer1.Panel1 + // + this.splitContainer1.Panel1.Controls.Add(this.tabControl); + // + // splitContainer1.Panel2 + // + this.splitContainer1.Panel2.Controls.Add(this.tboxMessageBox); + this.splitContainer1.Size = new System.Drawing.Size(871, 526); + this.splitContainer1.SplitterDistance = 450; + this.splitContainer1.TabIndex = 46; + // + // tboxMasterSatellites + // + this.tboxMasterSatellites.Location = new System.Drawing.Point(121, 188); + this.tboxMasterSatellites.Name = "tboxMasterSatellites"; + this.tboxMasterSatellites.ReadOnly = true; + this.tboxMasterSatellites.Size = new System.Drawing.Size(100, 20); + this.tboxMasterSatellites.TabIndex = 19; + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Location = new System.Drawing.Point(15, 191); + this.label29.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(86, 13); + this.label29.TabIndex = 18; + this.label29.Text = "Satellites in View"; + // // MainMap // this.MainMap.Bearing = 0F; @@ -1286,712 +2038,23 @@ this.button17.Text = "Open cache location"; this.button17.UseVisualStyleBackColor = true; // - // tabControl - // - this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tabControl.Controls.Add(this.tabMap); - this.tabControl.Controls.Add(this.tabGraphs); - this.tabControl.Controls.Add(this.tabData); - this.tabControl.Location = new System.Drawing.Point(0, 0); - this.tabControl.Name = "tabControl"; - this.tabControl.SelectedIndex = 0; - this.tabControl.Size = new System.Drawing.Size(871, 451); - this.tabControl.TabIndex = 45; - // - // tabGraphs - // - this.tabGraphs.Controls.Add(this.pnlDataListDisplay); - this.tabGraphs.Controls.Add(this.ctnParentChartHolder); - this.tabGraphs.Location = new System.Drawing.Point(4, 22); - this.tabGraphs.Name = "tabGraphs"; - this.tabGraphs.Padding = new System.Windows.Forms.Padding(3); - this.tabGraphs.Size = new System.Drawing.Size(863, 425); - this.tabGraphs.TabIndex = 2; - this.tabGraphs.Text = "Graphs"; - this.tabGraphs.UseVisualStyleBackColor = true; - // - // pnlDataListDisplay - // - this.pnlDataListDisplay.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.pnlDataListDisplay.Controls.Add(this.tboxChartData); - this.pnlDataListDisplay.Controls.Add(this.lblChartData); - this.pnlDataListDisplay.Controls.Add(this.tboxCurrent); - this.pnlDataListDisplay.Controls.Add(this.lblCurrent); - this.pnlDataListDisplay.Controls.Add(this.tboxMin); - this.pnlDataListDisplay.Controls.Add(this.lblAverage); - this.pnlDataListDisplay.Controls.Add(this.tboxMax); - this.pnlDataListDisplay.Controls.Add(this.lblMax); - this.pnlDataListDisplay.Controls.Add(this.tboxAverage); - this.pnlDataListDisplay.Controls.Add(this.lblMin); - this.pnlDataListDisplay.Location = new System.Drawing.Point(6, 6); - this.pnlDataListDisplay.Name = "pnlDataListDisplay"; - this.pnlDataListDisplay.Size = new System.Drawing.Size(851, 26); - this.pnlDataListDisplay.TabIndex = 29; - // - // tboxChartData - // - this.tboxChartData.Enabled = false; - this.tboxChartData.Location = new System.Drawing.Point(85, 3); - this.tboxChartData.Name = "tboxChartData"; - this.tboxChartData.Size = new System.Drawing.Size(100, 20); - this.tboxChartData.TabIndex = 29; - // - // lblChartData - // - this.lblChartData.AutoSize = true; - this.lblChartData.Location = new System.Drawing.Point(3, 6); - this.lblChartData.Name = "lblChartData"; - this.lblChartData.Size = new System.Drawing.Size(76, 13); - this.lblChartData.TabIndex = 28; - this.lblChartData.Text = "Data for Chart:"; - // - // tboxCurrent - // - this.tboxCurrent.Enabled = false; - this.tboxCurrent.Location = new System.Drawing.Point(241, 3); - this.tboxCurrent.Name = "tboxCurrent"; - this.tboxCurrent.Size = new System.Drawing.Size(100, 20); - this.tboxCurrent.TabIndex = 24; - // - // lblCurrent - // - this.lblCurrent.AutoSize = true; - this.lblCurrent.Location = new System.Drawing.Point(191, 6); - this.lblCurrent.Name = "lblCurrent"; - this.lblCurrent.Size = new System.Drawing.Size(44, 13); - this.lblCurrent.TabIndex = 20; - this.lblCurrent.Text = "Current:"; - // - // tboxMin - // - this.tboxMin.BackColor = System.Drawing.SystemColors.Window; - this.tboxMin.Enabled = false; - this.tboxMin.ForeColor = System.Drawing.SystemColors.WindowText; - this.tboxMin.Location = new System.Drawing.Point(684, 3); - this.tboxMin.Name = "tboxMin"; - this.tboxMin.Size = new System.Drawing.Size(100, 20); - this.tboxMin.TabIndex = 27; - // - // lblAverage - // - this.lblAverage.AutoSize = true; - this.lblAverage.Location = new System.Drawing.Point(347, 6); - this.lblAverage.Name = "lblAverage"; - this.lblAverage.Size = new System.Drawing.Size(50, 13); - this.lblAverage.TabIndex = 21; - this.lblAverage.Text = "Average:"; - // - // tboxMax - // - this.tboxMax.Enabled = false; - this.tboxMax.Location = new System.Drawing.Point(545, 3); - this.tboxMax.Name = "tboxMax"; - this.tboxMax.Size = new System.Drawing.Size(100, 20); - this.tboxMax.TabIndex = 26; - // - // lblMax - // - this.lblMax.AutoSize = true; - this.lblMax.Location = new System.Drawing.Point(509, 6); - this.lblMax.Name = "lblMax"; - this.lblMax.Size = new System.Drawing.Size(30, 13); - this.lblMax.TabIndex = 22; - this.lblMax.Text = "Max:"; - // - // tboxAverage - // - this.tboxAverage.Enabled = false; - this.tboxAverage.Location = new System.Drawing.Point(403, 3); - this.tboxAverage.Name = "tboxAverage"; - this.tboxAverage.Size = new System.Drawing.Size(100, 20); - this.tboxAverage.TabIndex = 25; - // - // lblMin - // - this.lblMin.AutoSize = true; - this.lblMin.Location = new System.Drawing.Point(651, 6); - this.lblMin.Name = "lblMin"; - this.lblMin.Size = new System.Drawing.Size(27, 13); - this.lblMin.TabIndex = 23; - this.lblMin.Text = "Min:"; - // - // ctnParentChartHolder - // - this.ctnParentChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ctnParentChartHolder.Location = new System.Drawing.Point(6, 38); - this.ctnParentChartHolder.Name = "ctnParentChartHolder"; - this.ctnParentChartHolder.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // ctnParentChartHolder.Panel1 - // - this.ctnParentChartHolder.Panel1.Controls.Add(this.ctnTopChartHolder); - // - // ctnParentChartHolder.Panel2 - // - this.ctnParentChartHolder.Panel2.Controls.Add(this.ctnBottomChartHolder); - this.ctnParentChartHolder.Size = new System.Drawing.Size(851, 381); - this.ctnParentChartHolder.SplitterDistance = 170; - this.ctnParentChartHolder.TabIndex = 28; - // - // ctnTopChartHolder - // - this.ctnTopChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ctnTopChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ctnTopChartHolder.Location = new System.Drawing.Point(3, 3); - this.ctnTopChartHolder.Name = "ctnTopChartHolder"; - // - // ctnTopChartHolder.Panel1 - // - this.ctnTopChartHolder.Panel1.Controls.Add(this.lblTopLeftChartTitle); - this.ctnTopChartHolder.Panel1.Controls.Add(this.chrtTopLeft); - // - // ctnTopChartHolder.Panel2 - // - this.ctnTopChartHolder.Panel2.Controls.Add(this.lblTopRightChartTitle); - this.ctnTopChartHolder.Panel2.Controls.Add(this.chrtTopRight); - this.ctnTopChartHolder.Size = new System.Drawing.Size(845, 164); - this.ctnTopChartHolder.SplitterDistance = 407; - this.ctnTopChartHolder.TabIndex = 0; + // tboxMasterHDOP // - // lblTopLeftChartTitle - // - this.lblTopLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblTopLeftChartTitle.AutoSize = true; - this.lblTopLeftChartTitle.Location = new System.Drawing.Point(0, 149); - this.lblTopLeftChartTitle.Name = "lblTopLeftChartTitle"; - this.lblTopLeftChartTitle.Size = new System.Drawing.Size(42, 13); - this.lblTopLeftChartTitle.TabIndex = 2; - this.lblTopLeftChartTitle.Text = "Altitude"; - // - // chrtTopLeft - // - this.chrtTopLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.chrtTopLeft.Location = new System.Drawing.Point(3, 3); - this.chrtTopLeft.Name = "chrtTopLeft"; - this.chrtTopLeft.Size = new System.Drawing.Size(399, 156); - this.chrtTopLeft.TabIndex = 1; - this.chrtTopLeft.Text = "chart4"; - this.chrtTopLeft.Click += new System.EventHandler(this.chrtTopLeft_Click); - // - // lblTopRightChartTitle - // - this.lblTopRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblTopRightChartTitle.AutoSize = true; - this.lblTopRightChartTitle.Location = new System.Drawing.Point(0, 149); - this.lblTopRightChartTitle.Name = "lblTopRightChartTitle"; - this.lblTopRightChartTitle.Size = new System.Drawing.Size(47, 13); - this.lblTopRightChartTitle.TabIndex = 1; - this.lblTopRightChartTitle.Text = "Humidity"; - // - // chrtTopRight - // - this.chrtTopRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.chrtTopRight.Location = new System.Drawing.Point(3, 3); - this.chrtTopRight.Name = "chrtTopRight"; - this.chrtTopRight.Size = new System.Drawing.Size(426, 156); - this.chrtTopRight.TabIndex = 0; - this.chrtTopRight.Text = "chart4"; - this.chrtTopRight.Click += new System.EventHandler(this.chrtTopRight_Click); - // - // ctnBottomChartHolder - // - this.ctnBottomChartHolder.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.ctnBottomChartHolder.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.ctnBottomChartHolder.Location = new System.Drawing.Point(3, 3); - this.ctnBottomChartHolder.Name = "ctnBottomChartHolder"; - // - // ctnBottomChartHolder.Panel1 - // - this.ctnBottomChartHolder.Panel1.Controls.Add(this.lblBottomLeftChartTitle); - this.ctnBottomChartHolder.Panel1.Controls.Add(this.chrtBottomLeft); - // - // ctnBottomChartHolder.Panel2 - // - this.ctnBottomChartHolder.Panel2.Controls.Add(this.lblBottomRightChartTitle); - this.ctnBottomChartHolder.Panel2.Controls.Add(this.chrtBottomRight); - this.ctnBottomChartHolder.Size = new System.Drawing.Size(845, 201); - this.ctnBottomChartHolder.SplitterDistance = 407; - this.ctnBottomChartHolder.TabIndex = 0; - // - // lblBottomLeftChartTitle - // - this.lblBottomLeftChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblBottomLeftChartTitle.AutoSize = true; - this.lblBottomLeftChartTitle.Location = new System.Drawing.Point(0, 186); - this.lblBottomLeftChartTitle.Name = "lblBottomLeftChartTitle"; - this.lblBottomLeftChartTitle.Size = new System.Drawing.Size(48, 13); - this.lblBottomLeftChartTitle.TabIndex = 1; - this.lblBottomLeftChartTitle.Text = "Pressure"; - // - // chrtBottomLeft - // - this.chrtBottomLeft.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.chrtBottomLeft.Location = new System.Drawing.Point(3, -1); - this.chrtBottomLeft.Name = "chrtBottomLeft"; - this.chrtBottomLeft.Size = new System.Drawing.Size(399, 197); - this.chrtBottomLeft.TabIndex = 0; - this.chrtBottomLeft.Text = "chart2"; - this.chrtBottomLeft.Click += new System.EventHandler(this.chrtBottomLeft_Click); - // - // lblBottomRightChartTitle - // - this.lblBottomRightChartTitle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.lblBottomRightChartTitle.AutoSize = true; - this.lblBottomRightChartTitle.Location = new System.Drawing.Point(0, 186); - this.lblBottomRightChartTitle.Name = "lblBottomRightChartTitle"; - this.lblBottomRightChartTitle.Size = new System.Drawing.Size(44, 13); - this.lblBottomRightChartTitle.TabIndex = 2; - this.lblBottomRightChartTitle.Text = "Velocity"; - // - // chrtBottomRight - // - this.chrtBottomRight.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.chrtBottomRight.Location = new System.Drawing.Point(3, -1); - this.chrtBottomRight.Name = "chrtBottomRight"; - this.chrtBottomRight.Size = new System.Drawing.Size(426, 197); - this.chrtBottomRight.TabIndex = 1; - this.chrtBottomRight.Text = "chart2"; - this.chrtBottomRight.Click += new System.EventHandler(this.chrtBottomRight_Click); - // - // tabData - // - this.tabData.Controls.Add(this.gboxSlaveData); - this.tabData.Controls.Add(this.gboxMasterData); - this.tabData.Location = new System.Drawing.Point(4, 22); - this.tabData.Name = "tabData"; - this.tabData.Padding = new System.Windows.Forms.Padding(10); - this.tabData.Size = new System.Drawing.Size(863, 425); - this.tabData.TabIndex = 3; - this.tabData.Text = "Data"; - this.tabData.UseVisualStyleBackColor = true; - // - // gboxSlaveData - // - this.gboxSlaveData.Controls.Add(this.textBox16); - this.gboxSlaveData.Controls.Add(this.label26); - this.gboxSlaveData.Controls.Add(this.textBox17); - this.gboxSlaveData.Controls.Add(this.label27); - this.gboxSlaveData.Controls.Add(this.label28); - this.gboxSlaveData.Controls.Add(this.textBox15); - this.gboxSlaveData.Controls.Add(this.label25); - this.gboxSlaveData.Controls.Add(this.textBox14); - this.gboxSlaveData.Controls.Add(this.label24); - this.gboxSlaveData.Controls.Add(this.textBox13); - this.gboxSlaveData.Controls.Add(this.label23); - this.gboxSlaveData.Controls.Add(this.label22); - this.gboxSlaveData.Controls.Add(this.textBox12); - this.gboxSlaveData.Controls.Add(this.label21); - this.gboxSlaveData.Controls.Add(this.textBox11); - this.gboxSlaveData.Controls.Add(this.label19); - this.gboxSlaveData.Controls.Add(this.textBox10); - this.gboxSlaveData.Controls.Add(this.label18); - this.gboxSlaveData.Controls.Add(this.textBox9); - this.gboxSlaveData.Controls.Add(this.label17); - this.gboxSlaveData.Controls.Add(this.textBox8); - this.gboxSlaveData.Controls.Add(this.label15); - this.gboxSlaveData.Controls.Add(this.textBox7); - this.gboxSlaveData.Controls.Add(this.label8); - this.gboxSlaveData.Controls.Add(this.label20); - this.gboxSlaveData.Location = new System.Drawing.Point(259, 13); - this.gboxSlaveData.Name = "gboxSlaveData"; - this.gboxSlaveData.Padding = new System.Windows.Forms.Padding(10); - this.gboxSlaveData.Size = new System.Drawing.Size(297, 438); - this.gboxSlaveData.TabIndex = 1; - this.gboxSlaveData.TabStop = false; - this.gboxSlaveData.Text = "Slave Modules"; - // - // textBox16 - // - this.textBox16.Location = new System.Drawing.Point(146, 378); - this.textBox16.Name = "textBox16"; - this.textBox16.Size = new System.Drawing.Size(100, 20); - this.textBox16.TabIndex = 41; - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Location = new System.Drawing.Point(40, 381); - this.label26.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(69, 13); - this.label26.TabIndex = 40; - this.label26.Text = "Battery Level"; - // - // textBox17 + this.tboxMasterHDOP.Location = new System.Drawing.Point(120, 214); + this.tboxMasterHDOP.Name = "tboxMasterHDOP"; + this.tboxMasterHDOP.ReadOnly = true; + this.tboxMasterHDOP.Size = new System.Drawing.Size(100, 20); + this.tboxMasterHDOP.TabIndex = 21; // - this.textBox17.Location = new System.Drawing.Point(146, 351); - this.textBox17.Name = "textBox17"; - this.textBox17.Size = new System.Drawing.Size(100, 20); - this.textBox17.TabIndex = 39; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Location = new System.Drawing.Point(40, 354); - this.label27.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(98, 13); - this.label27.TabIndex = 38; - this.label27.Text = "Board Temperature"; - // - // label28 - // - this.label28.AutoSize = true; - this.label28.Location = new System.Drawing.Point(15, 327); - this.label28.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(81, 13); - this.label28.TabIndex = 37; - this.label28.Text = "Camera Module"; - // - // textBox15 - // - this.textBox15.Location = new System.Drawing.Point(146, 297); - this.textBox15.Name = "textBox15"; - this.textBox15.Size = new System.Drawing.Size(100, 20); - this.textBox15.TabIndex = 36; - // - // label25 - // - this.label25.AutoSize = true; - this.label25.Location = new System.Drawing.Point(40, 300); - this.label25.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(52, 13); - this.label25.TabIndex = 35; - this.label25.Text = "Radiation"; - // - // textBox14 - // - this.textBox14.Location = new System.Drawing.Point(146, 270); - this.textBox14.Name = "textBox14"; - this.textBox14.Size = new System.Drawing.Size(100, 20); - this.textBox14.TabIndex = 34; - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(40, 273); - this.label24.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(69, 13); - this.label24.TabIndex = 33; - this.label24.Text = "Battery Level"; - // - // textBox13 - // - this.textBox13.Location = new System.Drawing.Point(146, 243); - this.textBox13.Name = "textBox13"; - this.textBox13.Size = new System.Drawing.Size(100, 20); - this.textBox13.TabIndex = 32; - // - // label23 - // - this.label23.AutoSize = true; - this.label23.Location = new System.Drawing.Point(40, 246); - this.label23.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(98, 13); - this.label23.TabIndex = 31; - this.label23.Text = "Board Temperature"; - // - // label22 - // - this.label22.AutoSize = true; - this.label22.Location = new System.Drawing.Point(15, 219); - this.label22.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(76, 13); - this.label22.TabIndex = 30; - this.label22.Text = "Geiger Module"; - // - // textBox12 - // - this.textBox12.Location = new System.Drawing.Point(146, 189); - this.textBox12.Name = "textBox12"; - this.textBox12.Size = new System.Drawing.Size(100, 20); - this.textBox12.TabIndex = 29; - // - // label21 - // - this.label21.AutoSize = true; - this.label21.Location = new System.Drawing.Point(40, 192); - this.label21.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(42, 13); - this.label21.TabIndex = 28; - this.label21.Text = "Altitude"; - // - // textBox11 - // - this.textBox11.Location = new System.Drawing.Point(146, 108); - this.textBox11.Name = "textBox11"; - this.textBox11.Size = new System.Drawing.Size(100, 20); - this.textBox11.TabIndex = 27; - // - // label19 - // - this.label19.AutoSize = true; - this.label19.Location = new System.Drawing.Point(40, 111); - this.label19.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(82, 13); - this.label19.TabIndex = 26; - this.label19.Text = "Air Temperature"; - // - // textBox10 - // - this.textBox10.Location = new System.Drawing.Point(146, 135); - this.textBox10.Name = "textBox10"; - this.textBox10.Size = new System.Drawing.Size(100, 20); - this.textBox10.TabIndex = 25; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Location = new System.Drawing.Point(40, 138); - this.label18.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(47, 13); - this.label18.TabIndex = 24; - this.label18.Text = "Humidity"; - // - // textBox9 - // - this.textBox9.Location = new System.Drawing.Point(146, 162); - this.textBox9.Name = "textBox9"; - this.textBox9.Size = new System.Drawing.Size(100, 20); - this.textBox9.TabIndex = 23; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(40, 165); - this.label17.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(48, 13); - this.label17.TabIndex = 22; - this.label17.Text = "Pressure"; - // - // textBox8 - // - this.textBox8.Location = new System.Drawing.Point(146, 81); - this.textBox8.Name = "textBox8"; - this.textBox8.Size = new System.Drawing.Size(100, 20); - this.textBox8.TabIndex = 21; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(40, 84); - this.label15.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(69, 13); - this.label15.TabIndex = 20; - this.label15.Text = "Battery Level"; - // - // textBox7 - // - this.textBox7.Location = new System.Drawing.Point(146, 54); - this.textBox7.Name = "textBox7"; - this.textBox7.Size = new System.Drawing.Size(100, 20); - this.textBox7.TabIndex = 19; + // label30 // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(40, 57); - this.label8.Margin = new System.Windows.Forms.Padding(30, 7, 5, 7); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(98, 13); - this.label8.TabIndex = 18; - this.label8.Text = "Board Temperature"; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Location = new System.Drawing.Point(15, 30); - this.label20.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(101, 13); - this.label20.TabIndex = 18; - this.label20.Text = "Atmosphere Module"; - // - // gboxMasterData - // - this.gboxMasterData.Controls.Add(this.textBox6); - this.gboxMasterData.Controls.Add(this.label7); - this.gboxMasterData.Controls.Add(this.label6); - this.gboxMasterData.Controls.Add(this.textBox5); - this.gboxMasterData.Controls.Add(this.label3); - this.gboxMasterData.Controls.Add(this.textBox4); - this.gboxMasterData.Controls.Add(this.label2); - this.gboxMasterData.Controls.Add(this.textBox3); - this.gboxMasterData.Controls.Add(this.label16); - this.gboxMasterData.Controls.Add(this.textBox2); - this.gboxMasterData.Controls.Add(this.textBox1); - this.gboxMasterData.Controls.Add(this.label1); - this.gboxMasterData.Location = new System.Drawing.Point(13, 13); - this.gboxMasterData.Name = "gboxMasterData"; - this.gboxMasterData.Padding = new System.Windows.Forms.Padding(10); - this.gboxMasterData.Size = new System.Drawing.Size(240, 329); - this.gboxMasterData.TabIndex = 0; - this.gboxMasterData.TabStop = false; - this.gboxMasterData.Text = "Master Module"; - // - // textBox6 - // - this.textBox6.Location = new System.Drawing.Point(120, 162); - this.textBox6.Name = "textBox6"; - this.textBox6.Size = new System.Drawing.Size(100, 20); - this.textBox6.TabIndex = 17; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(14, 165); - this.label7.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(67, 13); - this.label7.TabIndex = 16; - this.label7.Text = "GPS Altitude"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(15, 138); - this.label6.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(44, 13); - this.label6.TabIndex = 15; - this.label6.Text = "Velocity"; - // - // textBox5 - // - this.textBox5.Location = new System.Drawing.Point(121, 135); - this.textBox5.Name = "textBox5"; - this.textBox5.Size = new System.Drawing.Size(100, 20); - this.textBox5.TabIndex = 14; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(14, 111); - this.label3.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(54, 13); - this.label3.TabIndex = 13; - this.label3.Text = "Longitude"; - // - // textBox4 - // - this.textBox4.Location = new System.Drawing.Point(120, 108); - this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(100, 20); - this.textBox4.TabIndex = 12; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(15, 84); - this.label2.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(45, 13); - this.label2.TabIndex = 11; - this.label2.Text = "Latitude"; - // - // textBox3 - // - this.textBox3.Location = new System.Drawing.Point(121, 81); - this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(100, 20); - this.textBox3.TabIndex = 10; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(14, 57); - this.label16.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(69, 13); - this.label16.TabIndex = 9; - this.label16.Text = "Battery Level"; - // - // textBox2 - // - this.textBox2.Location = new System.Drawing.Point(120, 54); - this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(100, 20); - this.textBox2.TabIndex = 8; - // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(120, 24); - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(100, 20); - this.textBox1.TabIndex = 1; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(15, 30); - this.label1.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(98, 13); - this.label1.TabIndex = 0; - this.label1.Text = "Board Temperature"; - // - // tboxMessageBox - // - this.tboxMessageBox.AcceptsReturn = true; - this.tboxMessageBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.tboxMessageBox.BackColor = System.Drawing.SystemColors.ScrollBar; - this.tboxMessageBox.Location = new System.Drawing.Point(0, 3); - this.tboxMessageBox.Multiline = true; - this.tboxMessageBox.Name = "tboxMessageBox"; - this.tboxMessageBox.ReadOnly = true; - this.tboxMessageBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.tboxMessageBox.Size = new System.Drawing.Size(868, 69); - this.tboxMessageBox.TabIndex = 30; - // - // splitContainer1 - // - this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.splitContainer1.Location = new System.Drawing.Point(12, 12); - this.splitContainer1.Name = "splitContainer1"; - this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; - // - // splitContainer1.Panel1 - // - this.splitContainer1.Panel1.Controls.Add(this.tabControl); - // - // splitContainer1.Panel2 - // - this.splitContainer1.Panel2.Controls.Add(this.tboxMessageBox); - this.splitContainer1.Size = new System.Drawing.Size(871, 526); - this.splitContainer1.SplitterDistance = 450; - this.splitContainer1.TabIndex = 46; + this.label30.AutoSize = true; + this.label30.Location = new System.Drawing.Point(14, 217); + this.label30.Margin = new System.Windows.Forms.Padding(5, 7, 5, 7); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(38, 13); + this.label30.TabIndex = 20; + this.label30.Text = "HDOP"; // // MainForm // @@ -2012,29 +2075,6 @@ this.tabMap.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panel2.ResumeLayout(false); - this.panelMenu.ResumeLayout(false); - this.xPanderPanelList1.ResumeLayout(false); - this.xPanderPanelMain.ResumeLayout(false); - this.tableLayoutPanel4.ResumeLayout(false); - this.tableLayoutPanel5.ResumeLayout(false); - this.tableLayoutPanel5.PerformLayout(); - this.groupBox8.ResumeLayout(false); - this.groupBox8.PerformLayout(); - this.groupBox7.ResumeLayout(false); - this.groupBox7.PerformLayout(); - this.groupBox5.ResumeLayout(false); - this.groupBox5.PerformLayout(); - this.groupBox3.ResumeLayout(false); - this.groupBox3.PerformLayout(); - this.tableLayoutPanel6.ResumeLayout(false); - this.tableLayoutPanel6.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).EndInit(); - this.xPanderPanelInfo.ResumeLayout(false); - this.tableLayoutPanel2.ResumeLayout(false); - this.tableLayoutPanel2.PerformLayout(); - this.xPanderPanelCache.ResumeLayout(false); - this.tableLayoutPanel1.ResumeLayout(false); - this.tableLayoutPanel1.PerformLayout(); this.tabControl.ResumeLayout(false); this.tabGraphs.ResumeLayout(false); this.pnlDataListDisplay.ResumeLayout(false); @@ -2065,6 +2105,29 @@ this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.Panel2.PerformLayout(); this.splitContainer1.ResumeLayout(false); + this.panelMenu.ResumeLayout(false); + this.xPanderPanelList1.ResumeLayout(false); + this.xPanderPanelMain.ResumeLayout(false); + this.tableLayoutPanel4.ResumeLayout(false); + this.tableLayoutPanel5.ResumeLayout(false); + this.tableLayoutPanel5.PerformLayout(); + this.groupBox8.ResumeLayout(false); + this.groupBox8.PerformLayout(); + this.groupBox7.ResumeLayout(false); + this.groupBox7.PerformLayout(); + this.groupBox5.ResumeLayout(false); + this.groupBox5.PerformLayout(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + this.tableLayoutPanel6.ResumeLayout(false); + this.tableLayoutPanel6.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.trackBarZoomLevel)).EndInit(); + this.xPanderPanelInfo.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + this.tableLayoutPanel2.PerformLayout(); + this.xPanderPanelCache.ResumeLayout(false); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel1.PerformLayout(); this.ResumeLayout(false); } @@ -2179,42 +2242,46 @@ private System.Windows.Forms.TextBox textBox6; private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label6; - private System.Windows.Forms.TextBox textBox5; + private System.Windows.Forms.TextBox tboxMasterVelocity; private System.Windows.Forms.Label label3; - private System.Windows.Forms.TextBox textBox4; + private System.Windows.Forms.TextBox tboxMasterLongitude; private System.Windows.Forms.Label label2; - private System.Windows.Forms.TextBox textBox3; + private System.Windows.Forms.TextBox tboxMasterLatitude; private System.Windows.Forms.Label label16; - private System.Windows.Forms.TextBox textBox2; - private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox tboxMasterBatteryLevel; + private System.Windows.Forms.TextBox tboxMasterBoardTemp; private System.Windows.Forms.Label label1; - private System.Windows.Forms.TextBox textBox16; + private System.Windows.Forms.TextBox tboxCameraBatteryLevel; private System.Windows.Forms.Label label26; - private System.Windows.Forms.TextBox textBox17; + private System.Windows.Forms.TextBox tboxCameraBoardTemp; private System.Windows.Forms.Label label27; private System.Windows.Forms.Label label28; private System.Windows.Forms.TextBox textBox15; private System.Windows.Forms.Label label25; - private System.Windows.Forms.TextBox textBox14; + private System.Windows.Forms.TextBox tboxGeigerBatteryLevel; private System.Windows.Forms.Label label24; - private System.Windows.Forms.TextBox textBox13; + private System.Windows.Forms.TextBox tboxGeigerBoardTemp; private System.Windows.Forms.Label label23; private System.Windows.Forms.Label label22; - private System.Windows.Forms.TextBox textBox12; + private System.Windows.Forms.TextBox tboxAtmoAltitude; private System.Windows.Forms.Label label21; private System.Windows.Forms.TextBox textBox11; private System.Windows.Forms.Label label19; - private System.Windows.Forms.TextBox textBox10; + private System.Windows.Forms.TextBox tboxAtmoHumidity; private System.Windows.Forms.Label label18; - private System.Windows.Forms.TextBox textBox9; + private System.Windows.Forms.TextBox tboxAtmoPressure; private System.Windows.Forms.Label label17; - private System.Windows.Forms.TextBox textBox8; + private System.Windows.Forms.TextBox tboxAtmoBatteryLevel; private System.Windows.Forms.Label label15; - private System.Windows.Forms.TextBox textBox7; + private System.Windows.Forms.TextBox tboxAtmoBoardTemp; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label20; private System.Windows.Forms.CheckBox cboxCollectData; private System.Windows.Forms.SplitContainer splitContainer1; + private System.Windows.Forms.TextBox tboxMasterSatellites; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.TextBox tboxMasterHDOP; + private System.Windows.Forms.Label label30; } diff --git a/Demo.WindowsForms/Forms/MainForm.cs b/Demo.WindowsForms/Forms/MainForm.cs --- a/Demo.WindowsForms/Forms/MainForm.cs +++ b/Demo.WindowsForms/Forms/MainForm.cs @@ -2566,7 +2566,7 @@ namespace Demo.WindowsForms //check to see if data should be processed if (!cboxCollectData.Checked && rawDataReceived.StartsWith("KD8TDF")) { - AddTextDelegate("Bad transmission: " + rawDataReceived); + AddTextDelegate("Bad transmission: " + rawDataReceived +"\r\n"); return; } @@ -2653,82 +2653,8 @@ namespace Demo.WindowsForms //TODO: add inserts for all charts. altitude is finished and is a template ///data types organized by listing in google doc //MASTER MODULE DATA VALUES - if (dataType.Equals("t")) //board temperature - { - - } - else if (dataType.Equals("L")) //battery level - { - - } - else if (dataType.Equals("X")) //Latitude accuracy - { - - } - else if (dataType.Equals("Y")) //Longitude accuracy - { - - } - else if (dataType.Equals("V")) //Velocity - { - bottomRightChartDelegate(dataType, data); - } - else if (dataType.Equals("I")) //Info/error Message - { - AddTextDelegate("Info: " + data + "\r\n"); - } - else if (dataType.Equals("_")) //extra latitude decimals - { - longitude += data / 1000; //TODO: check math and decimal placement - } - else if (dataType.Equals("|")) //extra longitude decimals - { - latitude += data / 1000; //TODO: check math and decimal placement - } - - //ATMOSPHERIC MODULE DATA VALUES - else if (dataType.Equals("l")) //battery level - { - - } - else if (dataType.Equals("C")) // - { - - } - else if (dataType.Equals("H")) //Humidity - { - topRightChartDelegate(dataType, data); - } - else if (dataType.Equals("P")) //Pressure - { - bottomLeftChartDelegate(dataType, data); - } - else if (dataType.Equals("A")) //Altitude - { - topLeftChartDelegate(dataType, data); - } - - //GEIGER MODULE DATA VALUES - else if (dataType.Equals("l")) //battery level - { - - } - else if (dataType.Equals("R")) //radiation (CPM) - { - - } - - // CAMERA MODULE DATA VALUES - else if (dataType.Equals("l")) //battery level - { - - } - - //INVALID DATA TYPE - else - { - - } + ChartDelegate(dataType, data); + } //must change lat/long coords to properly place map marker @@ -2774,12 +2700,25 @@ namespace Demo.WindowsForms objects.Markers.Add(m); } - + + private void ClearTboxColor() + { + //tboxAtmoHumidity.BorderStyle = BorderStyle.FixedSingle; + tboxAtmoHumidity.BackColor = Color.White; + tboxAtmoPressure.BackColor = Color.White; + tboxAtmoAltitude.BackColor = Color.White; + tboxMasterVelocity.BackColor = Color.White; + tboxCameraBoardTemp.BackColor = Color.White; + tboxGeigerBoardTemp.BackColor = Color.White; + tboxAtmoBoardTemp.BackColor = Color.White; + tboxMasterBoardTemp.BackColor = Color.White; + return; + } #endregion #region cross theading - //these are for function calls across threads + /// delegate void SetTextDelegate(string value); public void AddTextDelegate(string value) { @@ -2795,51 +2734,148 @@ namespace Demo.WindowsForms } delegate void ChartDataDelegate(string dataType, double data); - public void topLeftChartDelegate(string dataType, double data) + public void ChartDelegate(string dataType, double data) { if (InvokeRequired) { - Invoke(new ChartDataDelegate(topLeftChartDelegate), dataType, data); - } - else - { - chrtTopLeft.Series.FindByName("altitudeTrend").Points.AddY(data); - } - } - - public void topRightChartDelegate(string dataType, double data) - { - if (InvokeRequired) - { - Invoke(new ChartDataDelegate(topRightChartDelegate), dataType, data); + Invoke(new ChartDataDelegate(ChartDelegate), dataType, data); } else { - chrtTopRight.Series.FindByName("humidityTrend").Points.AddY(data); - } - } - - public void bottomLeftChartDelegate(string dataType, double data) - { - if (InvokeRequired) - { - Invoke(new ChartDataDelegate(bottomLeftChartDelegate), dataType, data); - } - else - { - chrtBottomLeft.Series.FindByName("pressureTrend").Points.AddY(data); - } - } - - public void bottomRightChartDelegate(string dataType, double data) - { - if (InvokeRequired) - { - Invoke(new ChartDataDelegate(bottomRightChartDelegate), dataType, data); - } - else - { - chrtBottomRight.Series.FindByName("velocityTrend").Points.AddY(data); + ClearTboxColor(); + + ///UNIVERSAL DATA TYPES + if (dataType.Equals("t")) //board temperature + { + string dataString = data.ToString(); + if (dataString.StartsWith("9")) + { + tboxMasterBoardTemp.Text = dataString.Substring(1); + tboxMasterBoardTemp.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("0")) + { + tboxAtmoBoardTemp.Text = dataString.Substring(1); + tboxAtmoBoardTemp.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("1")) + { + tboxGeigerBoardTemp.Text = dataString.Substring(1); + tboxGeigerBoardTemp.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("2")) + { + tboxCameraBoardTemp.Text = dataString.Substring(1); + tboxCameraBoardTemp.BackColor = Color.Chartreuse; + } + } + else if (dataType.Equals("l")) //battery level + { + string dataString = data.ToString(); + if (dataString.StartsWith("9")) + { + tboxMasterBatteryLevel.Text = dataString.Substring(1); + tboxMasterBatteryLevel.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("0")) + { + tboxAtmoBatteryLevel.Text = dataString.Substring(1); + tboxAtmoBatteryLevel.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("1")) + { + tboxGeigerBatteryLevel.Text = dataString.Substring(1); + tboxGeigerBatteryLevel.BackColor = Color.Chartreuse; + } + else if (dataString.StartsWith("2")) + { + tboxCameraBatteryLevel.Text = dataString.Substring(1); + tboxCameraBatteryLevel.BackColor = Color.Chartreuse; + } + } + else if (dataType.Equals("i")) //Info/error Message + { + AddTextDelegate("Info: " + data + "\r\n"); + } + + ///MASTER MODULE DATA TYPES + //TODO: lat/long multi calls not needed; streamline + else if (dataType.Equals("h")) //HDOP + { + tboxMasterHDOP.Text = data.ToString(); + tboxMasterHDOP.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("s")) //satellites in view + { + tboxMasterSatellites.Text = data.ToString(); + tboxMasterSatellites.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("x")) //Latitude + { + + } + else if (dataType.Equals("y")) //Longitude + { + + } + else if (dataType.Equals("v")) //Velocity + { + chrtBottomRight.Series.FindByName("velocityTrend").Points.AddY(data); + tboxMasterVelocity.Text = data.ToString(); + tboxMasterVelocity.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("_")) //extra latitude decimals + { + //TODO: check math and decimal placement + latitude += data.ToString(); + tboxMasterLatitude.Text = latitude; + tboxMasterLatitude.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("|")) //extra longitude decimals + { + //TODO: check math and decimal placement + longitude += data.ToString(); + tboxMasterLongitude.Text = longitude; + tboxMasterLongitude.BackColor = Color.Chartreuse; + } + + ///ATMOSPHERIC MODULE DATA VALUES + else if (dataType.Equals("C")) //Air Temperature + { + + } + else if (dataType.Equals("H")) //Humidity + { + chrtTopRight.Series.FindByName("humidityTrend").Points.AddY(data); + tboxAtmoHumidity.Text = data.ToString(); + tboxAtmoHumidity.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("P")) //Pressure + { + chrtBottomLeft.Series.FindByName("pressureTrend").Points.AddY(data); + tboxAtmoPressure.Text = data.ToString(); + tboxAtmoPressure.BackColor = Color.Chartreuse; + } + else if (dataType.Equals("A")) //Altitude + { + chrtTopLeft.Series.FindByName("altitudeTrend").Points.AddY(data); + tboxAtmoAltitude.Text = data.ToString(); + tboxAtmoAltitude.BackColor = Color.Chartreuse; + } + + ///GEIGER MODULE DATA VALUES + else if (dataType.Equals("R")) //radiation (CPM) + { + + } + + /// CAMERA MODULE DATA VALUES + + //INVALID DATA TYPE + else + { + + } } }