/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.AGaugeLabel aGaugeLabel1 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.panel1 = new System.Windows.Forms.Panel(); this.button1 = new System.Windows.Forms.Button(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.panel1.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.Dock = System.Windows.Forms.DockStyle.Fill; this.trackBar1.LargeChange = 20; this.trackBar1.Location = new System.Drawing.Point(3, 3); this.trackBar1.Maximum = 200; this.trackBar1.Name = "trackBar1"; this.trackBar1.Orientation = System.Windows.Forms.Orientation.Vertical; this.tableLayoutPanel1.SetRowSpan(this.trackBar1, 2); this.trackBar1.Size = new System.Drawing.Size(44, 272); this.trackBar1.TabIndex = 1; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Controls.Add(this.button1); this.panel1.Location = new System.Drawing.Point(53, 231); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(230, 35); this.panel1.TabIndex = 2; // // button1 // this.button1.Location = new System.Drawing.Point(-1, -1); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "button1"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.Controls.Add(this.aGauge1, 1, 0); this.tableLayoutPanel1.Controls.Add(this.trackBar1, 0, 0); this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 1); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 2; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(341, 278); this.tableLayoutPanel1.TabIndex = 3; // // aGauge1 // this.aGauge1.BackColor = System.Drawing.SystemColors.Control; this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); this.aGauge1.Dock = System.Windows.Forms.DockStyle.Fill; aGaugeLabel1.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel1.Font = new System.Drawing.Font("Verdana", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel1.Name = "GaugeLabel1"; aGaugeLabel1.Position = new System.Drawing.Point(200, 260); aGaugeLabel1.Text = "0"; this.aGauge1.GaugeLabels.Add(aGaugeLabel1); aGaugeRange1.Color = System.Drawing.Color.Red; aGaugeRange1.EndValue = 200F; aGaugeRange1.InnerRadius = 70; aGaugeRange1.InRange = false; aGaugeRange1.Name = "AlertRange"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 160F; aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange2.EndValue = 160F; aGaugeRange2.InnerRadius = 70; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange3"; aGaugeRange2.OuterRadius = 75; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.Lime; aGaugeRange3.EndValue = 160F; aGaugeRange3.InnerRadius = 75; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange2"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 0F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.GaugeRanges.Add(aGaugeRange2); this.aGauge1.GaugeRanges.Add(aGaugeRange3); this.aGauge1.Location = new System.Drawing.Point(53, 3); this.aGauge1.MaxValue = 190F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.aGauge1.NeedleColor2 = System.Drawing.Color.Olive; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 20F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 1; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(285, 222); this.aGauge1.TabIndex = 0; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; this.aGauge1.ValueChanged += new System.EventHandler(this.aGauge1_ValueChanged); this.aGauge1.ValueInRangeChanged += new System.EventHandler <System.Windows.Forms.ValueInRangeChangedEventArgs>(this.aGauge1_ValueInRangeChanged); // // button2 // this.button2.Location = new System.Drawing.Point(224, 193); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 0; this.button2.Text = "button2"; this.button2.UseVisualStyleBackColor = true; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(341, 278); this.Controls.Add(this.tableLayoutPanel1); this.Name = "MainForm"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.panel1.ResumeLayout(false); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BoatTempCheck)); this.button1 = new System.Windows.Forms.Button(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.txtTmpBoat = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtTmpShed = new System.Windows.Forms.TextBox(); this.aGauge2 = new System.Windows.Forms.AGauge(); this.label3 = new System.Windows.Forms.Label(); this.txtHeatBox = new System.Windows.Forms.TextBox(); this.aGauge3 = new System.Windows.Forms.AGauge(); this.txtHygBoat = new System.Windows.Forms.TextBox(); this.txtHy1Shed = new System.Windows.Forms.TextBox(); this.txtHy2Shed = new System.Windows.Forms.TextBox(); this.button2 = new System.Windows.Forms.Button(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // button1 // this.button1.Location = new System.Drawing.Point(123, 312); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "Check"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // aGauge1 // this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); aGaugeRange1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); aGaugeRange1.EndValue = 0F; aGaugeRange1.InnerRadius = 30; aGaugeRange1.InRange = false; aGaugeRange1.Name = "GaugeRange1"; aGaugeRange1.OuterRadius = 50; aGaugeRange1.StartValue = 30F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.Location = new System.Drawing.Point(75, 2); this.aGauge1.MaxValue = 40F; this.aGauge1.MinValue = -40F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge1.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 10F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(205, 180); this.aGauge1.TabIndex = 1; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; // // timer1 // this.timer1.Interval = 10000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // txtTmpBoat // this.txtTmpBoat.Enabled = false; this.txtTmpBoat.Location = new System.Drawing.Point(152, 161); this.txtTmpBoat.Name = "txtTmpBoat"; this.txtTmpBoat.ReadOnly = true; this.txtTmpBoat.Size = new System.Drawing.Size(46, 20); this.txtTmpBoat.TabIndex = 2; this.txtTmpBoat.Text = "txtTmpBoat"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(160, 185); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(23, 13); this.label1.TabIndex = 3; this.label1.Text = "Båt"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(474, 185); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(30, 13); this.label2.TabIndex = 6; this.label2.Text = "Skjul"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // txtTmpShed // this.txtTmpShed.Enabled = false; this.txtTmpShed.Location = new System.Drawing.Point(466, 161); this.txtTmpShed.Name = "txtTmpShed"; this.txtTmpShed.ReadOnly = true; this.txtTmpShed.Size = new System.Drawing.Size(46, 20); this.txtTmpShed.TabIndex = 5; this.txtTmpShed.Text = "txtTmpShed"; // // aGauge2 // this.aGauge2.BaseArcColor = System.Drawing.Color.Gray; this.aGauge2.BaseArcRadius = 80; this.aGauge2.BaseArcStart = 135; this.aGauge2.BaseArcSweep = 270; this.aGauge2.BaseArcWidth = 2; this.aGauge2.Center = new System.Drawing.Point(100, 100); aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); aGaugeRange2.EndValue = 0F; aGaugeRange2.InnerRadius = 30; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange1"; aGaugeRange2.OuterRadius = 50; aGaugeRange2.StartValue = 30F; this.aGauge2.GaugeRanges.Add(aGaugeRange2); this.aGauge2.Location = new System.Drawing.Point(389, 2); this.aGauge2.MaxValue = 40F; this.aGauge2.MinValue = -40F; this.aGauge2.Name = "aGauge2"; this.aGauge2.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge2.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge2.NeedleRadius = 80; this.aGauge2.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge2.NeedleWidth = 2; this.aGauge2.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge2.ScaleLinesInterInnerRadius = 73; this.aGauge2.ScaleLinesInterOuterRadius = 80; this.aGauge2.ScaleLinesInterWidth = 1; this.aGauge2.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge2.ScaleLinesMajorInnerRadius = 70; this.aGauge2.ScaleLinesMajorOuterRadius = 80; this.aGauge2.ScaleLinesMajorStepValue = 10F; this.aGauge2.ScaleLinesMajorWidth = 2; this.aGauge2.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge2.ScaleLinesMinorInnerRadius = 75; this.aGauge2.ScaleLinesMinorOuterRadius = 80; this.aGauge2.ScaleLinesMinorTicks = 9; this.aGauge2.ScaleLinesMinorWidth = 1; this.aGauge2.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge2.ScaleNumbersFormat = null; this.aGauge2.ScaleNumbersRadius = 95; this.aGauge2.ScaleNumbersRotation = 0; this.aGauge2.ScaleNumbersStartScaleLine = 0; this.aGauge2.ScaleNumbersStepScaleLines = 1; this.aGauge2.Size = new System.Drawing.Size(205, 180); this.aGauge2.TabIndex = 4; this.aGauge2.Text = "aGauge2"; this.aGauge2.Value = 0F; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(780, 184); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(60, 13); this.label3.TabIndex = 9; this.label3.Text = "Värmeskåp"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // txtHeatBox // this.txtHeatBox.Enabled = false; this.txtHeatBox.Location = new System.Drawing.Point(783, 160); this.txtHeatBox.Name = "txtHeatBox"; this.txtHeatBox.ReadOnly = true; this.txtHeatBox.Size = new System.Drawing.Size(46, 20); this.txtHeatBox.TabIndex = 8; this.txtHeatBox.Text = "txtHeatBox"; // // aGauge3 // this.aGauge3.BaseArcColor = System.Drawing.Color.Gray; this.aGauge3.BaseArcRadius = 80; this.aGauge3.BaseArcStart = 135; this.aGauge3.BaseArcSweep = 270; this.aGauge3.BaseArcWidth = 2; this.aGauge3.Center = new System.Drawing.Point(100, 100); aGaugeRange3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); aGaugeRange3.EndValue = 0F; aGaugeRange3.InnerRadius = 30; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange1"; aGaugeRange3.OuterRadius = 50; aGaugeRange3.StartValue = 30F; this.aGauge3.GaugeRanges.Add(aGaugeRange3); this.aGauge3.Location = new System.Drawing.Point(706, 1); this.aGauge3.MaxValue = 40F; this.aGauge3.MinValue = -40F; this.aGauge3.Name = "aGauge3"; this.aGauge3.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge3.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge3.NeedleRadius = 80; this.aGauge3.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge3.NeedleWidth = 2; this.aGauge3.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge3.ScaleLinesInterInnerRadius = 73; this.aGauge3.ScaleLinesInterOuterRadius = 80; this.aGauge3.ScaleLinesInterWidth = 1; this.aGauge3.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge3.ScaleLinesMajorInnerRadius = 70; this.aGauge3.ScaleLinesMajorOuterRadius = 80; this.aGauge3.ScaleLinesMajorStepValue = 10F; this.aGauge3.ScaleLinesMajorWidth = 2; this.aGauge3.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge3.ScaleLinesMinorInnerRadius = 75; this.aGauge3.ScaleLinesMinorOuterRadius = 80; this.aGauge3.ScaleLinesMinorTicks = 9; this.aGauge3.ScaleLinesMinorWidth = 1; this.aGauge3.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge3.ScaleNumbersFormat = null; this.aGauge3.ScaleNumbersRadius = 95; this.aGauge3.ScaleNumbersRotation = 0; this.aGauge3.ScaleNumbersStartScaleLine = 0; this.aGauge3.ScaleNumbersStepScaleLines = 1; this.aGauge3.Size = new System.Drawing.Size(205, 180); this.aGauge3.TabIndex = 7; this.aGauge3.Text = "aGauge3"; this.aGauge3.Value = 0F; // // txtHygBoat // this.txtHygBoat.Enabled = false; this.txtHygBoat.Location = new System.Drawing.Point(152, 207); this.txtHygBoat.Name = "txtHygBoat"; this.txtHygBoat.ReadOnly = true; this.txtHygBoat.Size = new System.Drawing.Size(46, 20); this.txtHygBoat.TabIndex = 10; this.txtHygBoat.Text = "txtHygBoat"; // // txtHy1Shed // this.txtHy1Shed.Enabled = false; this.txtHy1Shed.Location = new System.Drawing.Point(389, 207); this.txtHy1Shed.Name = "txtHy1Shed"; this.txtHy1Shed.ReadOnly = true; this.txtHy1Shed.Size = new System.Drawing.Size(46, 20); this.txtHy1Shed.TabIndex = 11; this.txtHy1Shed.Text = "txtHy1Shed"; // // txtHy2Shed // this.txtHy2Shed.Enabled = false; this.txtHy2Shed.Location = new System.Drawing.Point(548, 207); this.txtHy2Shed.Name = "txtHy2Shed"; this.txtHy2Shed.ReadOnly = true; this.txtHy2Shed.Size = new System.Drawing.Size(46, 20); this.txtHy2Shed.TabIndex = 12; this.txtHy2Shed.Text = "txtHy2Shed"; // // button2 // this.button2.Location = new System.Drawing.Point(765, 312); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(86, 23); this.button2.TabIndex = 13; this.button2.Text = "open ssh key"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // openFileDialog1 // this.openFileDialog1.DefaultExt = "ppk"; this.openFileDialog1.FileName = "openFileDialog1"; this.openFileDialog1.Filter = "Open ssh|*.ppk|All|*.*"; this.openFileDialog1.Title = "Select openssh ppk file"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(12, 256); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(310, 50); this.textBox1.TabIndex = 14; this.textBox1.Text = "2018-12-18 03:39:33 Temp -12.3^ LOW, turning OFF\r\n2018-12-18 03:39:33 Temp 12.3^ " + "LOW, turning OFF\r\n2019-03-08 10:59:20 Temp 12.3^ HIGH 67 HIGH, turning ON"; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(328, 256); this.textBox2.Multiline = true; this.textBox2.Name = "textBox2"; this.textBox2.ReadOnly = true; this.textBox2.Size = new System.Drawing.Size(313, 50); this.textBox2.TabIndex = 15; this.textBox2.Text = "2018-12-18 03:39:33 Temp 12.3^ LOW, turning OFF\r\n2018-12-18 03:39:33 Temp 12.3^ L" + "OW, turning OFF\r\n2018-12-18 03:39:33 Temp 12.3^ HIGH 69 HIGH, turning ON"; // // textBox3 // this.textBox3.Location = new System.Drawing.Point(650, 256); this.textBox3.Multiline = true; this.textBox3.Name = "textBox3"; this.textBox3.ReadOnly = true; this.textBox3.Size = new System.Drawing.Size(303, 50); this.textBox3.TabIndex = 16; this.textBox3.Text = "2018-12-18 03:39:33 Temp 12.3^ LOW, turning OFF\r\n2018-12-18 03:39:33 Temp 12.3^ L" + "OW, turning OFF\r\n2018-12-18 03:39:33 Temp 12.3^ HIGH 69 HIGH, turning ON\r\n"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(12, 240); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(112, 13); this.label4.TabIndex = 17; this.label4.Text = "Kompressorsavfuktare"; this.label4.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(327, 240); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(46, 13); this.label5.TabIndex = 18; this.label5.Text = "Värmare"; this.label5.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(647, 240); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(96, 13); this.label6.TabIndex = 19; this.label6.Text = "Sorbtionsavfuktare"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // BoatTempCheck // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoSize = true; this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; this.ClientSize = new System.Drawing.Size(1119, 450); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.textBox3); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.button2); this.Controls.Add(this.txtHy2Shed); this.Controls.Add(this.txtHy1Shed); this.Controls.Add(this.txtHygBoat); this.Controls.Add(this.label3); this.Controls.Add(this.txtHeatBox); this.Controls.Add(this.aGauge3); this.Controls.Add(this.label2); this.Controls.Add(this.txtTmpShed); this.Controls.Add(this.aGauge2); this.Controls.Add(this.label1); this.Controls.Add(this.txtTmpBoat); this.Controls.Add(this.button1); this.Controls.Add(this.aGauge1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "BoatTempCheck"; this.Text = "Boat Temperature Checker"; this.Load += new System.EventHandler(this.BoatTempCheck_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeLabel aGaugeLabel5 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeLabel aGaugeLabel6 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange9 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange10 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange11 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange12 = new System.Windows.Forms.AGaugeRange(); this.pnl_InterfazScada = new System.Windows.Forms.Panel(); this.picAlarmaApagada = new System.Windows.Forms.PictureBox(); this.picAlarmaEncendiendo = new System.Windows.Forms.PictureBox(); this.txtHumo = new System.Windows.Forms.TextBox(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.picLuzApagada = new System.Windows.Forms.PictureBox(); this.btnCerrar = new System.Windows.Forms.Button(); this.btnMinimizar = new System.Windows.Forms.Button(); this.lblTemperatura = new System.Windows.Forms.Label(); this.lblAlarma = new System.Windows.Forms.Label(); this.lblTitulo = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.picAlarmaEncendida = new System.Windows.Forms.PictureBox(); this.lblIndicador = new System.Windows.Forms.Label(); this.cmbCamara = new System.Windows.Forms.ComboBox(); this.videoSourcePlayer1 = new AForge.Controls.VideoSourcePlayer(); this.btnIniciar = new System.Windows.Forms.Button(); this.btnDetener = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.shapeContainer2 = new Microsoft.VisualBasic.PowerPacks.ShapeContainer(); this.lineShape1 = new Microsoft.VisualBasic.PowerPacks.LineShape(); this.picLuzEncendida = new System.Windows.Forms.PictureBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.Timer_Movimiento = new System.Windows.Forms.Timer(this.components); this.Timer_Temperatura = new System.Windows.Forms.Timer(this.components); this.Timer_Humo = new System.Windows.Forms.Timer(this.components); this.pnl_InterfazScada.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaApagada)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaEncendiendo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picLuzApagada)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaEncendida)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picLuzEncendida)).BeginInit(); this.SuspendLayout(); // // pnl_InterfazScada // this.pnl_InterfazScada.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.pnl_InterfazScada.Controls.Add(this.picAlarmaApagada); this.pnl_InterfazScada.Controls.Add(this.picAlarmaEncendiendo); this.pnl_InterfazScada.Controls.Add(this.txtHumo); this.pnl_InterfazScada.Controls.Add(this.aGauge1); this.pnl_InterfazScada.Controls.Add(this.picLuzApagada); this.pnl_InterfazScada.Controls.Add(this.btnCerrar); this.pnl_InterfazScada.Controls.Add(this.btnMinimizar); this.pnl_InterfazScada.Controls.Add(this.lblTemperatura); this.pnl_InterfazScada.Controls.Add(this.lblAlarma); this.pnl_InterfazScada.Controls.Add(this.lblTitulo); this.pnl_InterfazScada.Controls.Add(this.label1); this.pnl_InterfazScada.Controls.Add(this.picAlarmaEncendida); this.pnl_InterfazScada.Controls.Add(this.lblIndicador); this.pnl_InterfazScada.Controls.Add(this.cmbCamara); this.pnl_InterfazScada.Controls.Add(this.videoSourcePlayer1); this.pnl_InterfazScada.Controls.Add(this.btnIniciar); this.pnl_InterfazScada.Controls.Add(this.btnDetener); this.pnl_InterfazScada.Controls.Add(this.label6); this.pnl_InterfazScada.Controls.Add(this.textBox1); this.pnl_InterfazScada.Controls.Add(this.shapeContainer2); this.pnl_InterfazScada.Controls.Add(this.picLuzEncendida); this.pnl_InterfazScada.Location = new System.Drawing.Point(0, 0); this.pnl_InterfazScada.Name = "pnl_InterfazScada"; this.pnl_InterfazScada.Size = new System.Drawing.Size(1385, 787); this.pnl_InterfazScada.TabIndex = 0; // // picAlarmaApagada // this.picAlarmaApagada.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.picAlarmaApagada.Image = global::SystemSCADA.Properties.Resources.alarma3; this.picAlarmaApagada.Location = new System.Drawing.Point(1164, 85); this.picAlarmaApagada.Name = "picAlarmaApagada"; this.picAlarmaApagada.Size = new System.Drawing.Size(165, 113); this.picAlarmaApagada.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picAlarmaApagada.TabIndex = 38; this.picAlarmaApagada.TabStop = false; // // picAlarmaEncendiendo // this.picAlarmaEncendiendo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.picAlarmaEncendiendo.Image = global::SystemSCADA.Properties.Resources.alarma2; this.picAlarmaEncendiendo.Location = new System.Drawing.Point(1164, 85); this.picAlarmaEncendiendo.Name = "picAlarmaEncendiendo"; this.picAlarmaEncendiendo.Size = new System.Drawing.Size(165, 113); this.picAlarmaEncendiendo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picAlarmaEncendiendo.TabIndex = 39; this.picAlarmaEncendiendo.TabStop = false; // // txtHumo // this.txtHumo.Location = new System.Drawing.Point(1194, 204); this.txtHumo.Name = "txtHumo"; this.txtHumo.Size = new System.Drawing.Size(100, 20); this.txtHumo.TabIndex = 37; this.txtHumo.Visible = false; // // aGauge1 // this.aGauge1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); aGaugeLabel5.Color = System.Drawing.Color.Red; aGaugeLabel5.Name = "GaugeLabel1"; aGaugeLabel5.Position = new System.Drawing.Point(0, 0); aGaugeLabel5.Text = null; aGaugeLabel6.Color = System.Drawing.Color.Red; aGaugeLabel6.Name = "GaugeLabel"; aGaugeLabel6.Position = new System.Drawing.Point(0, 0); aGaugeLabel6.Text = null; this.aGauge1.GaugeLabels.Add(aGaugeLabel5); this.aGauge1.GaugeLabels.Add(aGaugeLabel6); aGaugeRange9.Color = System.Drawing.Color.Red; aGaugeRange9.EndValue = 60F; aGaugeRange9.InnerRadius = 70; aGaugeRange9.InRange = false; aGaugeRange9.Name = "Critico"; aGaugeRange9.OuterRadius = 80; aGaugeRange9.StartValue = 45F; aGaugeRange10.Color = System.Drawing.Color.Yellow; aGaugeRange10.EndValue = 45F; aGaugeRange10.InnerRadius = 70; aGaugeRange10.InRange = false; aGaugeRange10.Name = "Advertencia"; aGaugeRange10.OuterRadius = 80; aGaugeRange10.StartValue = 35F; aGaugeRange11.Color = System.Drawing.Color.Lime; aGaugeRange11.EndValue = 35F; aGaugeRange11.InnerRadius = 70; aGaugeRange11.InRange = false; aGaugeRange11.Name = "Bien"; aGaugeRange11.OuterRadius = 80; aGaugeRange11.StartValue = 0F; aGaugeRange12.Color = System.Drawing.Color.Blue; aGaugeRange12.EndValue = 0F; aGaugeRange12.InnerRadius = 70; aGaugeRange12.InRange = false; aGaugeRange12.Name = "Frio"; aGaugeRange12.OuterRadius = 80; aGaugeRange12.StartValue = -20F; this.aGauge1.GaugeRanges.Add(aGaugeRange9); this.aGauge1.GaugeRanges.Add(aGaugeRange10); this.aGauge1.GaugeRanges.Add(aGaugeRange11); this.aGauge1.GaugeRanges.Add(aGaugeRange12); this.aGauge1.Location = new System.Drawing.Point(1146, 280); this.aGauge1.MaxValue = 60F; this.aGauge1.MinValue = -20F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge1.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 10F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(205, 180); this.aGauge1.TabIndex = 24; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; // // picLuzApagada // this.picLuzApagada.Image = global::SystemSCADA.Properties.Resources.Button_off; this.picLuzApagada.Location = new System.Drawing.Point(836, 55); this.picLuzApagada.Name = "picLuzApagada"; this.picLuzApagada.Size = new System.Drawing.Size(80, 82); this.picLuzApagada.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picLuzApagada.TabIndex = 8; this.picLuzApagada.TabStop = false; // // btnCerrar // this.btnCerrar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.btnCerrar.FlatAppearance.BorderSize = 0; this.btnCerrar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnCerrar.Image = global::SystemSCADA.Properties.Resources.Cerrar; this.btnCerrar.Location = new System.Drawing.Point(1328, 1); this.btnCerrar.Name = "btnCerrar"; this.btnCerrar.Size = new System.Drawing.Size(38, 37); this.btnCerrar.TabIndex = 2; this.btnCerrar.UseVisualStyleBackColor = false; this.btnCerrar.Click += new System.EventHandler(this.BtnCerrar_Click); // // btnMinimizar // this.btnMinimizar.FlatAppearance.BorderSize = 0; this.btnMinimizar.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnMinimizar.Image = global::SystemSCADA.Properties.Resources.Minimizar; this.btnMinimizar.Location = new System.Drawing.Point(1295, 2); this.btnMinimizar.Name = "btnMinimizar"; this.btnMinimizar.Size = new System.Drawing.Size(34, 36); this.btnMinimizar.TabIndex = 3; this.btnMinimizar.UseVisualStyleBackColor = true; this.btnMinimizar.Click += new System.EventHandler(this.BtnMinimizar_Click); // // lblTemperatura // this.lblTemperatura.AutoSize = true; this.lblTemperatura.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTemperatura.Location = new System.Drawing.Point(1142, 463); this.lblTemperatura.Name = "lblTemperatura"; this.lblTemperatura.Size = new System.Drawing.Size(207, 19); this.lblTemperatura.TabIndex = 25; this.lblTemperatura.Text = "Estado de la Temperatura"; // // lblAlarma // this.lblAlarma.AutoSize = true; this.lblAlarma.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblAlarma.Location = new System.Drawing.Point(1174, 55); this.lblAlarma.Name = "lblAlarma"; this.lblAlarma.Size = new System.Drawing.Size(134, 19); this.lblAlarma.TabIndex = 26; this.lblAlarma.Text = "Sensor De Humo"; // // lblTitulo // this.lblTitulo.Font = new System.Drawing.Font("Century Gothic", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTitulo.Location = new System.Drawing.Point(11, 7); this.lblTitulo.Name = "lblTitulo"; this.lblTitulo.Size = new System.Drawing.Size(1307, 28); this.lblTitulo.TabIndex = 4; this.lblTitulo.Text = "SCADA SYSTEM "; this.lblTitulo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblTitulo.MouseDown += new System.Windows.Forms.MouseEventHandler(this.moverForm); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(274, 66); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(126, 13); this.label1.TabIndex = 35; this.label1.Text = "Seleccione el dispositivo "; // // picAlarmaEncendida // this.picAlarmaEncendida.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.picAlarmaEncendida.Image = global::SystemSCADA.Properties.Resources.alarma; this.picAlarmaEncendida.Location = new System.Drawing.Point(1164, 85); this.picAlarmaEncendida.Name = "picAlarmaEncendida"; this.picAlarmaEncendida.Size = new System.Drawing.Size(165, 113); this.picAlarmaEncendida.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picAlarmaEncendida.TabIndex = 30; this.picAlarmaEncendida.TabStop = false; // // lblIndicador // this.lblIndicador.AutoSize = true; this.lblIndicador.Font = new System.Drawing.Font("Century Gothic", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblIndicador.Location = new System.Drawing.Point(590, 72); this.lblIndicador.Name = "lblIndicador"; this.lblIndicador.Size = new System.Drawing.Size(213, 23); this.lblIndicador.TabIndex = 5; this.lblIndicador.Text = "Sensor De Movimiento"; // // cmbCamara // this.cmbCamara.FormattingEnabled = true; this.cmbCamara.Location = new System.Drawing.Point(277, 85); this.cmbCamara.Name = "cmbCamara"; this.cmbCamara.Size = new System.Drawing.Size(121, 21); this.cmbCamara.TabIndex = 34; // // videoSourcePlayer1 // this.videoSourcePlayer1.Location = new System.Drawing.Point(0, 144); this.videoSourcePlayer1.Name = "videoSourcePlayer1"; this.videoSourcePlayer1.Size = new System.Drawing.Size(1136, 616); this.videoSourcePlayer1.TabIndex = 31; this.videoSourcePlayer1.Text = "videoSourcePlayer1"; this.videoSourcePlayer1.VideoSource = null; this.videoSourcePlayer1.NewFrame += new AForge.Controls.VideoSourcePlayer.NewFrameHandler(this.VideoSourcePlayer1_NewFrame); // // btnIniciar // this.btnIniciar.Location = new System.Drawing.Point(16, 56); this.btnIniciar.Name = "btnIniciar"; this.btnIniciar.Size = new System.Drawing.Size(101, 23); this.btnIniciar.TabIndex = 32; this.btnIniciar.Text = "Iniciar"; this.btnIniciar.UseVisualStyleBackColor = true; this.btnIniciar.Click += new System.EventHandler(this.BtnIniciar_Click); // // btnDetener // this.btnDetener.Location = new System.Drawing.Point(16, 85); this.btnDetener.Name = "btnDetener"; this.btnDetener.Size = new System.Drawing.Size(101, 23); this.btnDetener.TabIndex = 33; this.btnDetener.Text = "Detener"; this.btnDetener.UseVisualStyleBackColor = true; this.btnDetener.Click += new System.EventHandler(this.BtnDetener_Click); // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Century Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(1152, 508); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(109, 19); this.label6.TabIndex = 28; this.label6.Text = "Temperatura"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(1277, 510); this.textBox1.MaxLength = 6; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(46, 20); this.textBox1.TabIndex = 27; this.textBox1.Text = "0.00C°"; // // shapeContainer2 // this.shapeContainer2.Location = new System.Drawing.Point(0, 0); this.shapeContainer2.Margin = new System.Windows.Forms.Padding(0); this.shapeContainer2.Name = "shapeContainer2"; this.shapeContainer2.Shapes.AddRange(new Microsoft.VisualBasic.PowerPacks.Shape[] { this.lineShape1 }); this.shapeContainer2.Size = new System.Drawing.Size(1383, 785); this.shapeContainer2.TabIndex = 36; this.shapeContainer2.TabStop = false; // // lineShape1 // this.lineShape1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(150)))), ((int)(((byte)(250))))); this.lineShape1.BorderWidth = 4; this.lineShape1.Name = "lineShape1"; this.lineShape1.SelectionColor = System.Drawing.Color.Honeydew; this.lineShape1.X1 = 0; this.lineShape1.X2 = 1385; this.lineShape1.Y1 = 45; this.lineShape1.Y2 = 45; // // picLuzEncendida // this.picLuzEncendida.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.picLuzEncendida.Image = global::SystemSCADA.Properties.Resources.Button_on; this.picLuzEncendida.Location = new System.Drawing.Point(836, 56); this.picLuzEncendida.Name = "picLuzEncendida"; this.picLuzEncendida.Size = new System.Drawing.Size(80, 81); this.picLuzEncendida.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.picLuzEncendida.TabIndex = 6; this.picLuzEncendida.TabStop = false; // // Timer_Movimiento // this.Timer_Movimiento.Enabled = true; this.Timer_Movimiento.Interval = 300; this.Timer_Movimiento.Tick += new System.EventHandler(this.Timer_Movimiento_Tick); // // Timer_Temperatura // this.Timer_Temperatura.Enabled = true; this.Timer_Temperatura.Interval = 1000; this.Timer_Temperatura.Tick += new System.EventHandler(this.Timer_Temperatura_Tick); // // Timer_Humo // this.Timer_Humo.Interval = 1000; this.Timer_Humo.Tick += new System.EventHandler(this.Timer_Humo_Tick); // // FormInterfaz // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(150)))), ((int)(((byte)(150))))); this.ClientSize = new System.Drawing.Size(1386, 788); this.Controls.Add(this.pnl_InterfazScada); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "FormInterfaz"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Principal"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.FormInterfaz_Load); this.pnl_InterfazScada.ResumeLayout(false); this.pnl_InterfazScada.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaApagada)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaEncendiendo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picLuzApagada)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picAlarmaEncendida)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picLuzEncendida)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeLabel aGaugeLabel1 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeLabel aGaugeLabel2 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeLabel aGaugeLabel3 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange4 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange5 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange6 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.AGaugeLabel aGaugeLabel4 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange7 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange8 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange9 = new System.Windows.Forms.AGaugeRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(mainForm)); this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.usbDeviceStatusLabel = new System.Windows.Forms.ToolStripStatusLabel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.RPM_txt = new System.Windows.Forms.TextBox(); this.CHT_txt = new System.Windows.Forms.TextBox(); this.CHT_GAUGE = new System.Windows.Forms.AGauge(); this.TACH_GAUGE = new System.Windows.Forms.AGauge(); this.MODELabel = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.MAPLabel = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.potStateLabel = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.VRPictureBox = new System.Windows.Forms.PictureBox(); this.HBPictureBox = new System.Windows.Forms.PictureBox(); this.led2PictureBox = new System.Windows.Forms.PictureBox(); this.LOGPictureBox = new System.Windows.Forms.PictureBox(); this.MAPpanel = new System.Windows.Forms.Panel(); this.STATUpDown = new System.Windows.Forms.NumericUpDown(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.EGT_txt = new System.Windows.Forms.TextBox(); this.EGT_GAUGE = new System.Windows.Forms.AGauge(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.debugTextBox = new System.Windows.Forms.TextBox(); this.deviceStatusPollTimer = new System.Windows.Forms.Timer(this.components); this.RUNbutton = new System.Windows.Forms.Button(); this.LUTLOADbutton = new System.Windows.Forms.Button(); this.FWbutton = new System.Windows.Forms.Button(); this.LUTREADbutton = new System.Windows.Forms.Button(); this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.newToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.blockFillToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mapNotesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.statusStrip1.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.VRPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.HBPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.led2PictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LOGPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.STATUpDown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.groupBox2.SuspendLayout(); this.menuStrip1.SuspendLayout(); this.SuspendLayout(); // // statusStrip1 // this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.usbDeviceStatusLabel }); this.statusStrip1.Location = new System.Drawing.Point(0, 493); this.statusStrip1.Name = "statusStrip1"; this.statusStrip1.Size = new System.Drawing.Size(933, 22); this.statusStrip1.SizingGrip = false; this.statusStrip1.TabIndex = 0; this.statusStrip1.Text = "statusStrip1"; // // usbDeviceStatusLabel // this.usbDeviceStatusLabel.Name = "usbDeviceStatusLabel"; this.usbDeviceStatusLabel.Size = new System.Drawing.Size(108, 17); this.usbDeviceStatusLabel.Text = "USB device detached"; // // groupBox1 // this.groupBox1.Controls.Add(this.RPM_txt); this.groupBox1.Controls.Add(this.CHT_txt); this.groupBox1.Controls.Add(this.CHT_GAUGE); this.groupBox1.Controls.Add(this.TACH_GAUGE); this.groupBox1.Controls.Add(this.MODELabel); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label8); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.MAPLabel); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.potStateLabel); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.VRPictureBox); this.groupBox1.Controls.Add(this.HBPictureBox); this.groupBox1.Controls.Add(this.led2PictureBox); this.groupBox1.Controls.Add(this.LOGPictureBox); this.groupBox1.Controls.Add(this.MAPpanel); this.groupBox1.Controls.Add(this.STATUpDown); this.groupBox1.Controls.Add(this.chart1); this.groupBox1.Location = new System.Drawing.Point(13, 28); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(792, 416); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; this.groupBox1.Text = "FF Run Mode"; // // RPM_txt // this.RPM_txt.Location = new System.Drawing.Point(57, 263); this.RPM_txt.Name = "RPM_txt"; this.RPM_txt.Size = new System.Drawing.Size(100, 20); this.RPM_txt.TabIndex = 27; // // CHT_txt // this.CHT_txt.Location = new System.Drawing.Point(307, 264); this.CHT_txt.Name = "CHT_txt"; this.CHT_txt.Size = new System.Drawing.Size(100, 20); this.CHT_txt.TabIndex = 27; // // CHT_GAUGE // this.CHT_GAUGE.BaseArcColor = System.Drawing.Color.Gray; this.CHT_GAUGE.BaseArcRadius = 80; this.CHT_GAUGE.BaseArcStart = 135; this.CHT_GAUGE.BaseArcSweep = 270; this.CHT_GAUGE.BaseArcWidth = 2; this.CHT_GAUGE.Center = new System.Drawing.Point(100, 100); aGaugeLabel1.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel1.Name = "GaugeLabel1"; aGaugeLabel1.Position = new System.Drawing.Point(85, 50); aGaugeLabel1.Text = "CHT"; this.CHT_GAUGE.GaugeLabels.Add(aGaugeLabel1); aGaugeRange1.Color = System.Drawing.Color.Lime; aGaugeRange1.EndValue = 350F; aGaugeRange1.InnerRadius = 75; aGaugeRange1.InRange = false; aGaugeRange1.Name = "GaugeRange1"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 0F; aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange2.EndValue = 350F; aGaugeRange2.InnerRadius = 70; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange2"; aGaugeRange2.OuterRadius = 75; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.Red; aGaugeRange3.EndValue = 400F; aGaugeRange3.InnerRadius = 70; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange3"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 350F; this.CHT_GAUGE.GaugeRanges.Add(aGaugeRange1); this.CHT_GAUGE.GaugeRanges.Add(aGaugeRange2); this.CHT_GAUGE.GaugeRanges.Add(aGaugeRange3); this.CHT_GAUGE.Location = new System.Drawing.Point(258, 104); this.CHT_GAUGE.MaxValue = 400F; this.CHT_GAUGE.MinValue = 0F; this.CHT_GAUGE.Name = "CHT_GAUGE"; this.CHT_GAUGE.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.CHT_GAUGE.NeedleColor2 = System.Drawing.Color.Olive; this.CHT_GAUGE.NeedleRadius = 80; this.CHT_GAUGE.NeedleType = System.Windows.Forms.NeedleType.Advance; this.CHT_GAUGE.NeedleWidth = 2; this.CHT_GAUGE.ScaleLinesInterColor = System.Drawing.Color.Black; this.CHT_GAUGE.ScaleLinesInterInnerRadius = 73; this.CHT_GAUGE.ScaleLinesInterOuterRadius = 80; this.CHT_GAUGE.ScaleLinesInterWidth = 1; this.CHT_GAUGE.ScaleLinesMajorColor = System.Drawing.Color.Black; this.CHT_GAUGE.ScaleLinesMajorInnerRadius = 70; this.CHT_GAUGE.ScaleLinesMajorOuterRadius = 80; this.CHT_GAUGE.ScaleLinesMajorStepValue = 50F; this.CHT_GAUGE.ScaleLinesMajorWidth = 2; this.CHT_GAUGE.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.CHT_GAUGE.ScaleLinesMinorInnerRadius = 75; this.CHT_GAUGE.ScaleLinesMinorOuterRadius = 80; this.CHT_GAUGE.ScaleLinesMinorTicks = 9; this.CHT_GAUGE.ScaleLinesMinorWidth = 1; this.CHT_GAUGE.ScaleNumbersColor = System.Drawing.Color.Black; this.CHT_GAUGE.ScaleNumbersFormat = null; this.CHT_GAUGE.ScaleNumbersRadius = 95; this.CHT_GAUGE.ScaleNumbersRotation = 0; this.CHT_GAUGE.ScaleNumbersStartScaleLine = 0; this.CHT_GAUGE.ScaleNumbersStepScaleLines = 1; this.CHT_GAUGE.Size = new System.Drawing.Size(205, 180); this.CHT_GAUGE.TabIndex = 22; this.CHT_GAUGE.Text = "aGauge1"; this.CHT_GAUGE.Value = 0F; // // TACH_GAUGE // this.TACH_GAUGE.BaseArcColor = System.Drawing.Color.Gray; this.TACH_GAUGE.BaseArcRadius = 80; this.TACH_GAUGE.BaseArcStart = 135; this.TACH_GAUGE.BaseArcSweep = 270; this.TACH_GAUGE.BaseArcWidth = 2; this.TACH_GAUGE.Center = new System.Drawing.Point(100, 100); aGaugeLabel2.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel2.Name = "GaugeLabel1"; aGaugeLabel2.Position = new System.Drawing.Point(85, 130); aGaugeLabel2.Text = "x1000"; aGaugeLabel3.Color = System.Drawing.Color.Black; aGaugeLabel3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel3.Name = "GaugeLabel2"; aGaugeLabel3.Position = new System.Drawing.Point(85, 50); aGaugeLabel3.Text = "RPM"; this.TACH_GAUGE.GaugeLabels.Add(aGaugeLabel2); this.TACH_GAUGE.GaugeLabels.Add(aGaugeLabel3); aGaugeRange4.Color = System.Drawing.Color.Red; aGaugeRange4.EndValue = 10F; aGaugeRange4.InnerRadius = 70; aGaugeRange4.InRange = false; aGaugeRange4.Name = "AlertRange"; aGaugeRange4.OuterRadius = 80; aGaugeRange4.StartValue = 8F; aGaugeRange5.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange5.EndValue = 8F; aGaugeRange5.InnerRadius = 70; aGaugeRange5.InRange = true; aGaugeRange5.Name = "GaugeRange3"; aGaugeRange5.OuterRadius = 75; aGaugeRange5.StartValue = 0F; aGaugeRange6.Color = System.Drawing.Color.Lime; aGaugeRange6.EndValue = 8F; aGaugeRange6.InnerRadius = 75; aGaugeRange6.InRange = true; aGaugeRange6.Name = "GaugeRange2"; aGaugeRange6.OuterRadius = 80; aGaugeRange6.StartValue = 0F; this.TACH_GAUGE.GaugeRanges.Add(aGaugeRange4); this.TACH_GAUGE.GaugeRanges.Add(aGaugeRange5); this.TACH_GAUGE.GaugeRanges.Add(aGaugeRange6); this.TACH_GAUGE.Location = new System.Drawing.Point(6, 103); this.TACH_GAUGE.MaxValue = 10F; this.TACH_GAUGE.MinValue = 0F; this.TACH_GAUGE.Name = "TACH_GAUGE"; this.TACH_GAUGE.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.TACH_GAUGE.NeedleColor2 = System.Drawing.Color.Olive; this.TACH_GAUGE.NeedleRadius = 80; this.TACH_GAUGE.NeedleType = System.Windows.Forms.NeedleType.Advance; this.TACH_GAUGE.NeedleWidth = 2; this.TACH_GAUGE.ScaleLinesInterColor = System.Drawing.Color.Black; this.TACH_GAUGE.ScaleLinesInterInnerRadius = 73; this.TACH_GAUGE.ScaleLinesInterOuterRadius = 80; this.TACH_GAUGE.ScaleLinesInterWidth = 1; this.TACH_GAUGE.ScaleLinesMajorColor = System.Drawing.Color.Black; this.TACH_GAUGE.ScaleLinesMajorInnerRadius = 70; this.TACH_GAUGE.ScaleLinesMajorOuterRadius = 80; this.TACH_GAUGE.ScaleLinesMajorStepValue = 1F; this.TACH_GAUGE.ScaleLinesMajorWidth = 2; this.TACH_GAUGE.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.TACH_GAUGE.ScaleLinesMinorInnerRadius = 75; this.TACH_GAUGE.ScaleLinesMinorOuterRadius = 80; this.TACH_GAUGE.ScaleLinesMinorTicks = 9; this.TACH_GAUGE.ScaleLinesMinorWidth = 1; this.TACH_GAUGE.ScaleNumbersColor = System.Drawing.Color.Black; this.TACH_GAUGE.ScaleNumbersFormat = null; this.TACH_GAUGE.ScaleNumbersRadius = 95; this.TACH_GAUGE.ScaleNumbersRotation = 0; this.TACH_GAUGE.ScaleNumbersStartScaleLine = 0; this.TACH_GAUGE.ScaleNumbersStepScaleLines = 1; this.TACH_GAUGE.Size = new System.Drawing.Size(205, 180); this.TACH_GAUGE.TabIndex = 8; this.TACH_GAUGE.Text = "aGauge1"; this.TACH_GAUGE.Value = 0F; // // MODELabel // this.MODELabel.AutoSize = true; this.MODELabel.Location = new System.Drawing.Point(253, 63); this.MODELabel.Name = "MODELabel"; this.MODELabel.Size = new System.Drawing.Size(13, 13); this.MODELabel.TabIndex = 21; this.MODELabel.Text = "0"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(208, 63); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(42, 13); this.label10.TabIndex = 20; this.label10.Text = "MODE:"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(206, 18); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(22, 13); this.label8.TabIndex = 19; this.label8.Text = "OT"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(162, 18); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(29, 13); this.label2.TabIndex = 18; this.label2.Text = "LOG"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(124, 18); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(22, 13); this.label7.TabIndex = 17; this.label7.Text = "VR"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(86, 18); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(22, 13); this.label5.TabIndex = 16; this.label5.Text = "HB"; // // MAPLabel // this.MAPLabel.AutoSize = true; this.MAPLabel.Location = new System.Drawing.Point(170, 63); this.MAPLabel.Name = "MAPLabel"; this.MAPLabel.Size = new System.Drawing.Size(13, 13); this.MAPLabel.TabIndex = 15; this.MAPLabel.Text = "0"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(128, 63); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(43, 13); this.label6.TabIndex = 14; this.label6.Text = "MAP #:"; // // potStateLabel // this.potStateLabel.AutoSize = true; this.potStateLabel.Location = new System.Drawing.Point(88, 63); this.potStateLabel.Name = "potStateLabel"; this.potStateLabel.Size = new System.Drawing.Size(13, 13); this.potStateLabel.TabIndex = 10; this.potStateLabel.Text = "0"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(42, 63); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(40, 13); this.label4.TabIndex = 9; this.label4.Text = "TEMP:"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(29, 33); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(53, 13); this.label1.TabIndex = 4; this.label1.Text = "STATUS:"; // // VRPictureBox // this.VRPictureBox.Image = global::WFF_GenericHID_Demo_Application.Properties.Resources.red_off_16; this.VRPictureBox.Location = new System.Drawing.Point(128, 32); this.VRPictureBox.Name = "VRPictureBox"; this.VRPictureBox.Size = new System.Drawing.Size(16, 16); this.VRPictureBox.TabIndex = 3; this.VRPictureBox.TabStop = false; // // HBPictureBox // this.HBPictureBox.Image = global::WFF_GenericHID_Demo_Application.Properties.Resources.red_off_16; this.HBPictureBox.Location = new System.Drawing.Point(88, 32); this.HBPictureBox.Name = "HBPictureBox"; this.HBPictureBox.Size = new System.Drawing.Size(16, 16); this.HBPictureBox.TabIndex = 2; this.HBPictureBox.TabStop = false; // // led2PictureBox // this.led2PictureBox.Image = global::WFF_GenericHID_Demo_Application.Properties.Resources.red_off_16; this.led2PictureBox.Location = new System.Drawing.Point(208, 32); this.led2PictureBox.Name = "led2PictureBox"; this.led2PictureBox.Size = new System.Drawing.Size(16, 16); this.led2PictureBox.TabIndex = 1; this.led2PictureBox.TabStop = false; // // LOGPictureBox // this.LOGPictureBox.Image = global::WFF_GenericHID_Demo_Application.Properties.Resources.red_off_16; this.LOGPictureBox.InitialImage = null; this.LOGPictureBox.Location = new System.Drawing.Point(167, 32); this.LOGPictureBox.Name = "LOGPictureBox"; this.LOGPictureBox.Size = new System.Drawing.Size(16, 16); this.LOGPictureBox.TabIndex = 0; this.LOGPictureBox.TabStop = false; this.LOGPictureBox.Click += new System.EventHandler(this.LOGPictureBox_Click); // // MAPpanel // this.MAPpanel.AutoScroll = true; this.MAPpanel.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.MAPpanel.Location = new System.Drawing.Point(2, 42); this.MAPpanel.Name = "MAPpanel"; this.MAPpanel.Size = new System.Drawing.Size(83, 364); this.MAPpanel.TabIndex = 24; this.MAPpanel.Visible = false; // // STATUpDown // this.STATUpDown.Location = new System.Drawing.Point(36, 16); this.STATUpDown.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); this.STATUpDown.Name = "STATUpDown"; this.STATUpDown.Size = new System.Drawing.Size(46, 20); this.STATUpDown.TabIndex = 25; this.STATUpDown.Value = new decimal(new int[] { 1, 0, 0, 0 }); this.STATUpDown.Visible = false; this.STATUpDown.ValueChanged += new System.EventHandler(this.STATUpDown_ValueChanged); // // chart1 // chartArea1.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea1); legend1.Enabled = false; legend1.Name = "Legend1"; this.chart1.Legends.Add(legend1); this.chart1.Location = new System.Drawing.Point(91, 18); this.chart1.Name = "chart1"; series1.ChartArea = "ChartArea1"; series1.Legend = "Legend1"; series1.Name = "Series1"; this.chart1.Series.Add(series1); this.chart1.Size = new System.Drawing.Size(705, 388); this.chart1.TabIndex = 23; this.chart1.Text = "chart1"; this.chart1.Visible = false; // // EGT_txt // this.EGT_txt.Location = new System.Drawing.Point(564, 290); this.EGT_txt.Name = "EGT_txt"; this.EGT_txt.Size = new System.Drawing.Size(100, 20); this.EGT_txt.TabIndex = 26; // // EGT_GAUGE // this.EGT_GAUGE.BaseArcColor = System.Drawing.Color.Gray; this.EGT_GAUGE.BaseArcRadius = 80; this.EGT_GAUGE.BaseArcStart = 135; this.EGT_GAUGE.BaseArcSweep = 270; this.EGT_GAUGE.BaseArcWidth = 2; this.EGT_GAUGE.Center = new System.Drawing.Point(100, 100); aGaugeLabel4.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel4.Name = "GaugeLabel1"; aGaugeLabel4.Position = new System.Drawing.Point(85, 50); aGaugeLabel4.Text = "EGT"; this.EGT_GAUGE.GaugeLabels.Add(aGaugeLabel4); aGaugeRange7.Color = System.Drawing.Color.Lime; aGaugeRange7.EndValue = 1500F; aGaugeRange7.InnerRadius = 75; aGaugeRange7.InRange = false; aGaugeRange7.Name = "GaugeRange1"; aGaugeRange7.OuterRadius = 80; aGaugeRange7.StartValue = 0F; aGaugeRange8.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange8.EndValue = 1500F; aGaugeRange8.InnerRadius = 70; aGaugeRange8.InRange = false; aGaugeRange8.Name = "GaugeRange2"; aGaugeRange8.OuterRadius = 75; aGaugeRange8.StartValue = 0F; aGaugeRange9.Color = System.Drawing.Color.Red; aGaugeRange9.EndValue = 1800F; aGaugeRange9.InnerRadius = 70; aGaugeRange9.InRange = false; aGaugeRange9.Name = "GaugeRange3"; aGaugeRange9.OuterRadius = 80; aGaugeRange9.StartValue = 1500F; this.EGT_GAUGE.GaugeRanges.Add(aGaugeRange7); this.EGT_GAUGE.GaugeRanges.Add(aGaugeRange8); this.EGT_GAUGE.GaugeRanges.Add(aGaugeRange9); this.EGT_GAUGE.Location = new System.Drawing.Point(513, 130); this.EGT_GAUGE.MaxValue = 1800F; this.EGT_GAUGE.MinValue = 0F; this.EGT_GAUGE.Name = "EGT_GAUGE"; this.EGT_GAUGE.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.EGT_GAUGE.NeedleColor2 = System.Drawing.Color.Olive; this.EGT_GAUGE.NeedleRadius = 80; this.EGT_GAUGE.NeedleType = System.Windows.Forms.NeedleType.Advance; this.EGT_GAUGE.NeedleWidth = 2; this.EGT_GAUGE.ScaleLinesInterColor = System.Drawing.Color.Black; this.EGT_GAUGE.ScaleLinesInterInnerRadius = 73; this.EGT_GAUGE.ScaleLinesInterOuterRadius = 80; this.EGT_GAUGE.ScaleLinesInterWidth = 1; this.EGT_GAUGE.ScaleLinesMajorColor = System.Drawing.Color.Black; this.EGT_GAUGE.ScaleLinesMajorInnerRadius = 70; this.EGT_GAUGE.ScaleLinesMajorOuterRadius = 80; this.EGT_GAUGE.ScaleLinesMajorStepValue = 100F; this.EGT_GAUGE.ScaleLinesMajorWidth = 2; this.EGT_GAUGE.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.EGT_GAUGE.ScaleLinesMinorInnerRadius = 75; this.EGT_GAUGE.ScaleLinesMinorOuterRadius = 80; this.EGT_GAUGE.ScaleLinesMinorTicks = 10; this.EGT_GAUGE.ScaleLinesMinorWidth = 1; this.EGT_GAUGE.ScaleNumbersColor = System.Drawing.Color.Black; this.EGT_GAUGE.ScaleNumbersFormat = null; this.EGT_GAUGE.ScaleNumbersRadius = 95; this.EGT_GAUGE.ScaleNumbersRotation = 0; this.EGT_GAUGE.ScaleNumbersStartScaleLine = 0; this.EGT_GAUGE.ScaleNumbersStepScaleLines = 1; this.EGT_GAUGE.Size = new System.Drawing.Size(217, 182); this.EGT_GAUGE.TabIndex = 23; this.EGT_GAUGE.Text = "EGT"; this.EGT_GAUGE.Value = 0F; // // groupBox2 // this.groupBox2.Controls.Add(this.debugTextBox); this.groupBox2.Location = new System.Drawing.Point(815, 28); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(105, 416); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Debug"; // // debugTextBox // this.debugTextBox.Location = new System.Drawing.Point(9, 16); this.debugTextBox.Multiline = true; this.debugTextBox.Name = "debugTextBox"; this.debugTextBox.ReadOnly = true; this.debugTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.debugTextBox.Size = new System.Drawing.Size(90, 390); this.debugTextBox.TabIndex = 0; // // deviceStatusPollTimer // this.deviceStatusPollTimer.Enabled = true; this.deviceStatusPollTimer.Interval = 1; this.deviceStatusPollTimer.Tick += new System.EventHandler(this.deviceStatusPollTimer_Tick); // // RUNbutton // this.RUNbutton.Location = new System.Drawing.Point(13, 462); this.RUNbutton.Name = "RUNbutton"; this.RUNbutton.Size = new System.Drawing.Size(89, 25); this.RUNbutton.TabIndex = 4; this.RUNbutton.Text = "RUN"; this.RUNbutton.UseVisualStyleBackColor = true; this.RUNbutton.Visible = false; this.RUNbutton.Click += new System.EventHandler(this.RUNbutton_Click); // // LUTLOADbutton // this.LUTLOADbutton.Location = new System.Drawing.Point(110, 462); this.LUTLOADbutton.Name = "LUTLOADbutton"; this.LUTLOADbutton.Size = new System.Drawing.Size(89, 25); this.LUTLOADbutton.TabIndex = 5; this.LUTLOADbutton.Text = "SEND MAP"; this.LUTLOADbutton.UseVisualStyleBackColor = true; this.LUTLOADbutton.Visible = false; this.LUTLOADbutton.Click += new System.EventHandler(this.LUTLOADbutton_Click); // // FWbutton // this.FWbutton.Location = new System.Drawing.Point(327, 462); this.FWbutton.Name = "FWbutton"; this.FWbutton.Size = new System.Drawing.Size(89, 25); this.FWbutton.TabIndex = 6; this.FWbutton.Text = "FW UPDATE"; this.FWbutton.UseVisualStyleBackColor = true; this.FWbutton.Click += new System.EventHandler(this.FWbutton_Click); // // LUTREADbutton // this.LUTREADbutton.Location = new System.Drawing.Point(220, 462); this.LUTREADbutton.Name = "LUTREADbutton"; this.LUTREADbutton.Size = new System.Drawing.Size(89, 25); this.LUTREADbutton.TabIndex = 7; this.LUTREADbutton.Text = "READ MAP"; this.LUTREADbutton.UseVisualStyleBackColor = true; this.LUTREADbutton.Visible = false; this.LUTREADbutton.Click += new System.EventHandler(this.LUTREADbutton_Click); // // menuStrip1 // this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.fileToolStripMenuItem, this.editToolStripMenuItem }); this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Size = new System.Drawing.Size(933, 24); this.menuStrip1.TabIndex = 8; this.menuStrip1.Text = "menuStrip1"; // // fileToolStripMenuItem // this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.newToolStripMenuItem, this.openToolStripMenuItem, this.saveToolStripMenuItem }); this.fileToolStripMenuItem.Name = "fileToolStripMenuItem"; this.fileToolStripMenuItem.Size = new System.Drawing.Size(35, 20); this.fileToolStripMenuItem.Text = "File"; // // newToolStripMenuItem // this.newToolStripMenuItem.Name = "newToolStripMenuItem"; this.newToolStripMenuItem.Size = new System.Drawing.Size(111, 22); this.newToolStripMenuItem.Text = "New"; this.newToolStripMenuItem.Click += new System.EventHandler(this.newToolStripMenuItem_Click); // // openToolStripMenuItem // this.openToolStripMenuItem.Name = "openToolStripMenuItem"; this.openToolStripMenuItem.Size = new System.Drawing.Size(111, 22); this.openToolStripMenuItem.Text = "Open"; this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click); // // saveToolStripMenuItem // this.saveToolStripMenuItem.Enabled = false; this.saveToolStripMenuItem.Name = "saveToolStripMenuItem"; this.saveToolStripMenuItem.Size = new System.Drawing.Size(111, 22); this.saveToolStripMenuItem.Text = "Save"; this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click); // // editToolStripMenuItem // this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.blockFillToolStripMenuItem, this.mapNotesToolStripMenuItem }); this.editToolStripMenuItem.Enabled = false; this.editToolStripMenuItem.Name = "editToolStripMenuItem"; this.editToolStripMenuItem.Size = new System.Drawing.Size(37, 20); this.editToolStripMenuItem.Text = "Edit"; // // blockFillToolStripMenuItem // this.blockFillToolStripMenuItem.Name = "blockFillToolStripMenuItem"; this.blockFillToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.blockFillToolStripMenuItem.Text = "Block Fill"; this.blockFillToolStripMenuItem.Click += new System.EventHandler(this.blockFillToolStripMenuItem_Click); // // mapNotesToolStripMenuItem // this.mapNotesToolStripMenuItem.Name = "mapNotesToolStripMenuItem"; this.mapNotesToolStripMenuItem.Size = new System.Drawing.Size(136, 22); this.mapNotesToolStripMenuItem.Text = "Map Notes"; this.mapNotesToolStripMenuItem.Click += new System.EventHandler(this.mapNotesToolStripMenuItem_Click); // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // progressBar1 // this.progressBar1.Location = new System.Drawing.Point(815, 450); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(100, 23); this.progressBar1.TabIndex = 9; // // mainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(933, 515); this.Controls.Add(this.EGT_txt); this.Controls.Add(this.progressBar1); this.Controls.Add(this.EGT_GAUGE); this.Controls.Add(this.LUTREADbutton); this.Controls.Add(this.FWbutton); this.Controls.Add(this.LUTLOADbutton); this.Controls.Add(this.RUNbutton); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusStrip1); this.Controls.Add(this.menuStrip1); this.Controls.Add(this.groupBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MainMenuStrip = this.menuStrip1; this.MaximizeBox = false; this.Name = "mainForm"; this.ShowIcon = false; this.Text = "FireFly Mini"; this.statusStrip1.ResumeLayout(false); this.statusStrip1.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.VRPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.HBPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.led2PictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LOGPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.STATUpDown)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.menuStrip1.ResumeLayout(false); this.menuStrip1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); this.serialPort = new System.IO.Ports.SerialPort(this.components); this.label1 = new System.Windows.Forms.Label(); this.txtPort = new System.Windows.Forms.TextBox(); this.btnConnect = new System.Windows.Forms.Button(); this.compass = new System.Windows.Forms.AGauge(); this.label2 = new System.Windows.Forms.Label(); this.txtFront = new System.Windows.Forms.TextBox(); this.txtRight = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtLeft = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.btnStart = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); this.btnClose = new System.Windows.Forms.Button(); this.txtLog = new System.Windows.Forms.TextBox(); this.SuspendLayout(); // // serialPort // this.serialPort.PortName = "COM3"; this.serialPort.ReadBufferSize = 1024; this.serialPort.DataReceived += new System.IO.Ports.SerialDataReceivedEventHandler(this.serialPort_DataReceived); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(18, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 13); this.label1.TabIndex = 0; this.label1.Text = "PORT:"; // // txtPort // this.txtPort.Location = new System.Drawing.Point(92, 12); this.txtPort.Name = "txtPort"; this.txtPort.Size = new System.Drawing.Size(87, 20); this.txtPort.TabIndex = 1; this.txtPort.Text = "3"; // // btnConnect // this.btnConnect.Location = new System.Drawing.Point(185, 10); this.btnConnect.Name = "btnConnect"; this.btnConnect.Size = new System.Drawing.Size(75, 23); this.btnConnect.TabIndex = 2; this.btnConnect.Text = "&Connect"; this.btnConnect.UseVisualStyleBackColor = true; this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click); // // compass // this.compass.BaseArcColor = System.Drawing.Color.Gray; this.compass.BaseArcRadius = 80; this.compass.BaseArcStart = 270; this.compass.BaseArcSweep = 360; this.compass.BaseArcWidth = 2; this.compass.Center = new System.Drawing.Point(100, 100); aGaugeRange2.Color = System.Drawing.Color.Red; aGaugeRange2.EndValue = 90F; aGaugeRange2.InnerRadius = 1; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange1"; aGaugeRange2.OuterRadius = 2; aGaugeRange2.StartValue = 0F; this.compass.GaugeRanges.Add(aGaugeRange2); this.compass.Location = new System.Drawing.Point(21, 52); this.compass.MaxValue = 360F; this.compass.MinValue = 0F; this.compass.Name = "compass"; this.compass.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.compass.NeedleColor2 = System.Drawing.Color.DimGray; this.compass.NeedleRadius = 80; this.compass.NeedleType = System.Windows.Forms.NeedleType.Advance; this.compass.NeedleWidth = 2; this.compass.ScaleLinesInterColor = System.Drawing.Color.Black; this.compass.ScaleLinesInterInnerRadius = 73; this.compass.ScaleLinesInterOuterRadius = 80; this.compass.ScaleLinesInterWidth = 1; this.compass.ScaleLinesMajorColor = System.Drawing.Color.Black; this.compass.ScaleLinesMajorInnerRadius = 70; this.compass.ScaleLinesMajorOuterRadius = 80; this.compass.ScaleLinesMajorStepValue = 45F; this.compass.ScaleLinesMajorWidth = 2; this.compass.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.compass.ScaleLinesMinorInnerRadius = 75; this.compass.ScaleLinesMinorOuterRadius = 80; this.compass.ScaleLinesMinorTicks = 9; this.compass.ScaleLinesMinorWidth = 1; this.compass.ScaleNumbersColor = System.Drawing.Color.Black; this.compass.ScaleNumbersFormat = null; this.compass.ScaleNumbersRadius = 95; this.compass.ScaleNumbersRotation = 0; this.compass.ScaleNumbersStartScaleLine = 0; this.compass.ScaleNumbersStepScaleLines = 1; this.compass.Size = new System.Drawing.Size(248, 214); this.compass.TabIndex = 3; this.compass.Text = "aGauge1"; this.compass.Value = 0F; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(324, 52); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 13); this.label2.TabIndex = 4; this.label2.Text = "Front Sensor:"; // // txtFront // this.txtFront.Location = new System.Drawing.Point(338, 68); this.txtFront.Name = "txtFront"; this.txtFront.Size = new System.Drawing.Size(43, 20); this.txtFront.TabIndex = 5; // // txtRight // this.txtRight.Location = new System.Drawing.Point(403, 94); this.txtRight.Name = "txtRight"; this.txtRight.Size = new System.Drawing.Size(43, 20); this.txtRight.TabIndex = 7; this.txtRight.TextChanged += new System.EventHandler(this.txtRight_TextChanged); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(265, 117); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(71, 13); this.label3.TabIndex = 6; this.label3.Text = "Right Sensor:"; // // txtLeft // this.txtLeft.Location = new System.Drawing.Point(281, 94); this.txtLeft.Name = "txtLeft"; this.txtLeft.Size = new System.Drawing.Size(43, 20); this.txtLeft.TabIndex = 9; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(394, 117); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(64, 13); this.label4.TabIndex = 8; this.label4.Text = "Left Sensor:"; // // btnStart // this.btnStart.Location = new System.Drawing.Point(268, 214); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(100, 23); this.btnStart.TabIndex = 10; this.btnStart.Text = "&Start"; this.btnStart.UseVisualStyleBackColor = true; // // button1 // this.button1.Location = new System.Drawing.Point(268, 243); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(100, 23); this.button1.TabIndex = 11; this.button1.Text = "S&top"; this.button1.UseVisualStyleBackColor = true; // // btnClose // this.btnClose.Location = new System.Drawing.Point(383, 243); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.TabIndex = 12; this.btnClose.Text = "&Close"; this.btnClose.UseVisualStyleBackColor = true; // // txtLog // this.txtLog.Location = new System.Drawing.Point(21, 290); this.txtLog.Multiline = true; this.txtLog.Name = "txtLog"; this.txtLog.Size = new System.Drawing.Size(441, 148); this.txtLog.TabIndex = 13; // // frmMain // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(474, 450); this.Controls.Add(this.txtLog); this.Controls.Add(this.btnClose); this.Controls.Add(this.button1); this.Controls.Add(this.btnStart); this.Controls.Add(this.txtLeft); this.Controls.Add(this.label4); this.Controls.Add(this.txtRight); this.Controls.Add(this.label3); this.Controls.Add(this.txtFront); this.Controls.Add(this.label2); this.Controls.Add(this.compass); this.Controls.Add(this.btnConnect); this.Controls.Add(this.txtPort); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Name = "frmMain"; this.Text = "Blacky C# Client"; this.Load += new System.EventHandler(this.frmMain_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); BunifuAnimatorNS.Animation animation1 = new BunifuAnimatorNS.Animation(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VerifyZF10_template)); this.aGauge1 = new System.Windows.Forms.AGauge(); this.label2 = new System.Windows.Forms.Label(); this.lbStorage = new MetroFramework.Controls.MetroLabel(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.xamlLabelMessage = new MetroFramework.Controls.MetroLabel(); this.lst_msg = new System.Windows.Forms.ListBox(); this.fPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.txt_selectedUser = new Bunifu.Framework.UI.BunifuMaterialTextbox(); this.btnClose = new Bunifu.Framework.UI.BunifuFlatButton(); this.picBusy = new System.Windows.Forms.PictureBox(); this.pic_Webcam = new System.Windows.Forms.PictureBox(); this.xamlImageOnScannerDetect = new System.Windows.Forms.PictureBox(); this.xamlImageOnScannerImage = new System.Windows.Forms.PictureBox(); this.bunifuCards1 = new Bunifu.Framework.UI.BunifuCards(); this.bunifuCards2 = new Bunifu.Framework.UI.BunifuCards(); this.CircleProgressbar1 = new Bunifu.Framework.UI.BunifuCircleProgressbar(); this.pixBarcode = new System.Windows.Forms.PictureBox(); this.bunifuTransition1 = new BunifuAnimatorNS.BunifuTransition(this.components); this.btn_startScan = new Bunifu.Framework.UI.BunifuFlatButton(); this.lb_format = new MetroFramework.Controls.MetroLabel(); this.metroLabel2 = new MetroFramework.Controls.MetroLabel(); this.txt_userDetails = new MetroFramework.Controls.MetroLabel(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.btn_showlarge = new Bunifu.Framework.UI.BunifuFlatButton(); this.lbVersion = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.picBusy)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pic_Webcam)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xamlImageOnScannerDetect)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xamlImageOnScannerImage)).BeginInit(); this.bunifuCards1.SuspendLayout(); this.bunifuCards2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pixBarcode)).BeginInit(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // aGauge1 // this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = -180; this.aGauge1.BaseArcSweep = 180; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); this.bunifuTransition1.SetDecoration(this.aGauge1, BunifuAnimatorNS.DecorationType.None); aGaugeRange1.Color = System.Drawing.Color.Lime; aGaugeRange1.EndValue = 60F; aGaugeRange1.InnerRadius = 1; aGaugeRange1.InRange = false; aGaugeRange1.Name = "GaugeRange1"; aGaugeRange1.OuterRadius = 2; aGaugeRange1.StartValue = 100F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.Location = new System.Drawing.Point(3, 324); this.aGauge1.MaxValue = 100F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge1.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Blue; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 10F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 90; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(205, 128); this.aGauge1.TabIndex = 10; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; // // label2 // this.label2.AutoSize = true; this.bunifuTransition1.SetDecoration(this.label2, BunifuAnimatorNS.DecorationType.None); this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label2.Location = new System.Drawing.Point(31, 283); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(140, 16); this.label2.TabIndex = 12; this.label2.Text = "Best User verified 0%)"; // // lbStorage // this.lbStorage.AutoSize = true; this.bunifuTransition1.SetDecoration(this.lbStorage, BunifuAnimatorNS.DecorationType.None); this.lbStorage.Location = new System.Drawing.Point(251, 496); this.lbStorage.Name = "lbStorage"; this.lbStorage.Size = new System.Drawing.Size(88, 19); this.lbStorage.TabIndex = 13; this.lbStorage.Text = "metroLabel12"; this.lbStorage.Visible = false; // // xamlLabelMessage // this.xamlLabelMessage.AutoSize = true; this.bunifuTransition1.SetDecoration(this.xamlLabelMessage, BunifuAnimatorNS.DecorationType.None); this.xamlLabelMessage.Location = new System.Drawing.Point(242, 515); this.xamlLabelMessage.Name = "xamlLabelMessage"; this.xamlLabelMessage.Size = new System.Drawing.Size(88, 19); this.xamlLabelMessage.TabIndex = 13; this.xamlLabelMessage.Text = "metroLabel13"; this.xamlLabelMessage.Visible = false; // // lst_msg // this.bunifuTransition1.SetDecoration(this.lst_msg, BunifuAnimatorNS.DecorationType.None); this.lst_msg.FormattingEnabled = true; this.lst_msg.HorizontalScrollbar = true; this.lst_msg.Location = new System.Drawing.Point(216, 324); this.lst_msg.Name = "lst_msg"; this.lst_msg.ScrollAlwaysVisible = true; this.lst_msg.Size = new System.Drawing.Size(422, 134); this.lst_msg.TabIndex = 6; this.lst_msg.SelectedIndexChanged += new System.EventHandler(this.xamlListBoxUsers_SelectionChanged); this.lst_msg.SelectedValueChanged += new System.EventHandler(this.xamlListBoxUsers_SelectionChanged); // // fPanel1 // this.bunifuTransition1.SetDecoration(this.fPanel1, BunifuAnimatorNS.DecorationType.None); this.fPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.fPanel1.Location = new System.Drawing.Point(0, 0); this.fPanel1.Name = "fPanel1"; this.fPanel1.Size = new System.Drawing.Size(624, 225); this.fPanel1.TabIndex = 14; // // txt_selectedUser // this.txt_selectedUser.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.None; this.txt_selectedUser.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.None; this.txt_selectedUser.characterCasing = System.Windows.Forms.CharacterCasing.Normal; this.txt_selectedUser.Cursor = System.Windows.Forms.Cursors.IBeam; this.bunifuTransition1.SetDecoration(this.txt_selectedUser, BunifuAnimatorNS.DecorationType.None); this.txt_selectedUser.Font = new System.Drawing.Font("Century Gothic", 9F); this.txt_selectedUser.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); this.txt_selectedUser.HintForeColor = System.Drawing.Color.Empty; this.txt_selectedUser.HintText = "Enter Client Name"; this.txt_selectedUser.isPassword = false; this.txt_selectedUser.LineFocusedColor = System.Drawing.Color.Blue; this.txt_selectedUser.LineIdleColor = System.Drawing.Color.Maroon; this.txt_selectedUser.LineMouseHoverColor = System.Drawing.Color.Blue; this.txt_selectedUser.LineThickness = 3; this.txt_selectedUser.Location = new System.Drawing.Point(23, 64); this.txt_selectedUser.Margin = new System.Windows.Forms.Padding(4); this.txt_selectedUser.MaxLength = 32767; this.txt_selectedUser.Name = "txt_selectedUser"; this.txt_selectedUser.Size = new System.Drawing.Size(185, 33); this.txt_selectedUser.TabIndex = 17; this.txt_selectedUser.TextAlign = System.Windows.Forms.HorizontalAlignment.Left; // // btnClose // this.btnClose.Active = false; this.btnClose.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); this.btnClose.BackColor = System.Drawing.Color.Maroon; this.btnClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btnClose.BorderRadius = 0; this.btnClose.ButtonText = "Close Window"; this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand; this.bunifuTransition1.SetDecoration(this.btnClose, BunifuAnimatorNS.DecorationType.None); this.btnClose.DisabledColor = System.Drawing.Color.Gray; this.btnClose.Iconcolor = System.Drawing.Color.Transparent; this.btnClose.Iconimage = ((System.Drawing.Image)(resources.GetObject("btnClose.Iconimage"))); this.btnClose.Iconimage_right = null; this.btnClose.Iconimage_right_Selected = null; this.btnClose.Iconimage_Selected = null; this.btnClose.IconMarginLeft = 0; this.btnClose.IconMarginRight = 0; this.btnClose.IconRightVisible = true; this.btnClose.IconRightZoom = 0D; this.btnClose.IconVisible = true; this.btnClose.IconZoom = 90D; this.btnClose.IsTab = false; this.btnClose.Location = new System.Drawing.Point(893, 502); this.btnClose.Name = "btnClose"; this.btnClose.Normalcolor = System.Drawing.Color.Maroon; this.btnClose.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btnClose.OnHoverTextColor = System.Drawing.Color.White; this.btnClose.selected = false; this.btnClose.Size = new System.Drawing.Size(166, 35); this.btnClose.TabIndex = 16; this.btnClose.Text = "Close Window"; this.btnClose.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnClose.Textcolor = System.Drawing.Color.White; this.btnClose.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // picBusy // this.bunifuTransition1.SetDecoration(this.picBusy, BunifuAnimatorNS.DecorationType.None); this.picBusy.Image = global::DermalogMultiScannerDemo.Properties.Resources.ajaxLoadingAnimation; this.picBusy.Location = new System.Drawing.Point(851, 464); this.picBusy.Name = "picBusy"; this.picBusy.Size = new System.Drawing.Size(215, 18); this.picBusy.TabIndex = 7; this.picBusy.TabStop = false; this.picBusy.Visible = false; // // pic_Webcam // this.bunifuTransition1.SetDecoration(this.pic_Webcam, BunifuAnimatorNS.DecorationType.None); this.pic_Webcam.Dock = System.Windows.Forms.DockStyle.Fill; this.pic_Webcam.Location = new System.Drawing.Point(0, 0); this.pic_Webcam.Name = "pic_Webcam"; this.pic_Webcam.Size = new System.Drawing.Size(196, 222); this.pic_Webcam.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pic_Webcam.TabIndex = 7; this.pic_Webcam.TabStop = false; // // xamlImageOnScannerDetect // this.xamlImageOnScannerDetect.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.bunifuTransition1.SetDecoration(this.xamlImageOnScannerDetect, BunifuAnimatorNS.DecorationType.None); this.xamlImageOnScannerDetect.Image = global::DermalogMultiScannerDemo.Properties.Resources.fingers4; this.xamlImageOnScannerDetect.Location = new System.Drawing.Point(735, 458); this.xamlImageOnScannerDetect.Name = "xamlImageOnScannerDetect"; this.xamlImageOnScannerDetect.Size = new System.Drawing.Size(49, 38); this.xamlImageOnScannerDetect.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.xamlImageOnScannerDetect.TabIndex = 7; this.xamlImageOnScannerDetect.TabStop = false; this.xamlImageOnScannerDetect.Visible = false; // // xamlImageOnScannerImage // this.xamlImageOnScannerImage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.bunifuTransition1.SetDecoration(this.xamlImageOnScannerImage, BunifuAnimatorNS.DecorationType.None); this.xamlImageOnScannerImage.Image = global::DermalogMultiScannerDemo.Properties.Resources.fingers1; this.xamlImageOnScannerImage.Location = new System.Drawing.Point(790, 458); this.xamlImageOnScannerImage.Name = "xamlImageOnScannerImage"; this.xamlImageOnScannerImage.Size = new System.Drawing.Size(52, 38); this.xamlImageOnScannerImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.xamlImageOnScannerImage.TabIndex = 7; this.xamlImageOnScannerImage.TabStop = false; this.xamlImageOnScannerImage.Visible = false; // // bunifuCards1 // this.bunifuCards1.BackColor = System.Drawing.Color.White; this.bunifuCards1.BorderRadius = 5; this.bunifuCards1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.bunifuCards1.BottomSahddow = true; this.bunifuCards1.color = System.Drawing.Color.Tomato; this.bunifuCards1.Controls.Add(this.fPanel1); this.bunifuTransition1.SetDecoration(this.bunifuCards1, BunifuAnimatorNS.DecorationType.None); this.bunifuCards1.LeftSahddow = false; this.bunifuCards1.Location = new System.Drawing.Point(216, 89); this.bunifuCards1.Name = "bunifuCards1"; this.bunifuCards1.RightSahddow = true; this.bunifuCards1.ShadowDepth = 20; this.bunifuCards1.Size = new System.Drawing.Size(628, 229); this.bunifuCards1.TabIndex = 18; // // bunifuCards2 // this.bunifuCards2.BackColor = System.Drawing.Color.White; this.bunifuCards2.BorderRadius = 5; this.bunifuCards2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.bunifuCards2.BottomSahddow = true; this.bunifuCards2.color = System.Drawing.Color.Tomato; this.bunifuCards2.Controls.Add(this.pic_Webcam); this.bunifuTransition1.SetDecoration(this.bunifuCards2, BunifuAnimatorNS.DecorationType.None); this.bunifuCards2.LeftSahddow = false; this.bunifuCards2.Location = new System.Drawing.Point(859, 89); this.bunifuCards2.Name = "bunifuCards2"; this.bunifuCards2.RightSahddow = true; this.bunifuCards2.ShadowDepth = 30; this.bunifuCards2.Size = new System.Drawing.Size(200, 226); this.bunifuCards2.TabIndex = 19; // // CircleProgressbar1 // this.CircleProgressbar1.animated = false; this.CircleProgressbar1.animationIterval = 5; this.CircleProgressbar1.animationSpeed = 300; this.CircleProgressbar1.BackColor = System.Drawing.Color.White; this.CircleProgressbar1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("CircleProgressbar1.BackgroundImage"))); this.bunifuTransition1.SetDecoration(this.CircleProgressbar1, BunifuAnimatorNS.DecorationType.None); this.CircleProgressbar1.Font = new System.Drawing.Font("Microsoft Sans Serif", 26.25F); this.CircleProgressbar1.ForeColor = System.Drawing.Color.SeaGreen; this.CircleProgressbar1.LabelVisible = true; this.CircleProgressbar1.LineProgressThickness = 8; this.CircleProgressbar1.LineThickness = 5; this.CircleProgressbar1.Location = new System.Drawing.Point(23, 121); this.CircleProgressbar1.Margin = new System.Windows.Forms.Padding(10, 9, 10, 9); this.CircleProgressbar1.MaxValue = 100; this.CircleProgressbar1.Name = "CircleProgressbar1"; this.CircleProgressbar1.ProgressBackColor = System.Drawing.Color.Gainsboro; this.CircleProgressbar1.ProgressColor = System.Drawing.Color.SeaGreen; this.CircleProgressbar1.Size = new System.Drawing.Size(153, 153); this.CircleProgressbar1.TabIndex = 20; this.CircleProgressbar1.Value = 0; this.CircleProgressbar1.Click += new System.EventHandler(this.CircleProgressbar1_Click); // // pixBarcode // this.pixBarcode.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.bunifuTransition1.SetDecoration(this.pixBarcode, BunifuAnimatorNS.DecorationType.None); this.pixBarcode.Location = new System.Drawing.Point(10, 464); this.pixBarcode.Name = "pixBarcode"; this.pixBarcode.Size = new System.Drawing.Size(198, 36); this.pixBarcode.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; this.pixBarcode.TabIndex = 35; this.pixBarcode.TabStop = false; // // bunifuTransition1 // this.bunifuTransition1.AnimationType = BunifuAnimatorNS.AnimationType.Mosaic; this.bunifuTransition1.Cursor = null; animation1.AnimateOnlyDifferences = true; animation1.BlindCoeff = ((System.Drawing.PointF)(resources.GetObject("animation1.BlindCoeff"))); animation1.LeafCoeff = 0F; animation1.MaxTime = 1F; animation1.MinTime = 0F; animation1.MosaicCoeff = ((System.Drawing.PointF)(resources.GetObject("animation1.MosaicCoeff"))); animation1.MosaicShift = ((System.Drawing.PointF)(resources.GetObject("animation1.MosaicShift"))); animation1.MosaicSize = 20; animation1.Padding = new System.Windows.Forms.Padding(30); animation1.RotateCoeff = 0F; animation1.RotateLimit = 0F; animation1.ScaleCoeff = ((System.Drawing.PointF)(resources.GetObject("animation1.ScaleCoeff"))); animation1.SlideCoeff = ((System.Drawing.PointF)(resources.GetObject("animation1.SlideCoeff"))); animation1.TimeCoeff = 0F; animation1.TransparencyCoeff = 0F; this.bunifuTransition1.DefaultAnimation = animation1; // // btn_startScan // this.btn_startScan.Active = false; this.btn_startScan.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); this.btn_startScan.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_startScan.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btn_startScan.BorderRadius = 0; this.btn_startScan.ButtonText = "Start Scanning"; this.btn_startScan.Cursor = System.Windows.Forms.Cursors.Hand; this.bunifuTransition1.SetDecoration(this.btn_startScan, BunifuAnimatorNS.DecorationType.None); this.btn_startScan.DisabledColor = System.Drawing.Color.Gray; this.btn_startScan.Iconcolor = System.Drawing.Color.Transparent; this.btn_startScan.Iconimage = ((System.Drawing.Image)(resources.GetObject("btn_startScan.Iconimage"))); this.btn_startScan.Iconimage_right = null; this.btn_startScan.Iconimage_right_Selected = null; this.btn_startScan.Iconimage_Selected = null; this.btn_startScan.IconMarginLeft = 0; this.btn_startScan.IconMarginRight = 0; this.btn_startScan.IconRightVisible = true; this.btn_startScan.IconRightZoom = 0D; this.btn_startScan.IconVisible = true; this.btn_startScan.IconZoom = 90D; this.btn_startScan.IsTab = false; this.btn_startScan.Location = new System.Drawing.Point(721, 502); this.btn_startScan.Name = "btn_startScan"; this.btn_startScan.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_startScan.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_startScan.OnHoverTextColor = System.Drawing.Color.White; this.btn_startScan.selected = false; this.btn_startScan.Size = new System.Drawing.Size(166, 35); this.btn_startScan.TabIndex = 16; this.btn_startScan.Text = "Start Scanning"; this.btn_startScan.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_startScan.Textcolor = System.Drawing.Color.White; this.btn_startScan.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_startScan.Click += new System.EventHandler(this.btn_startScan_Click); // // lb_format // this.lb_format.AutoSize = true; this.bunifuTransition1.SetDecoration(this.lb_format, BunifuAnimatorNS.DecorationType.None); this.lb_format.Location = new System.Drawing.Point(216, 64); this.lb_format.Name = "lb_format"; this.lb_format.Size = new System.Drawing.Size(88, 19); this.lb_format.TabIndex = 13; this.lb_format.Text = "metroLabel12"; // // metroLabel2 // this.metroLabel2.AutoSize = true; this.bunifuTransition1.SetDecoration(this.metroLabel2, BunifuAnimatorNS.DecorationType.None); this.metroLabel2.Location = new System.Drawing.Point(264, 477); this.metroLabel2.Name = "metroLabel2"; this.metroLabel2.Size = new System.Drawing.Size(88, 19); this.metroLabel2.TabIndex = 13; this.metroLabel2.Text = "metroLabel13"; this.metroLabel2.Visible = false; // // txt_userDetails // this.txt_userDetails.AutoSize = true; this.bunifuTransition1.SetDecoration(this.txt_userDetails, BunifuAnimatorNS.DecorationType.None); this.txt_userDetails.FontWeight = MetroFramework.MetroLabelWeight.Bold; this.txt_userDetails.Location = new System.Drawing.Point(14, 510); this.txt_userDetails.Name = "txt_userDetails"; this.txt_userDetails.Size = new System.Drawing.Size(102, 19); this.txt_userDetails.TabIndex = 13; this.txt_userDetails.Text = "metroLabel13"; this.txt_userDetails.Visible = false; // // groupBox1 // this.groupBox1.Controls.Add(this.textBox1); this.bunifuTransition1.SetDecoration(this.groupBox1, BunifuAnimatorNS.DecorationType.None); this.groupBox1.Location = new System.Drawing.Point(644, 324); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(415, 134); this.groupBox1.TabIndex = 36; this.groupBox1.TabStop = false; this.groupBox1.Text = "Remark"; // // textBox1 // this.bunifuTransition1.SetDecoration(this.textBox1, BunifuAnimatorNS.DecorationType.None); this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Location = new System.Drawing.Point(3, 16); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(409, 115); this.textBox1.TabIndex = 0; // // btn_showlarge // this.btn_showlarge.Active = false; this.btn_showlarge.Activecolor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(139)))), ((int)(((byte)(87))))); this.btn_showlarge.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_showlarge.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.btn_showlarge.BorderRadius = 0; this.btn_showlarge.ButtonText = "Show Enlarged Photo"; this.btn_showlarge.Cursor = System.Windows.Forms.Cursors.Hand; this.bunifuTransition1.SetDecoration(this.btn_showlarge, BunifuAnimatorNS.DecorationType.None); this.btn_showlarge.DisabledColor = System.Drawing.Color.Gray; this.btn_showlarge.Iconcolor = System.Drawing.Color.Transparent; this.btn_showlarge.Iconimage = ((System.Drawing.Image)(resources.GetObject("btn_showlarge.Iconimage"))); this.btn_showlarge.Iconimage_right = null; this.btn_showlarge.Iconimage_right_Selected = null; this.btn_showlarge.Iconimage_Selected = null; this.btn_showlarge.IconMarginLeft = 0; this.btn_showlarge.IconMarginRight = 0; this.btn_showlarge.IconRightVisible = true; this.btn_showlarge.IconRightZoom = 0D; this.btn_showlarge.IconVisible = true; this.btn_showlarge.IconZoom = 90D; this.btn_showlarge.IsTab = false; this.btn_showlarge.Location = new System.Drawing.Point(500, 502); this.btn_showlarge.Name = "btn_showlarge"; this.btn_showlarge.Normalcolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_showlarge.OnHovercolor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(129)))), ((int)(((byte)(77))))); this.btn_showlarge.OnHoverTextColor = System.Drawing.Color.White; this.btn_showlarge.selected = false; this.btn_showlarge.Size = new System.Drawing.Size(215, 35); this.btn_showlarge.TabIndex = 16; this.btn_showlarge.Text = "Show Enlarged Photo"; this.btn_showlarge.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btn_showlarge.Textcolor = System.Drawing.Color.White; this.btn_showlarge.TextFont = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_showlarge.Click += new System.EventHandler(this.btn_showlarge_Click); // // lbVersion // this.lbVersion.AutoSize = true; this.bunifuTransition1.SetDecoration(this.lbVersion, BunifuAnimatorNS.DecorationType.None); this.lbVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbVersion.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.lbVersion.Location = new System.Drawing.Point(783, 22); this.lbVersion.Name = "lbVersion"; this.lbVersion.Size = new System.Drawing.Size(140, 39); this.lbVersion.TabIndex = 42; this.lbVersion.Text = "Version"; // // label1 // this.label1.AutoSize = true; this.bunifuTransition1.SetDecoration(this.label1, BunifuAnimatorNS.DecorationType.None); this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); this.label1.Location = new System.Drawing.Point(635, 22); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(150, 39); this.label1.TabIndex = 41; this.label1.Text = "Version:"; // // VerifyZF10_template // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1081, 548); this.Controls.Add(this.lbVersion); this.Controls.Add(this.label1); this.Controls.Add(this.groupBox1); this.Controls.Add(this.pixBarcode); this.Controls.Add(this.CircleProgressbar1); this.Controls.Add(this.bunifuCards2); this.Controls.Add(this.bunifuCards1); this.Controls.Add(this.txt_selectedUser); this.Controls.Add(this.btn_showlarge); this.Controls.Add(this.btn_startScan); this.Controls.Add(this.btnClose); this.Controls.Add(this.txt_userDetails); this.Controls.Add(this.metroLabel2); this.Controls.Add(this.xamlLabelMessage); this.Controls.Add(this.lb_format); this.Controls.Add(this.lbStorage); this.Controls.Add(this.label2); this.Controls.Add(this.aGauge1); this.Controls.Add(this.picBusy); this.Controls.Add(this.xamlImageOnScannerDetect); this.Controls.Add(this.xamlImageOnScannerImage); this.Controls.Add(this.lst_msg); this.bunifuTransition1.SetDecoration(this, BunifuAnimatorNS.DecorationType.None); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "VerifyZF10_template"; this.Resizable = false; this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow; this.Text = "InforMetriQ Biometric ZF10 Data Verification"; this.Theme = MetroFramework.MetroThemeStyle.Default; this.TopMost = true; this.Load += new System.EventHandler(this.VerifyZF10_Load); ((System.ComponentModel.ISupportInitialize)(this.picBusy)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pic_Webcam)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xamlImageOnScannerDetect)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xamlImageOnScannerImage)).EndInit(); this.bunifuCards1.ResumeLayout(false); this.bunifuCards2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pixBarcode)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.AGaugeLabel aGaugeLabel1 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.LargeChange = 20; this.trackBar1.Location = new System.Drawing.Point(15, 12); this.trackBar1.Maximum = 200; this.trackBar1.Name = "trackBar1"; this.trackBar1.Orientation = System.Windows.Forms.Orientation.Vertical; this.trackBar1.Size = new System.Drawing.Size(45, 238); this.trackBar1.TabIndex = 1; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // aGauge1 // this.aGauge1.BackColor = System.Drawing.SystemColors.Control; this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); aGaugeLabel1.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel1.Font = new System.Drawing.Font("Verdana", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel1.Name = "GaugeLabel1"; aGaugeLabel1.Position = new System.Drawing.Point(85, 130); aGaugeLabel1.Text = "0"; this.aGauge1.GaugeLabels.Add(aGaugeLabel1); aGaugeRange1.Color = System.Drawing.Color.Red; aGaugeRange1.EndValue = 200F; aGaugeRange1.InnerRadius = 70; aGaugeRange1.InRange = false; aGaugeRange1.Name = "AlertRange"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 160F; aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange2.EndValue = 160F; aGaugeRange2.InnerRadius = 70; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange3"; aGaugeRange2.OuterRadius = 75; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.Lime; aGaugeRange3.EndValue = 160F; aGaugeRange3.InnerRadius = 75; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange2"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 0F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.GaugeRanges.Add(aGaugeRange2); this.aGauge1.GaugeRanges.Add(aGaugeRange3); this.aGauge1.Location = new System.Drawing.Point(67, 12); this.aGauge1.MaxValue = 200F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.aGauge1.NeedleColor2 = System.Drawing.Color.Olive; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 20F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(205, 180); this.aGauge1.TabIndex = 0; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; this.aGauge1.ValueChanged += new System.EventHandler(this.aGauge1_ValueChanged); this.aGauge1.ValueInRangeChanged += new System.EventHandler <System.Windows.Forms.ValueInRangeChangedEventArgs>(this.aGauge1_ValueInRangeChanged); // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Location = new System.Drawing.Point(199, 198); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(47, 28); this.panel1.TabIndex = 2; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.panel1); this.Controls.Add(this.trackBar1); this.Controls.Add(this.aGauge1); this.Name = "MainForm"; this.Text = "GaugeDemo"; ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Metodo necessario per il supporto della finestra di progettazione. Non modificare /// il contenuto del metodo con l'editor di codice. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ctPlc)); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); this.lblName = new System.Windows.Forms.Label(); this.btnAccendi = new System.Windows.Forms.Button(); this.btnSpegni = new System.Windows.Forms.Button(); this.lblBit = new System.Windows.Forms.Label(); this.pctStatus = new System.Windows.Forms.PictureBox(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.btnMonitor = new System.Windows.Forms.Button(); this.chkEmulazione = new System.Windows.Forms.CheckBox(); ((System.ComponentModel.ISupportInitialize)(this.pctStatus)).BeginInit(); this.SuspendLayout(); // // lblName // resources.ApplyResources(this.lblName, "lblName"); this.lblName.Name = "lblName"; // // btnAccendi // resources.ApplyResources(this.btnAccendi, "btnAccendi"); this.btnAccendi.Name = "btnAccendi"; this.btnAccendi.UseVisualStyleBackColor = true; this.btnAccendi.Click += new System.EventHandler(this.btnAccendi_Click); // // btnSpegni // resources.ApplyResources(this.btnSpegni, "btnSpegni"); this.btnSpegni.Name = "btnSpegni"; this.btnSpegni.UseVisualStyleBackColor = true; this.btnSpegni.Click += new System.EventHandler(this.btnSpegni_Click); // // lblBit // resources.ApplyResources(this.lblBit, "lblBit"); this.lblBit.ForeColor = System.Drawing.SystemColors.MenuHighlight; this.lblBit.Name = "lblBit"; // // pctStatus // resources.ApplyResources(this.pctStatus, "pctStatus"); this.pctStatus.Name = "pctStatus"; this.pctStatus.TabStop = false; // // aGauge1 // this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 65; this.aGauge1.BaseArcStart = 210; this.aGauge1.BaseArcSweep = 120; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(75, 100); aGaugeRange1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange1.EndValue = 30F; aGaugeRange1.InnerRadius = 60; aGaugeRange1.InRange = false; aGaugeRange1.Name = "GaugeRange1"; aGaugeRange1.OuterRadius = 75; aGaugeRange1.StartValue = 0F; aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); aGaugeRange2.EndValue = 50F; aGaugeRange2.InnerRadius = 60; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange2"; aGaugeRange2.OuterRadius = 75; aGaugeRange2.StartValue = 30F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.GaugeRanges.Add(aGaugeRange2); resources.ApplyResources(this.aGauge1, "aGauge1"); this.aGauge1.MaxValue = 50F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge1.NeedleColor2 = System.Drawing.Color.DimGray; this.aGauge1.NeedleRadius = 75; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 70; this.aGauge1.ScaleLinesInterOuterRadius = 72; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 65; this.aGauge1.ScaleLinesMajorOuterRadius = 70; this.aGauge1.ScaleLinesMajorStepValue = 10F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 65; this.aGauge1.ScaleLinesMinorOuterRadius = 70; this.aGauge1.ScaleLinesMinorTicks = 5; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 80; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 10; this.aGauge1.Value = 0F; // // btnMonitor // resources.ApplyResources(this.btnMonitor, "btnMonitor"); this.btnMonitor.Name = "btnMonitor"; this.btnMonitor.UseVisualStyleBackColor = true; this.btnMonitor.Click += new System.EventHandler(this.btnMonitor_Click); // // chkEmulazione // resources.ApplyResources(this.chkEmulazione, "chkEmulazione"); this.chkEmulazione.Checked = true; this.chkEmulazione.CheckState = System.Windows.Forms.CheckState.Checked; this.chkEmulazione.Name = "chkEmulazione"; this.chkEmulazione.UseVisualStyleBackColor = true; this.chkEmulazione.CheckedChanged += new System.EventHandler(this.chkEmulazione_CheckedChanged); // // ctPlc // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.chkEmulazione); this.Controls.Add(this.btnMonitor); this.Controls.Add(this.aGauge1); this.Controls.Add(this.pctStatus); this.Controls.Add(this.lblBit); this.Controls.Add(this.btnSpegni); this.Controls.Add(this.btnAccendi); this.Controls.Add(this.lblName); this.Name = "ctPlc"; ((System.ComponentModel.ISupportInitialize)(this.pctStatus)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Windows.Forms.AGaugeLabel aGaugeLabel1 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); this.trackBar1 = new System.Windows.Forms.TrackBar(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.panel1 = new System.Windows.Forms.Panel(); ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit(); this.SuspendLayout(); // // trackBar1 // this.trackBar1.LargeChange = 20; this.trackBar1.Location = new System.Drawing.Point(15, 12); this.trackBar1.Maximum = 200; this.trackBar1.Name = "trackBar1"; this.trackBar1.Orientation = System.Windows.Forms.Orientation.Vertical; this.trackBar1.Size = new System.Drawing.Size(45, 238); this.trackBar1.TabIndex = 1; this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None; this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged); // // aGauge1 // this.aGauge1.BackColor = System.Drawing.SystemColors.Control; this.aGauge1.BaseArcColor = System.Drawing.Color.Gray; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(100, 100); aGaugeLabel1.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel1.Font = new System.Drawing.Font("Verdana", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel1.Name = "GaugeLabel1"; aGaugeLabel1.Position = new System.Drawing.Point(85, 130); aGaugeLabel1.Text = "0"; this.aGauge1.GaugeLabels.Add(aGaugeLabel1); aGaugeRange1.Color = System.Drawing.Color.Red; aGaugeRange1.EndValue = 200F; aGaugeRange1.InnerRadius = 70; aGaugeRange1.InRange = false; aGaugeRange1.Name = "AlertRange"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 160F; aGaugeRange2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange2.EndValue = 160F; aGaugeRange2.InnerRadius = 70; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange3"; aGaugeRange2.OuterRadius = 75; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.Lime; aGaugeRange3.EndValue = 160F; aGaugeRange3.InnerRadius = 75; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange2"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 0F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.GaugeRanges.Add(aGaugeRange2); this.aGauge1.GaugeRanges.Add(aGaugeRange3); this.aGauge1.Location = new System.Drawing.Point(67, 12); this.aGauge1.MaxValue = 200F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.aGauge1.NeedleColor2 = System.Drawing.Color.Olive; this.aGauge1.NeedleRadius = 80; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 20F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 0; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(205, 180); this.aGauge1.TabIndex = 0; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; this.aGauge1.ValueChanged += new System.EventHandler(this.aGauge1_ValueChanged); this.aGauge1.ValueInRangeChanged += new System.EventHandler<System.Windows.Forms.ValueInRangeChangedEventArgs>(this.aGauge1_ValueInRangeChanged); // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel1.Location = new System.Drawing.Point(199, 198); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(47, 28); this.panel1.TabIndex = 2; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.panel1); this.Controls.Add(this.trackBar1); this.Controls.Add(this.aGauge1); this.Name = "MainForm"; this.Text = "GaugeDemo"; ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// </summary> private void InitializeComponent() { System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CUTeffi_DrillingModule)); this.aGauge1 = new System.Windows.Forms.AGauge(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.pictureBox5 = new System.Windows.Forms.PictureBox(); this.pictureBox3 = new System.Windows.Forms.PictureBox(); this.label17 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.pictureBox_state = new System.Windows.Forms.PictureBox(); this.panel1 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.label8 = new System.Windows.Forms.Label(); this.panelSetting = new System.Windows.Forms.Panel(); this.label20 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.textBox5 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox3 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.panel9 = new System.Windows.Forms.Panel(); this.panel8 = new System.Windows.Forms.Panel(); this.panel7 = new System.Windows.Forms.Panel(); this.panel6 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox_state)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.panelSetting.SuspendLayout(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // aGauge1 // this.aGauge1.BaseArcColor = System.Drawing.Color.Black; this.aGauge1.BaseArcRadius = 140; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 4; this.aGauge1.Center = new System.Drawing.Point(200, 210); this.aGauge1.Font = new System.Drawing.Font("微軟正黑體", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); aGaugeRange1.Color = System.Drawing.Color.Lime; aGaugeRange1.EndValue = 4F; aGaugeRange1.InnerRadius = 130; aGaugeRange1.InRange = true; aGaugeRange1.Name = "green"; aGaugeRange1.OuterRadius = 140; aGaugeRange1.StartValue = 0F; aGaugeRange2.Color = System.Drawing.Color.Yellow; aGaugeRange2.EndValue = 7F; aGaugeRange2.InnerRadius = 130; aGaugeRange2.InRange = false; aGaugeRange2.Name = "yellow"; aGaugeRange2.OuterRadius = 140; aGaugeRange2.StartValue = 4F; aGaugeRange3.Color = System.Drawing.Color.Red; aGaugeRange3.EndValue = 10F; aGaugeRange3.InnerRadius = 130; aGaugeRange3.InRange = false; aGaugeRange3.Name = "red"; aGaugeRange3.OuterRadius = 140; aGaugeRange3.StartValue = 7F; this.aGauge1.GaugeRanges.Add(aGaugeRange1); this.aGauge1.GaugeRanges.Add(aGaugeRange2); this.aGauge1.GaugeRanges.Add(aGaugeRange3); this.aGauge1.Location = new System.Drawing.Point(0, 100); this.aGauge1.MaxValue = 10F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aGauge1.NeedleColor2 = System.Drawing.Color.Blue; this.aGauge1.NeedleRadius = 135; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 130; this.aGauge1.ScaleLinesInterOuterRadius = 140; this.aGauge1.ScaleLinesInterWidth = 2; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 125; this.aGauge1.ScaleLinesMajorOuterRadius = 140; this.aGauge1.ScaleLinesMajorStepValue = 1F; this.aGauge1.ScaleLinesMajorWidth = 3; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMinorInnerRadius = 133; this.aGauge1.ScaleLinesMinorOuterRadius = 140; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 2; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = ""; this.aGauge1.ScaleNumbersRadius = 160; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 1; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(400, 400); this.aGauge1.TabIndex = 0; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label1.Location = new System.Drawing.Point(27, 91); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(48, 22); this.label1.TabIndex = 1; this.label1.Text = "轉速:"; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label2.Location = new System.Drawing.Point(27, 120); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(48, 22); this.label2.TabIndex = 2; this.label2.Text = "進給:"; // // label3 // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label3.Location = new System.Drawing.Point(99, 91); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 22); this.label3.TabIndex = 3; this.label3.Text = "label3"; // // label4 // this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label4.Location = new System.Drawing.Point(99, 120); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(61, 22); this.label4.TabIndex = 4; this.label4.Text = "label4"; // // groupBox1 // this.groupBox1.Controls.Add(this.pictureBox5); this.groupBox1.Controls.Add(this.pictureBox3); this.groupBox1.Controls.Add(this.label17); this.groupBox1.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.groupBox1.Location = new System.Drawing.Point(400, 225); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(300, 125); this.groupBox1.TabIndex = 6; this.groupBox1.TabStop = false; this.groupBox1.Text = "參數測試"; // // pictureBox5 // this.pictureBox5.Location = new System.Drawing.Point(28, 47); this.pictureBox5.Name = "pictureBox5"; this.pictureBox5.Size = new System.Drawing.Size(50, 50); this.pictureBox5.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox5.TabIndex = 16; this.pictureBox5.TabStop = false; // // pictureBox3 // this.pictureBox3.BackColor = System.Drawing.Color.Transparent; this.pictureBox3.Location = new System.Drawing.Point(175, 19); this.pictureBox3.Name = "pictureBox3"; this.pictureBox3.Size = new System.Drawing.Size(100, 100); this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox3.TabIndex = 14; this.pictureBox3.TabStop = false; // // label17 // this.label17.AutoSize = true; this.label17.Location = new System.Drawing.Point(84, 61); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(67, 24); this.label17.TabIndex = 12; this.label17.Text = "測試中"; // // label14 // this.label14.AutoSize = true; this.label14.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label14.Location = new System.Drawing.Point(27, 62); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(29, 22); this.label14.TabIndex = 9; this.label14.Text = "Y :"; // // label15 // this.label15.AutoSize = true; this.label15.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label15.Location = new System.Drawing.Point(99, 62); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(71, 22); this.label15.TabIndex = 10; this.label15.Text = "label15"; // // label5 // this.label5.AutoSize = true; this.label5.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label5.Location = new System.Drawing.Point(27, 33); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(29, 22); this.label5.TabIndex = 7; this.label5.Text = "X :"; // // label9 // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label9.Location = new System.Drawing.Point(99, 33); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(61, 22); this.label9.TabIndex = 8; this.label9.Text = "label9"; // // label7 // this.label7.AutoSize = true; this.label7.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label7.Location = new System.Drawing.Point(186, 120); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(82, 22); this.label7.TabIndex = 6; this.label7.Text = "mm/min"; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("微軟正黑體", 12.25F, System.Drawing.FontStyle.Bold); this.label6.Location = new System.Drawing.Point(186, 91); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(49, 22); this.label6.TabIndex = 5; this.label6.Text = "RPM"; // // groupBox2 // this.groupBox2.Controls.Add(this.pictureBox_state); this.groupBox2.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.groupBox2.Location = new System.Drawing.Point(400, 100); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(300, 125); this.groupBox2.TabIndex = 7; this.groupBox2.TabStop = false; this.groupBox2.Text = "切削狀態"; // // pictureBox_state // this.pictureBox_state.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox_state.Image"))); this.pictureBox_state.Location = new System.Drawing.Point(101, 18); this.pictureBox_state.Name = "pictureBox_state"; this.pictureBox_state.Size = new System.Drawing.Size(100, 100); this.pictureBox_state.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox_state.TabIndex = 0; this.pictureBox_state.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.pictureBox2); this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(700, 100); this.panel1.TabIndex = 8; // // pictureBox1 // this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(304, 12); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(217, 77); this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox1.TabIndex = 3; this.pictureBox1.TabStop = false; // // pictureBox2 // this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(218, 10); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(80, 80); this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; this.pictureBox2.TabIndex = 2; this.pictureBox2.TabStop = false; this.pictureBox2.Click += new System.EventHandler(this.pictureBox2_Click); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.ControlDark; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(5, 500); this.panel2.TabIndex = 10; // // panel3 // this.panel3.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel3.Location = new System.Drawing.Point(0, 95); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(700, 5); this.panel3.TabIndex = 11; // // label8 // this.label8.AutoSize = true; this.label8.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label8.Location = new System.Drawing.Point(138, 420); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(128, 24); this.label8.TabIndex = 12; this.label8.Text = "Vibration (G)"; // // panelSetting // this.panelSetting.Controls.Add(this.panel2); this.panelSetting.Controls.Add(this.label20); this.panelSetting.Controls.Add(this.label19); this.panelSetting.Controls.Add(this.textBox5); this.panelSetting.Controls.Add(this.textBox4); this.panelSetting.Controls.Add(this.textBox3); this.panelSetting.Controls.Add(this.textBox2); this.panelSetting.Controls.Add(this.textBox1); this.panelSetting.Controls.Add(this.label13); this.panelSetting.Controls.Add(this.label12); this.panelSetting.Controls.Add(this.label11); this.panelSetting.Controls.Add(this.label10); this.panelSetting.Controls.Add(this.button1); this.panelSetting.Controls.Add(this.panel9); this.panelSetting.Controls.Add(this.panel8); this.panelSetting.Controls.Add(this.panel7); this.panelSetting.Controls.Add(this.panel6); this.panelSetting.Controls.Add(this.panel5); this.panelSetting.Location = new System.Drawing.Point(695, 0); this.panelSetting.Name = "panelSetting"; this.panelSetting.Size = new System.Drawing.Size(405, 500); this.panelSetting.TabIndex = 13; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold); this.label20.Location = new System.Drawing.Point(246, 417); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(24, 24); this.label20.TabIndex = 19; this.label20.Text = "~"; // // label19 // this.label19.AutoSize = true; this.label19.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold); this.label19.Location = new System.Drawing.Point(246, 339); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(24, 24); this.label19.TabIndex = 18; this.label19.Text = "~"; // // textBox5 // this.textBox5.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox5.Location = new System.Drawing.Point(274, 411); this.textBox5.Name = "textBox5"; this.textBox5.Size = new System.Drawing.Size(100, 33); this.textBox5.TabIndex = 12; this.textBox5.Text = "200"; // // textBox4 // this.textBox4.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox4.Location = new System.Drawing.Point(274, 335); this.textBox4.Name = "textBox4"; this.textBox4.Size = new System.Drawing.Size(100, 33); this.textBox4.TabIndex = 11; this.textBox4.Text = "2000"; // // textBox3 // this.textBox3.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox3.Location = new System.Drawing.Point(141, 411); this.textBox3.Name = "textBox3"; this.textBox3.Size = new System.Drawing.Size(100, 33); this.textBox3.TabIndex = 10; this.textBox3.Text = "100"; // // textBox2 // this.textBox2.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox2.Location = new System.Drawing.Point(141, 335); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(100, 33); this.textBox2.TabIndex = 9; this.textBox2.Text = "1000"; // // textBox1 // this.textBox1.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.textBox1.Location = new System.Drawing.Point(220, 187); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(100, 33); this.textBox1.TabIndex = 8; this.textBox1.Text = "7"; // // label13 // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label13.Location = new System.Drawing.Point(139, 376); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(184, 24); this.label13.TabIndex = 7; this.label13.Text = "進給範圍 (mm/min)"; // // label12 // this.label12.AutoSize = true; this.label12.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label12.Location = new System.Drawing.Point(139, 300); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(149, 24); this.label12.TabIndex = 6; this.label12.Text = "轉速範圍 (RPM)"; // // label11 // this.label11.AutoSize = true; this.label11.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(136))); this.label11.Location = new System.Drawing.Point(139, 190); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(48, 24); this.label11.TabIndex = 5; this.label11.Text = "閥值"; // // label10 // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("Calibri", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label10.Location = new System.Drawing.Point(210, 36); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(93, 33); this.label10.TabIndex = 4; this.label10.Text = "Setting"; // // button1 // this.button1.BackColor = System.Drawing.SystemColors.Control; this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage"))); this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; this.button1.Location = new System.Drawing.Point(5, 0); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(100, 500); this.button1.TabIndex = 5; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // panel9 // this.panel9.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel9.Location = new System.Drawing.Point(400, 0); this.panel9.Name = "panel9"; this.panel9.Size = new System.Drawing.Size(5, 500); this.panel9.TabIndex = 3; // // panel8 // this.panel8.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel8.Location = new System.Drawing.Point(105, 0); this.panel8.Name = "panel8"; this.panel8.Size = new System.Drawing.Size(5, 500); this.panel8.TabIndex = 2; // // panel7 // this.panel7.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel7.Location = new System.Drawing.Point(105, 95); this.panel7.Name = "panel7"; this.panel7.Size = new System.Drawing.Size(300, 5); this.panel7.TabIndex = 1; // // panel6 // this.panel6.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel6.Location = new System.Drawing.Point(105, 495); this.panel6.Name = "panel6"; this.panel6.Size = new System.Drawing.Size(300, 5); this.panel6.TabIndex = 1; // // panel5 // this.panel5.BackColor = System.Drawing.SystemColors.AppWorkspace; this.panel5.Location = new System.Drawing.Point(105, 0); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(300, 5); this.panel5.TabIndex = 0; // // groupBox3 // this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.label3); this.groupBox3.Controls.Add(this.label2); this.groupBox3.Controls.Add(this.label1); this.groupBox3.Controls.Add(this.label4); this.groupBox3.Controls.Add(this.label6); this.groupBox3.Controls.Add(this.label7); this.groupBox3.Controls.Add(this.label14); this.groupBox3.Controls.Add(this.label5); this.groupBox3.Controls.Add(this.label15); this.groupBox3.Font = new System.Drawing.Font("微軟正黑體", 14.25F, System.Drawing.FontStyle.Bold); this.groupBox3.Location = new System.Drawing.Point(400, 350); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(300, 150); this.groupBox3.TabIndex = 14; this.groupBox3.TabStop = false; this.groupBox3.Text = "孔位資訊"; // // CUTeffi_DrillingModule // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1100, 500); this.Controls.Add(this.panelSetting); this.Controls.Add(this.label8); this.Controls.Add(this.panel3); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.aGauge1); this.Controls.Add(this.panel1); this.Controls.Add(this.groupBox3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "CUTeffi_DrillingModule"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "CUTeffi"; this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox_state)).EndInit(); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.panelSetting.ResumeLayout(false); this.panelSetting.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard)); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); this.timer = new System.Windows.Forms.Timer(this.components); this.gauge = new System.Windows.Forms.AGauge(); this.lblBar = new Bunifu.UI.WinForms.BunifuLabel(); this.pieChart = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.circleProgress = new Bunifu.UI.WinForms.BunifuCircleProgress(); this.panel = new System.Windows.Forms.Panel(); this.lblTemperature = new Bunifu.UI.WinForms.BunifuLabel(); this.separatorSideLeft = new Bunifu.UI.WinForms.BunifuSeparator(); this.separatorMiddle = new Bunifu.UI.WinForms.BunifuSeparator(); this.separatorSideMiddle = new Bunifu.UI.WinForms.BunifuSeparator(); this.separatorSideRight = new Bunifu.UI.WinForms.BunifuSeparator(); this.separatorTop = new Bunifu.UI.WinForms.BunifuSeparator(); this.lblPressure = new Bunifu.UI.WinForms.BunifuLabel(); this.cartesianChart = new LiveCharts.WinForms.CartesianChart(); ((System.ComponentModel.ISupportInitialize)(this.pieChart)).BeginInit(); this.panel.SuspendLayout(); this.SuspendLayout(); // // timer // this.timer.Interval = 3000; // // gauge // this.gauge.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.gauge.BaseArcColor = System.Drawing.Color.Orange; this.gauge.BaseArcRadius = 80; this.gauge.BaseArcStart = 135; this.gauge.BaseArcSweep = 270; this.gauge.BaseArcWidth = 2; this.gauge.Center = new System.Drawing.Point(125, 125); this.gauge.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeRange1.Color = System.Drawing.Color.LimeGreen; aGaugeRange1.EndValue = 40F; aGaugeRange1.InnerRadius = 74; aGaugeRange1.InRange = true; aGaugeRange1.Name = "Normal"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 0F; aGaugeRange2.Color = System.Drawing.Color.Orange; aGaugeRange2.EndValue = 80F; aGaugeRange2.InnerRadius = 74; aGaugeRange2.InRange = false; aGaugeRange2.Name = "Alert"; aGaugeRange2.OuterRadius = 80; aGaugeRange2.StartValue = 40F; aGaugeRange3.Color = System.Drawing.Color.Red; aGaugeRange3.EndValue = 120F; aGaugeRange3.InnerRadius = 74; aGaugeRange3.InRange = false; aGaugeRange3.Name = "Danger"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 80F; this.gauge.GaugeRanges.Add(aGaugeRange1); this.gauge.GaugeRanges.Add(aGaugeRange2); this.gauge.GaugeRanges.Add(aGaugeRange3); this.gauge.Location = new System.Drawing.Point(281, 377); this.gauge.MaxValue = 120F; this.gauge.MinValue = 0F; this.gauge.Name = "gauge"; this.gauge.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Red; this.gauge.NeedleColor2 = System.Drawing.Color.DimGray; this.gauge.NeedleRadius = 80; this.gauge.NeedleType = System.Windows.Forms.NeedleType.Advance; this.gauge.NeedleWidth = 2; this.gauge.ScaleLinesInterColor = System.Drawing.Color.White; this.gauge.ScaleLinesInterInnerRadius = 73; this.gauge.ScaleLinesInterOuterRadius = 80; this.gauge.ScaleLinesInterWidth = 1; this.gauge.ScaleLinesMajorColor = System.Drawing.Color.White; this.gauge.ScaleLinesMajorInnerRadius = 70; this.gauge.ScaleLinesMajorOuterRadius = 80; this.gauge.ScaleLinesMajorStepValue = 10F; this.gauge.ScaleLinesMajorWidth = 2; this.gauge.ScaleLinesMinorColor = System.Drawing.Color.Transparent; this.gauge.ScaleLinesMinorInnerRadius = 75; this.gauge.ScaleLinesMinorOuterRadius = 80; this.gauge.ScaleLinesMinorTicks = 9; this.gauge.ScaleLinesMinorWidth = 1; this.gauge.ScaleNumbersColor = System.Drawing.Color.White; this.gauge.ScaleNumbersFormat = ""; this.gauge.ScaleNumbersRadius = 95; this.gauge.ScaleNumbersRotation = 0; this.gauge.ScaleNumbersStartScaleLine = 1; this.gauge.ScaleNumbersStepScaleLines = 10; this.gauge.Size = new System.Drawing.Size(333, 294); this.gauge.TabIndex = 22; this.gauge.Value = 5F; // // lblBar // this.lblBar.AllowParentOverrides = false; this.lblBar.AutoEllipsis = false; this.lblBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.lblBar.Cursor = System.Windows.Forms.Cursors.Default; this.lblBar.CursorType = System.Windows.Forms.Cursors.Default; this.lblBar.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblBar.ForeColor = System.Drawing.Color.Transparent; this.lblBar.Location = new System.Drawing.Point(381, 610); this.lblBar.Name = "lblBar"; this.lblBar.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblBar.Size = new System.Drawing.Size(122, 20); this.lblBar.TabIndex = 23; this.lblBar.Text = "10 millibar = 1kPa"; this.lblBar.TextAlignment = System.Drawing.ContentAlignment.TopLeft; this.lblBar.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // pieChart // this.pieChart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.pieChart.BorderlineColor = System.Drawing.Color.Transparent; chartArea1.AxisX.IsLabelAutoFit = false; chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Century Gothic", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); chartArea1.AxisX.LabelStyle.ForeColor = System.Drawing.Color.White; chartArea1.AxisY.IsLabelAutoFit = false; chartArea1.AxisY.LabelStyle.Font = new System.Drawing.Font("Century Gothic", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); chartArea1.AxisY.LabelStyle.ForeColor = System.Drawing.Color.White; chartArea1.BackColor = System.Drawing.Color.Transparent; chartArea1.BackSecondaryColor = System.Drawing.Color.Transparent; chartArea1.Name = "ChartArea"; this.pieChart.ChartAreas.Add(chartArea1); legend1.BackColor = System.Drawing.Color.Transparent; legend1.ForeColor = System.Drawing.Color.White; legend1.Name = "Legend"; this.pieChart.Legends.Add(legend1); this.pieChart.Location = new System.Drawing.Point(620, 377); this.pieChart.Name = "pieChart"; this.pieChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.None; series1.ChartArea = "ChartArea"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Pie; series1.CustomProperties = "CollectedSliceExploded=True"; series1.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); series1.Legend = "Legend"; series1.Name = "Series"; this.pieChart.Series.Add(series1); this.pieChart.Size = new System.Drawing.Size(408, 294); this.pieChart.TabIndex = 24; // // circleProgress // this.circleProgress.Animated = false; this.circleProgress.AnimationInterval = 1; this.circleProgress.AnimationSpeed = 1; this.circleProgress.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.circleProgress.CircleMargin = 25; this.circleProgress.Font = new System.Drawing.Font("Century Gothic", 34.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.circleProgress.ForeColor = System.Drawing.Color.White; this.circleProgress.IsPercentage = false; this.circleProgress.LineProgressThickness = 10; this.circleProgress.LineThickness = 10; this.circleProgress.Location = new System.Drawing.Point(1, 18); this.circleProgress.Name = "circleProgress"; this.circleProgress.ProgressAnimationSpeed = 200; this.circleProgress.ProgressBackColor = System.Drawing.Color.Gainsboro; this.circleProgress.ProgressColor = System.Drawing.Color.Orange; this.circleProgress.ProgressColor2 = System.Drawing.Color.Orange; this.circleProgress.ProgressEndCap = Bunifu.UI.WinForms.BunifuCircleProgress.CapStyles.Round; this.circleProgress.ProgressFillStyle = Bunifu.UI.WinForms.BunifuCircleProgress.FillStyles.Gradient; this.circleProgress.ProgressStartCap = Bunifu.UI.WinForms.BunifuCircleProgress.CapStyles.Round; this.circleProgress.SecondaryFont = new System.Drawing.Font("Century Gothic", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.circleProgress.Size = new System.Drawing.Size(262, 262); this.circleProgress.SubScriptColor = System.Drawing.Color.White; this.circleProgress.SubScriptMargin = new System.Windows.Forms.Padding(5, -20, 0, 0); this.circleProgress.SubScriptText = ".00"; this.circleProgress.SuperScriptColor = System.Drawing.Color.White; this.circleProgress.SuperScriptMargin = new System.Windows.Forms.Padding(5, 20, 0, 0); this.circleProgress.SuperScriptText = "°C"; this.circleProgress.TabIndex = 16; this.circleProgress.Text = "30"; this.circleProgress.TextMargin = new System.Windows.Forms.Padding(0, 5, 0, 0); this.circleProgress.Value = 30; this.circleProgress.ValueByTransition = 30; this.circleProgress.ValueMargin = new System.Windows.Forms.Padding(0, 5, 0, 0); // // panel // this.panel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.panel.Controls.Add(this.lblTemperature); this.panel.Controls.Add(this.circleProgress); this.panel.Location = new System.Drawing.Point(12, 377); this.panel.Name = "panel"; this.panel.Size = new System.Drawing.Size(264, 294); this.panel.TabIndex = 25; // // lblTemperature // this.lblTemperature.AllowParentOverrides = false; this.lblTemperature.AutoEllipsis = false; this.lblTemperature.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.lblTemperature.Cursor = System.Windows.Forms.Cursors.Default; this.lblTemperature.CursorType = System.Windows.Forms.Cursors.Default; this.lblTemperature.Font = new System.Drawing.Font("Century Gothic", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTemperature.ForeColor = System.Drawing.Color.White; this.lblTemperature.Location = new System.Drawing.Point(55, 0); this.lblTemperature.Name = "lblTemperature"; this.lblTemperature.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblTemperature.Size = new System.Drawing.Size(156, 31); this.lblTemperature.TabIndex = 17; this.lblTemperature.Text = "Temperature"; this.lblTemperature.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.lblTemperature.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // separatorSideLeft // this.separatorSideLeft.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.separatorSideLeft.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("separatorSideLeft.BackgroundImage"))); this.separatorSideLeft.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.separatorSideLeft.LineColor = System.Drawing.Color.Transparent; this.separatorSideLeft.LineStyle = Bunifu.UI.WinForms.BunifuSeparator.LineStyles.Solid; this.separatorSideLeft.LineThickness = 1; this.separatorSideLeft.Location = new System.Drawing.Point(0, 0); this.separatorSideLeft.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.separatorSideLeft.Name = "separatorSideLeft"; this.separatorSideLeft.Orientation = Bunifu.UI.WinForms.BunifuSeparator.LineOrientation.Vertical; this.separatorSideLeft.Size = new System.Drawing.Size(12, 670); this.separatorSideLeft.TabIndex = 26; // // separatorMiddle // this.separatorMiddle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.separatorMiddle.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("separatorMiddle.BackgroundImage"))); this.separatorMiddle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.separatorMiddle.LineColor = System.Drawing.Color.Transparent; this.separatorMiddle.LineStyle = Bunifu.UI.WinForms.BunifuSeparator.LineStyles.Solid; this.separatorMiddle.LineThickness = 1; this.separatorMiddle.Location = new System.Drawing.Point(0, 357); this.separatorMiddle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.separatorMiddle.Name = "separatorMiddle"; this.separatorMiddle.Orientation = Bunifu.UI.WinForms.BunifuSeparator.LineOrientation.Horizontal; this.separatorMiddle.Size = new System.Drawing.Size(1010, 16); this.separatorMiddle.TabIndex = 27; // // separatorSideMiddle // this.separatorSideMiddle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.separatorSideMiddle.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("separatorSideMiddle.BackgroundImage"))); this.separatorSideMiddle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.separatorSideMiddle.LineColor = System.Drawing.Color.Transparent; this.separatorSideMiddle.LineStyle = Bunifu.UI.WinForms.BunifuSeparator.LineStyles.Solid; this.separatorSideMiddle.LineThickness = 1; this.separatorSideMiddle.Location = new System.Drawing.Point(273, 363); this.separatorSideMiddle.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.separatorSideMiddle.Name = "separatorSideMiddle"; this.separatorSideMiddle.Orientation = Bunifu.UI.WinForms.BunifuSeparator.LineOrientation.Vertical; this.separatorSideMiddle.Size = new System.Drawing.Size(12, 307); this.separatorSideMiddle.TabIndex = 28; // // separatorSideRight // this.separatorSideRight.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.separatorSideRight.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("separatorSideRight.BackgroundImage"))); this.separatorSideRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.separatorSideRight.LineColor = System.Drawing.Color.Transparent; this.separatorSideRight.LineStyle = Bunifu.UI.WinForms.BunifuSeparator.LineStyles.Solid; this.separatorSideRight.LineThickness = 1; this.separatorSideRight.Location = new System.Drawing.Point(612, 364); this.separatorSideRight.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.separatorSideRight.Name = "separatorSideRight"; this.separatorSideRight.Orientation = Bunifu.UI.WinForms.BunifuSeparator.LineOrientation.Vertical; this.separatorSideRight.Size = new System.Drawing.Size(12, 307); this.separatorSideRight.TabIndex = 29; // // separatorTop // this.separatorTop.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.separatorTop.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("separatorTop.BackgroundImage"))); this.separatorTop.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.separatorTop.LineColor = System.Drawing.Color.Transparent; this.separatorTop.LineStyle = Bunifu.UI.WinForms.BunifuSeparator.LineStyles.Solid; this.separatorTop.LineThickness = 1; this.separatorTop.Location = new System.Drawing.Point(0, 0); this.separatorTop.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.separatorTop.Name = "separatorTop"; this.separatorTop.Orientation = Bunifu.UI.WinForms.BunifuSeparator.LineOrientation.Horizontal; this.separatorTop.Size = new System.Drawing.Size(1010, 10); this.separatorTop.TabIndex = 30; // // lblPressure // this.lblPressure.AllowParentOverrides = false; this.lblPressure.AutoEllipsis = false; this.lblPressure.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.lblPressure.Cursor = System.Windows.Forms.Cursors.Default; this.lblPressure.CursorType = System.Windows.Forms.Cursors.Default; this.lblPressure.Font = new System.Drawing.Font("Century Gothic", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblPressure.ForeColor = System.Drawing.Color.White; this.lblPressure.Location = new System.Drawing.Point(391, 377); this.lblPressure.Name = "lblPressure"; this.lblPressure.RightToLeft = System.Windows.Forms.RightToLeft.No; this.lblPressure.Size = new System.Drawing.Size(98, 31); this.lblPressure.TabIndex = 18; this.lblPressure.Text = "Pressure"; this.lblPressure.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.lblPressure.TextFormat = Bunifu.UI.WinForms.BunifuLabel.TextFormattingOptions.Default; // // cartesianChart // this.cartesianChart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(36)))), ((int)(((byte)(49)))), ((int)(((byte)(60))))); this.cartesianChart.Font = new System.Drawing.Font("Century Gothic", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.cartesianChart.ForeColor = System.Drawing.Color.White; this.cartesianChart.Location = new System.Drawing.Point(12, 12); this.cartesianChart.Name = "cartesianChart"; this.cartesianChart.Size = new System.Drawing.Size(1000, 344); this.cartesianChart.TabIndex = 31; // // Dashboard // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(81)))), ((int)(((byte)(89))))); this.ClientSize = new System.Drawing.Size(1010, 670); this.Controls.Add(this.lblPressure); this.Controls.Add(this.separatorSideLeft); this.Controls.Add(this.separatorTop); this.Controls.Add(this.separatorSideRight); this.Controls.Add(this.separatorSideMiddle); this.Controls.Add(this.separatorMiddle); this.Controls.Add(this.pieChart); this.Controls.Add(this.lblBar); this.Controls.Add(this.gauge); this.Controls.Add(this.panel); this.Controls.Add(this.cartesianChart); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Dashboard"; this.ShowIcon = false; this.ShowInTaskbar = false; this.Load += new System.EventHandler(this.Dashboard_Load); ((System.ComponentModel.ISupportInitialize)(this.pieChart)).EndInit(); this.panel.ResumeLayout(false); this.panel.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange4 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine1 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine2 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine3 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine4 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine5 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.StripLine stripLine6 = new System.Windows.Forms.DataVisualization.Charting.StripLine(); System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea(); System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series4 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series5 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series6 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series7 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series8 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Series series9 = new System.Windows.Forms.DataVisualization.Charting.Series(); System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.Windows.Forms.DataVisualization.Charting.Title title2 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.Windows.Forms.DataVisualization.Charting.Title title3 = new System.Windows.Forms.DataVisualization.Charting.Title(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.btnStart = new System.Windows.Forms.Button(); this.btnSettings = new System.Windows.Forms.Button(); this.btnAbout = new System.Windows.Forms.Button(); this.btnLog = new System.Windows.Forms.Button(); this.aFanGauge = new System.Windows.Forms.AGauge(); this.aHeaterGauge = new System.Windows.Forms.AGauge(); this.trackBar_HeaterPWM = new System.Windows.Forms.TrackBar(); this.txtLog = new System.Windows.Forms.RichTextBox(); this.txtFldTemp2 = new System.Windows.Forms.TextBox(); this.txtFldTemp3 = new System.Windows.Forms.TextBox(); this.txtFldTemp1 = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.logRefreshTimer = new System.Windows.Forms.Timer(this.components); this.serialPort1 = new System.IO.Ports.SerialPort(this.components); this.timer_main = new System.Windows.Forms.Timer(this.components); this.timer_debug_changetext = new System.Windows.Forms.Timer(this.components); this.timer_debug_portread = new System.Windows.Forms.Timer(this.components); this.btnSimulate = new System.Windows.Forms.Button(); this.trackBar_FanPWM = new System.Windows.Forms.TrackBar(); this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.txtControlFanPWM = new System.Windows.Forms.TextBox(); this.txtControlHeaterPWM = new System.Windows.Forms.TextBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.txtFldDTemp = new System.Windows.Forms.TextBox(); this.txtDewPoint = new System.Windows.Forms.TextBox(); this.txtFldHumidity = new System.Windows.Forms.TextBox(); this.txtSecondaryDelta = new System.Windows.Forms.TextBox(); this.txtMainDelta = new System.Windows.Forms.TextBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.chkAutoHeatingControlling = new System.Windows.Forms.CheckBox(); this.chkAutoFanControlling = new System.Windows.Forms.CheckBox(); this.txtFldHeaterPWM = new System.Windows.Forms.TextBox(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.txtFldRPM = new System.Windows.Forms.TextBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.btnOnOff = new System.Windows.Forms.Button(); this.backgroundWorker_SocketServer = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.trackBar_HeaterPWM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar_FanPWM)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // btnStart // this.btnStart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnStart.Location = new System.Drawing.Point(1317, 11); this.btnStart.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(172, 35); this.btnStart.TabIndex = 1; this.btnStart.Text = "Start"; this.toolTip1.SetToolTip(this.btnStart, "Start/stop program (start/stop reading/writing data to hardware module)"); this.btnStart.UseVisualStyleBackColor = true; this.btnStart.Click += new System.EventHandler(this.btnStart_Click); // // btnSettings // this.btnSettings.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSettings.Location = new System.Drawing.Point(1317, 151); this.btnSettings.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnSettings.Name = "btnSettings"; this.btnSettings.Size = new System.Drawing.Size(172, 35); this.btnSettings.TabIndex = 1; this.btnSettings.Text = "Settings"; this.btnSettings.UseVisualStyleBackColor = true; this.btnSettings.Click += new System.EventHandler(this.btnSettings_Click); // // btnAbout // this.btnAbout.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAbout.Location = new System.Drawing.Point(1317, 314); this.btnAbout.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnAbout.Name = "btnAbout"; this.btnAbout.Size = new System.Drawing.Size(172, 35); this.btnAbout.TabIndex = 1; this.btnAbout.Text = "About"; this.btnAbout.UseVisualStyleBackColor = true; this.btnAbout.Click += new System.EventHandler(this.btnAbout_Click); // // btnLog // this.btnLog.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnLog.Location = new System.Drawing.Point(1317, 195); this.btnLog.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnLog.Name = "btnLog"; this.btnLog.Size = new System.Drawing.Size(172, 35); this.btnLog.TabIndex = 1; this.btnLog.Text = "Log"; this.btnLog.UseVisualStyleBackColor = true; this.btnLog.Click += new System.EventHandler(this.btnLog_Click); // // aFanGauge // this.aFanGauge.BaseArcColor = System.Drawing.Color.Gray; this.aFanGauge.BaseArcRadius = 60; this.aFanGauge.BaseArcStart = 135; this.aFanGauge.BaseArcSweep = 270; this.aFanGauge.BaseArcWidth = 2; this.aFanGauge.Center = new System.Drawing.Point(110, 90); aGaugeRange1.Color = System.Drawing.Color.Red; aGaugeRange1.EndValue = 1300F; aGaugeRange1.InnerRadius = 50; aGaugeRange1.InRange = false; aGaugeRange1.Name = "GaugeRange1"; aGaugeRange1.OuterRadius = 60; aGaugeRange1.StartValue = 1000F; aGaugeRange2.Color = System.Drawing.Color.DimGray; aGaugeRange2.EndValue = 150F; aGaugeRange2.InnerRadius = 50; aGaugeRange2.InRange = false; aGaugeRange2.Name = "GaugeRange2"; aGaugeRange2.OuterRadius = 60; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); aGaugeRange3.EndValue = 400F; aGaugeRange3.InnerRadius = 50; aGaugeRange3.InRange = false; aGaugeRange3.Name = "GaugeRange3"; aGaugeRange3.OuterRadius = 60; aGaugeRange3.StartValue = 150F; this.aFanGauge.GaugeRanges.Add(aGaugeRange1); this.aFanGauge.GaugeRanges.Add(aGaugeRange2); this.aFanGauge.GaugeRanges.Add(aGaugeRange3); this.aFanGauge.Location = new System.Drawing.Point(6, 26); this.aFanGauge.MaxValue = 1300F; this.aFanGauge.MinValue = 0F; this.aFanGauge.Name = "aFanGauge"; this.aFanGauge.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aFanGauge.NeedleColor2 = System.Drawing.Color.DimGray; this.aFanGauge.NeedleRadius = 60; this.aFanGauge.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aFanGauge.NeedleWidth = 2; this.aFanGauge.ScaleLinesInterColor = System.Drawing.Color.Black; this.aFanGauge.ScaleLinesInterInnerRadius = 53; this.aFanGauge.ScaleLinesInterOuterRadius = 60; this.aFanGauge.ScaleLinesInterWidth = 1; this.aFanGauge.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aFanGauge.ScaleLinesMajorInnerRadius = 50; this.aFanGauge.ScaleLinesMajorOuterRadius = 60; this.aFanGauge.ScaleLinesMajorStepValue = 100F; this.aFanGauge.ScaleLinesMajorWidth = 2; this.aFanGauge.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aFanGauge.ScaleLinesMinorInnerRadius = 55; this.aFanGauge.ScaleLinesMinorOuterRadius = 60; this.aFanGauge.ScaleLinesMinorTicks = 9; this.aFanGauge.ScaleLinesMinorWidth = 1; this.aFanGauge.ScaleNumbersColor = System.Drawing.Color.Black; this.aFanGauge.ScaleNumbersFormat = null; this.aFanGauge.ScaleNumbersRadius = 75; this.aFanGauge.ScaleNumbersRotation = 0; this.aFanGauge.ScaleNumbersStartScaleLine = 0; this.aFanGauge.ScaleNumbersStepScaleLines = 1; this.aFanGauge.Size = new System.Drawing.Size(330, 231); this.aFanGauge.TabIndex = 3; this.aFanGauge.Text = "aFanGauge"; this.aFanGauge.Value = 0F; // // aHeaterGauge // this.aHeaterGauge.BaseArcColor = System.Drawing.Color.Gray; this.aHeaterGauge.BaseArcRadius = 60; this.aHeaterGauge.BaseArcStart = 135; this.aHeaterGauge.BaseArcSweep = 270; this.aHeaterGauge.BaseArcWidth = 2; this.aHeaterGauge.Center = new System.Drawing.Point(110, 90); aGaugeRange4.Color = System.Drawing.Color.Red; aGaugeRange4.EndValue = 100F; aGaugeRange4.InnerRadius = 40; aGaugeRange4.InRange = false; aGaugeRange4.Name = "GaugeRange1"; aGaugeRange4.OuterRadius = 50; aGaugeRange4.StartValue = 90F; this.aHeaterGauge.GaugeRanges.Add(aGaugeRange4); this.aHeaterGauge.Location = new System.Drawing.Point(339, 26); this.aHeaterGauge.MaxValue = 100F; this.aHeaterGauge.MinValue = 0F; this.aHeaterGauge.Name = "aHeaterGauge"; this.aHeaterGauge.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.aHeaterGauge.NeedleColor2 = System.Drawing.Color.DimGray; this.aHeaterGauge.NeedleRadius = 60; this.aHeaterGauge.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aHeaterGauge.NeedleWidth = 2; this.aHeaterGauge.ScaleLinesInterColor = System.Drawing.Color.Black; this.aHeaterGauge.ScaleLinesInterInnerRadius = 53; this.aHeaterGauge.ScaleLinesInterOuterRadius = 60; this.aHeaterGauge.ScaleLinesInterWidth = 1; this.aHeaterGauge.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aHeaterGauge.ScaleLinesMajorInnerRadius = 50; this.aHeaterGauge.ScaleLinesMajorOuterRadius = 60; this.aHeaterGauge.ScaleLinesMajorStepValue = 10F; this.aHeaterGauge.ScaleLinesMajorWidth = 2; this.aHeaterGauge.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aHeaterGauge.ScaleLinesMinorInnerRadius = 55; this.aHeaterGauge.ScaleLinesMinorOuterRadius = 60; this.aHeaterGauge.ScaleLinesMinorTicks = 9; this.aHeaterGauge.ScaleLinesMinorWidth = 1; this.aHeaterGauge.ScaleNumbersColor = System.Drawing.Color.Black; this.aHeaterGauge.ScaleNumbersFormat = null; this.aHeaterGauge.ScaleNumbersRadius = 72; this.aHeaterGauge.ScaleNumbersRotation = 0; this.aHeaterGauge.ScaleNumbersStartScaleLine = 2; this.aHeaterGauge.ScaleNumbersStepScaleLines = 1; this.aHeaterGauge.Size = new System.Drawing.Size(330, 231); this.aHeaterGauge.TabIndex = 3; this.aHeaterGauge.Text = "aFanGauge"; this.aHeaterGauge.Value = 0F; // // trackBar_HeaterPWM // this.trackBar_HeaterPWM.LargeChange = 10; this.trackBar_HeaterPWM.Location = new System.Drawing.Point(394, 260); this.trackBar_HeaterPWM.Maximum = 255; this.trackBar_HeaterPWM.Name = "trackBar_HeaterPWM"; this.trackBar_HeaterPWM.Size = new System.Drawing.Size(228, 69); this.trackBar_HeaterPWM.SmallChange = 5; this.trackBar_HeaterPWM.TabIndex = 4; this.trackBar_HeaterPWM.TickFrequency = 10; this.trackBar_HeaterPWM.ValueChanged += new System.EventHandler(this.trackBar_HeaterPWM_ValueChanged); // // txtLog // this.txtLog.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtLog.Location = new System.Drawing.Point(692, 14); this.txtLog.Name = "txtLog"; this.txtLog.Size = new System.Drawing.Size(602, 458); this.txtLog.TabIndex = 5; this.txtLog.Text = ""; // // txtFldTemp2 // this.txtFldTemp2.BackColor = System.Drawing.SystemColors.Window; this.txtFldTemp2.Location = new System.Drawing.Point(62, 49); this.txtFldTemp2.Name = "txtFldTemp2"; this.txtFldTemp2.ReadOnly = true; this.txtFldTemp2.Size = new System.Drawing.Size(64, 26); this.txtFldTemp2.TabIndex = 6; // // txtFldTemp3 // this.txtFldTemp3.BackColor = System.Drawing.SystemColors.Window; this.txtFldTemp3.Location = new System.Drawing.Point(290, 49); this.txtFldTemp3.Name = "txtFldTemp3"; this.txtFldTemp3.ReadOnly = true; this.txtFldTemp3.Size = new System.Drawing.Size(60, 26); this.txtFldTemp3.TabIndex = 6; // // txtFldTemp1 // this.txtFldTemp1.BackColor = System.Drawing.SystemColors.Window; this.txtFldTemp1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtFldTemp1.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.txtFldTemp1.Location = new System.Drawing.Point(168, 49); this.txtFldTemp1.Name = "txtFldTemp1"; this.txtFldTemp1.ReadOnly = true; this.txtFldTemp1.Size = new System.Drawing.Size(71, 25); this.txtFldTemp1.TabIndex = 6; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(48, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(89, 20); this.label1.TabIndex = 7; this.label1.Text = "Mirror temp"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(256, 23); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(125, 20); this.label2.TabIndex = 7; this.label2.Text = "Secondary temp"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(180, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(49, 20); this.label3.TabIndex = 7; this.label3.Text = "Temp"; // // logRefreshTimer // this.logRefreshTimer.Enabled = true; this.logRefreshTimer.Interval = 1500; this.logRefreshTimer.Tick += new System.EventHandler(this.logRefreshTimer_Tick); // // timer_main // this.timer_main.Interval = 5000; this.timer_main.Tick += new System.EventHandler(this.timer_main_Tick); // // timer_debug_changetext // this.timer_debug_changetext.Interval = 4400; this.timer_debug_changetext.Tick += new System.EventHandler(this.timer_debug_Tick); // // timer_debug_portread // this.timer_debug_portread.Tick += new System.EventHandler(this.timer_debug_portread_Tick); // // btnSimulate // this.btnSimulate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSimulate.Location = new System.Drawing.Point(1317, 271); this.btnSimulate.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnSimulate.Name = "btnSimulate"; this.btnSimulate.Size = new System.Drawing.Size(172, 35); this.btnSimulate.TabIndex = 1; this.btnSimulate.Text = "Simulate"; this.btnSimulate.UseVisualStyleBackColor = true; this.btnSimulate.Click += new System.EventHandler(this.btnSimulate_Click); // // trackBar_FanPWM // this.trackBar_FanPWM.LargeChange = 10; this.trackBar_FanPWM.Location = new System.Drawing.Point(80, 254); this.trackBar_FanPWM.Maximum = 255; this.trackBar_FanPWM.Name = "trackBar_FanPWM"; this.trackBar_FanPWM.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.trackBar_FanPWM.RightToLeftLayout = true; this.trackBar_FanPWM.Size = new System.Drawing.Size(195, 69); this.trackBar_FanPWM.SmallChange = 5; this.trackBar_FanPWM.TabIndex = 4; this.trackBar_FanPWM.TickFrequency = 10; this.trackBar_FanPWM.ValueChanged += new System.EventHandler(this.trackBar_FanPWM_ValueChanged); // // chart1 // this.chart1.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.chart1.BackColor = System.Drawing.Color.Transparent; this.chart1.BorderlineColor = System.Drawing.Color.LightGray; this.chart1.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea1.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea1.AxisX.LabelAutoFitMaxFontSize = 7; chartArea1.AxisX.LabelAutoFitMinFontSize = 7; chartArea1.AxisX.LabelAutoFitStyle = ((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles)(((System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.IncreaseFont | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.DecreaseFont) | System.Windows.Forms.DataVisualization.Charting.LabelAutoFitStyles.WordWrap))); chartArea1.AxisX.LabelStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 7F); chartArea1.AxisX.LabelStyle.Interval = 1D; chartArea1.AxisX.LabelStyle.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours; chartArea1.AxisX.MajorGrid.Interval = 1D; chartArea1.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours; chartArea1.AxisX.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea1.AxisX.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea1.AxisX.MajorTickMark.Interval = 1D; chartArea1.AxisX.MajorTickMark.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours; chartArea1.AxisX.MajorTickMark.LineColor = System.Drawing.Color.DarkRed; chartArea1.AxisX.MaximumAutoSize = 7F; chartArea1.AxisX.MinorGrid.Enabled = true; chartArea1.AxisX.MinorGrid.LineColor = System.Drawing.Color.WhiteSmoke; chartArea1.AxisX.MinorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dot; chartArea1.AxisX.MinorTickMark.LineColor = System.Drawing.Color.Yellow; chartArea1.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False; chartArea1.AxisY.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea1.AxisY.LabelAutoFitMaxFontSize = 7; chartArea1.AxisY.LabelAutoFitMinFontSize = 7; chartArea1.AxisY.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea1.AxisY.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea1.AxisY.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea1.AxisY.MajorTickMark.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; stripLine1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); stripLine1.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; stripLine1.BackSecondaryColor = System.Drawing.Color.White; stripLine1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(255))))); stripLine1.IntervalOffset = 0.2D; stripLine1.StripWidth = 1.8D; stripLine2.BorderColor = System.Drawing.Color.Silver; stripLine3.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); stripLine3.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; stripLine3.BackSecondaryColor = System.Drawing.SystemColors.Highlight; stripLine3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(192))))); stripLine3.IntervalOffset = -10D; stripLine3.StripWidth = 10.1D; chartArea1.AxisY.StripLines.Add(stripLine1); chartArea1.AxisY.StripLines.Add(stripLine2); chartArea1.AxisY.StripLines.Add(stripLine3); chartArea1.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea1.AxisY2.LabelAutoFitMaxFontSize = 7; chartArea1.AxisY2.LabelAutoFitMinFontSize = 7; chartArea1.AxisY2.MajorGrid.Enabled = false; chartArea1.AxisY2.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea1.BackColor = System.Drawing.Color.White; chartArea1.BorderColor = System.Drawing.Color.Silver; chartArea1.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea1.CursorY.IsUserEnabled = true; chartArea1.CursorY.IsUserSelectionEnabled = true; chartArea1.InnerPlotPosition.Auto = false; chartArea1.InnerPlotPosition.Height = 95F; chartArea1.InnerPlotPosition.Width = 92F; chartArea1.InnerPlotPosition.X = 4F; chartArea1.Name = "ChartArea1_main"; chartArea1.Position.Auto = false; chartArea1.Position.Height = 30F; chartArea1.Position.Width = 100F; chartArea1.Position.Y = 3F; chartArea2.AlignWithChartArea = "ChartArea1_main"; chartArea2.AxisX.LabelAutoFitMaxFontSize = 7; chartArea2.AxisX.LabelAutoFitMinFontSize = 7; chartArea2.AxisX.MajorGrid.Interval = 1D; chartArea2.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours; chartArea2.AxisX.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea2.AxisX.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea2.AxisX.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea2.AxisX.MinorGrid.Enabled = true; chartArea2.AxisX.MinorGrid.LineColor = System.Drawing.Color.Gainsboro; chartArea2.AxisX.MinorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dot; chartArea2.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False; chartArea2.AxisY.LabelAutoFitMaxFontSize = 7; chartArea2.AxisY.LabelAutoFitMinFontSize = 7; chartArea2.AxisY.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea2.AxisY.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea2.AxisY.MajorTickMark.LineColor = System.Drawing.Color.Silver; stripLine4.BackColor = System.Drawing.Color.White; stripLine4.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; stripLine4.BackSecondaryColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); stripLine4.StripWidth = 2D; stripLine5.BorderColor = System.Drawing.Color.Gray; stripLine6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); stripLine6.IntervalOffset = -2D; stripLine6.StripWidth = 2D; chartArea2.AxisY.StripLines.Add(stripLine4); chartArea2.AxisY.StripLines.Add(stripLine5); chartArea2.AxisY.StripLines.Add(stripLine6); chartArea2.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea2.AxisY2.LabelAutoFitMaxFontSize = 7; chartArea2.AxisY2.LabelAutoFitMinFontSize = 7; chartArea2.AxisY2.MajorGrid.Enabled = false; chartArea2.AxisY2.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea2.BackColor = System.Drawing.Color.White; chartArea2.BorderColor = System.Drawing.Color.Silver; chartArea2.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea2.InnerPlotPosition.Auto = false; chartArea2.InnerPlotPosition.Height = 100F; chartArea2.InnerPlotPosition.Width = 92F; chartArea2.InnerPlotPosition.X = 4F; chartArea2.Name = "ChartArea2_secondary"; chartArea2.Position.Auto = false; chartArea2.Position.Height = 30F; chartArea2.Position.Width = 100F; chartArea2.Position.Y = 37F; chartArea3.AlignWithChartArea = "ChartArea1_main"; chartArea3.AxisX.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea3.AxisX.LabelAutoFitMaxFontSize = 7; chartArea3.AxisX.LabelAutoFitMinFontSize = 7; chartArea3.AxisX.MajorGrid.Interval = 1D; chartArea3.AxisX.MajorGrid.IntervalType = System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType.Hours; chartArea3.AxisX.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea3.AxisX.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea3.AxisX.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea3.AxisX.MinorGrid.Enabled = true; chartArea3.AxisX.MinorGrid.LineColor = System.Drawing.Color.Gainsboro; chartArea3.AxisX.MinorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dot; chartArea3.AxisX2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.False; chartArea3.AxisY.Crossing = -1.7976931348623157E+308D; chartArea3.AxisY.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea3.AxisY.LabelAutoFitMaxFontSize = 7; chartArea3.AxisY.LabelAutoFitMinFontSize = 7; chartArea3.AxisY.MajorGrid.LineColor = System.Drawing.Color.Silver; chartArea3.AxisY.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; chartArea3.AxisY.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea3.AxisY2.Enabled = System.Windows.Forms.DataVisualization.Charting.AxisEnabled.True; chartArea3.AxisY2.LabelAutoFitMaxFontSize = 7; chartArea3.AxisY2.LabelAutoFitMinFontSize = 7; chartArea3.AxisY2.MajorGrid.Enabled = false; chartArea3.AxisY2.MajorGrid.LineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.NotSet; chartArea3.AxisY2.MajorTickMark.LineColor = System.Drawing.Color.Silver; chartArea3.BackColor = System.Drawing.Color.White; chartArea3.BorderColor = System.Drawing.Color.Silver; chartArea3.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid; chartArea3.InnerPlotPosition.Auto = false; chartArea3.InnerPlotPosition.Height = 100F; chartArea3.InnerPlotPosition.Width = 92F; chartArea3.InnerPlotPosition.X = 4F; chartArea3.Name = "ChartArea3_temp"; chartArea3.Position.Auto = false; chartArea3.Position.Height = 30F; chartArea3.Position.Width = 100F; chartArea3.Position.Y = 69F; this.chart1.ChartAreas.Add(chartArea1); this.chart1.ChartAreas.Add(chartArea2); this.chart1.ChartAreas.Add(chartArea3); this.chart1.Location = new System.Drawing.Point(10, 477); this.chart1.Margin = new System.Windows.Forms.Padding(0); this.chart1.Name = "chart1"; series1.BorderColor = System.Drawing.SystemColors.HotTrack; series1.BorderWidth = 3; series1.ChartArea = "ChartArea1_main"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series1.Color = System.Drawing.SystemColors.HotTrack; series1.Name = "Temp_main_delta"; series2.ChartArea = "ChartArea1_main"; series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(64)))), ((int)(((byte)(0))))); series2.Name = "RPM"; series2.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Pastel; series2.YAxisType = System.Windows.Forms.DataVisualization.Charting.AxisType.Secondary; series3.BorderWidth = 3; series3.ChartArea = "ChartArea2_secondary"; series3.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series3.Color = System.Drawing.Color.Red; series3.Name = "Temp_sec_delta"; series4.ChartArea = "ChartArea2_secondary"; series4.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series4.Color = System.Drawing.Color.Green; series4.Name = "Heater"; series4.YAxisType = System.Windows.Forms.DataVisualization.Charting.AxisType.Secondary; series5.BorderWidth = 3; series5.ChartArea = "ChartArea3_temp"; series5.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series5.Color = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); series5.Name = "Temp_ext"; series5.ShadowOffset = 2; series5.ToolTip = "Temp1 (#VAL{F1} at #VALX{dd.MM.yyyy HH:mm})\\nlast value: #LAST{F1} \\nmin:#MIN{F1}" + " max:#MAX{F1} avg:#AVG{F1}\\n"; series6.ChartArea = "ChartArea3_temp"; series6.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series6.Color = System.Drawing.Color.Blue; series6.Name = "Temp_main"; series6.ToolTip = "Temp2 #VAL{F1} (at #VALX{dd.MM.yyyy HH:mm})\\nlast value: #LAST{F1} \\nmin:#MIN{F1}" + " max:#MAX{F1} avg:#AVG{F1}\\n"; series7.ChartArea = "ChartArea3_temp"; series7.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series7.Color = System.Drawing.Color.Red; series7.Name = "Temp_sec"; series7.ToolTip = "Temp3 (#VAL{F1} at #VALX{dd.MM.yyyy HH:mm})\\nlast value: #LAST{F1} \\nmin:#MIN{F1}" + " max:#MAX{F1} avg:#AVG{F1}\\n"; series8.BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash; series8.ChartArea = "ChartArea3_temp"; series8.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastLine; series8.Color = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); series8.Name = "Humidity"; series8.YAxisType = System.Windows.Forms.DataVisualization.Charting.AxisType.Secondary; series9.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.TopBottom; series9.ChartArea = "ChartArea3_temp"; series9.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Area; series9.Color = System.Drawing.Color.Aqua; series9.Name = "Dew_point"; this.chart1.Series.Add(series1); this.chart1.Series.Add(series2); this.chart1.Series.Add(series3); this.chart1.Series.Add(series4); this.chart1.Series.Add(series5); this.chart1.Series.Add(series6); this.chart1.Series.Add(series7); this.chart1.Series.Add(series8); this.chart1.Series.Add(series9); this.chart1.Size = new System.Drawing.Size(1490, 586); this.chart1.TabIndex = 25; this.chart1.Text = "Sensors data"; title1.DockedToChartArea = "ChartArea1_main"; title1.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); title1.ForeColor = System.Drawing.Color.LightGray; title1.Name = "Main"; title1.Text = "Main mirror"; title2.DockedToChartArea = "ChartArea2_secondary"; title2.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); title2.ForeColor = System.Drawing.Color.LightGray; title2.Name = "Secondary"; title2.Text = "Secondary mirror"; title3.DockedToChartArea = "ChartArea3_temp"; title3.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); title3.ForeColor = System.Drawing.Color.LightGray; title3.Name = "Temp"; title3.Text = "Temperature"; this.chart1.Titles.Add(title1); this.chart1.Titles.Add(title2); this.chart1.Titles.Add(title3); // // txtControlFanPWM // this.txtControlFanPWM.BackColor = System.Drawing.SystemColors.Window; this.txtControlFanPWM.Location = new System.Drawing.Point(28, 260); this.txtControlFanPWM.Name = "txtControlFanPWM"; this.txtControlFanPWM.Size = new System.Drawing.Size(43, 26); this.txtControlFanPWM.TabIndex = 26; this.txtControlFanPWM.TextChanged += new System.EventHandler(this.txtControlFanPWM_TextChanged); // // txtControlHeaterPWM // this.txtControlHeaterPWM.BackColor = System.Drawing.SystemColors.Window; this.txtControlHeaterPWM.Location = new System.Drawing.Point(339, 266); this.txtControlHeaterPWM.Name = "txtControlHeaterPWM"; this.txtControlHeaterPWM.Size = new System.Drawing.Size(43, 26); this.txtControlHeaterPWM.TabIndex = 26; this.txtControlHeaterPWM.TextChanged += new System.EventHandler(this.txtControlHeaterPWM_TextChanged); // // groupBox1 // this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label7); this.groupBox1.Controls.Add(this.label10); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.txtFldDTemp); this.groupBox1.Controls.Add(this.txtDewPoint); this.groupBox1.Controls.Add(this.txtFldTemp1); this.groupBox1.Controls.Add(this.txtFldHumidity); this.groupBox1.Controls.Add(this.txtFldTemp3); this.groupBox1.Controls.Add(this.txtSecondaryDelta); this.groupBox1.Controls.Add(this.txtMainDelta); this.groupBox1.Controls.Add(this.txtFldTemp2); this.groupBox1.Location = new System.Drawing.Point(10, 348); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(675, 126); this.groupBox1.TabIndex = 27; this.groupBox1.TabStop = false; this.groupBox1.Text = "Temperature"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(304, 89); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(79, 20); this.label5.TabIndex = 8; this.label5.Text = "Sec Delta"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(22, 88); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(82, 20); this.label4.TabIndex = 8; this.label4.Text = "Main delta"; // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(396, 52); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(86, 20); this.label7.TabIndex = 7; this.label7.Text = "Temp DHT"; // // label10 // this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(514, 88); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(81, 20); this.label10.TabIndex = 7; this.label10.Text = "Dew Point"; // // label6 // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(514, 52); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(70, 20); this.label6.TabIndex = 7; this.label6.Text = "Humidity"; // // txtFldDTemp // this.txtFldDTemp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtFldDTemp.BackColor = System.Drawing.SystemColors.Window; this.txtFldDTemp.Location = new System.Drawing.Point(406, 85); this.txtFldDTemp.Name = "txtFldDTemp"; this.txtFldDTemp.ReadOnly = true; this.txtFldDTemp.Size = new System.Drawing.Size(60, 26); this.txtFldDTemp.TabIndex = 6; // // txtDewPoint // this.txtDewPoint.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtDewPoint.BackColor = System.Drawing.SystemColors.Window; this.txtDewPoint.Location = new System.Drawing.Point(604, 85); this.txtDewPoint.Name = "txtDewPoint"; this.txtDewPoint.ReadOnly = true; this.txtDewPoint.Size = new System.Drawing.Size(60, 26); this.txtDewPoint.TabIndex = 6; // // txtFldHumidity // this.txtFldHumidity.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtFldHumidity.BackColor = System.Drawing.SystemColors.Window; this.txtFldHumidity.Location = new System.Drawing.Point(604, 48); this.txtFldHumidity.Name = "txtFldHumidity"; this.txtFldHumidity.ReadOnly = true; this.txtFldHumidity.Size = new System.Drawing.Size(60, 26); this.txtFldHumidity.TabIndex = 6; // // txtSecondaryDelta // this.txtSecondaryDelta.BackColor = System.Drawing.SystemColors.Window; this.txtSecondaryDelta.Location = new System.Drawing.Point(231, 85); this.txtSecondaryDelta.Name = "txtSecondaryDelta"; this.txtSecondaryDelta.ReadOnly = true; this.txtSecondaryDelta.Size = new System.Drawing.Size(64, 26); this.txtSecondaryDelta.TabIndex = 6; // // txtMainDelta // this.txtMainDelta.BackColor = System.Drawing.SystemColors.Window; this.txtMainDelta.Location = new System.Drawing.Point(116, 83); this.txtMainDelta.Name = "txtMainDelta"; this.txtMainDelta.ReadOnly = true; this.txtMainDelta.Size = new System.Drawing.Size(64, 26); this.txtMainDelta.TabIndex = 6; // // groupBox2 // this.groupBox2.Controls.Add(this.chkAutoHeatingControlling); this.groupBox2.Controls.Add(this.chkAutoFanControlling); this.groupBox2.Controls.Add(this.txtFldHeaterPWM); this.groupBox2.Controls.Add(this.label9); this.groupBox2.Controls.Add(this.label8); this.groupBox2.Controls.Add(this.txtControlHeaterPWM); this.groupBox2.Controls.Add(this.txtFldRPM); this.groupBox2.Controls.Add(this.txtControlFanPWM); this.groupBox2.Controls.Add(this.trackBar_HeaterPWM); this.groupBox2.Controls.Add(this.aHeaterGauge); this.groupBox2.Controls.Add(this.aFanGauge); this.groupBox2.Controls.Add(this.trackBar_FanPWM); this.groupBox2.Location = new System.Drawing.Point(10, 2); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(675, 340); this.groupBox2.TabIndex = 28; this.groupBox2.TabStop = false; // // chkAutoHeatingControlling // this.chkAutoHeatingControlling.AutoSize = true; this.chkAutoHeatingControlling.Location = new System.Drawing.Point(339, 300); this.chkAutoHeatingControlling.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.chkAutoHeatingControlling.Name = "chkAutoHeatingControlling"; this.chkAutoHeatingControlling.Size = new System.Drawing.Size(120, 24); this.chkAutoHeatingControlling.TabIndex = 29; this.chkAutoHeatingControlling.Text = "Autocontroll"; this.chkAutoHeatingControlling.UseVisualStyleBackColor = true; this.chkAutoHeatingControlling.CheckedChanged += new System.EventHandler(this.chkAutoHeatingControlling_CheckedChanged); // // chkAutoFanControlling // this.chkAutoFanControlling.AutoSize = true; this.chkAutoFanControlling.Location = new System.Drawing.Point(28, 298); this.chkAutoFanControlling.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.chkAutoFanControlling.Name = "chkAutoFanControlling"; this.chkAutoFanControlling.Size = new System.Drawing.Size(120, 24); this.chkAutoFanControlling.TabIndex = 29; this.chkAutoFanControlling.Text = "Autocontroll"; this.chkAutoFanControlling.UseVisualStyleBackColor = true; this.chkAutoFanControlling.CheckedChanged += new System.EventHandler(this.chkAutoFanControlling_CheckedChanged); // // txtFldHeaterPWM // this.txtFldHeaterPWM.BackColor = System.Drawing.SystemColors.Control; this.txtFldHeaterPWM.Location = new System.Drawing.Point(476, 220); this.txtFldHeaterPWM.Name = "txtFldHeaterPWM"; this.txtFldHeaterPWM.ReadOnly = true; this.txtFldHeaterPWM.Size = new System.Drawing.Size(55, 26); this.txtFldHeaterPWM.TabIndex = 28; this.txtFldHeaterPWM.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(74, 17); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(197, 20); this.label9.TabIndex = 27; this.label9.Text = "Main mirror fan speed, rpm"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(375, 17); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(248, 20); this.label8.TabIndex = 27; this.label8.Text = "Secondary mirror heater power, %"; // // txtFldRPM // this.txtFldRPM.BackColor = System.Drawing.SystemColors.Control; this.txtFldRPM.Location = new System.Drawing.Point(142, 220); this.txtFldRPM.Name = "txtFldRPM"; this.txtFldRPM.ReadOnly = true; this.txtFldRPM.Size = new System.Drawing.Size(55, 26); this.txtFldRPM.TabIndex = 26; this.txtFldRPM.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // btnOnOff // this.btnOnOff.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOnOff.Location = new System.Drawing.Point(1317, 69); this.btnOnOff.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.btnOnOff.Name = "btnOnOff"; this.btnOnOff.Size = new System.Drawing.Size(172, 35); this.btnOnOff.TabIndex = 1; this.btnOnOff.Text = "On"; this.toolTip1.SetToolTip(this.btnOnOff, "Autocontorl on/off"); this.btnOnOff.UseVisualStyleBackColor = true; this.btnOnOff.Click += new System.EventHandler(this.btnOnOff_Click); // // backgroundWorker_SocketServer // this.backgroundWorker_SocketServer.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_SocketServer_DoWork); // // MainForm // this.AcceptButton = this.btnStart; this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1510, 1065); this.Controls.Add(this.groupBox2); this.Controls.Add(this.groupBox1); this.Controls.Add(this.chart1); this.Controls.Add(this.txtLog); this.Controls.Add(this.btnAbout); this.Controls.Add(this.btnSimulate); this.Controls.Add(this.btnLog); this.Controls.Add(this.btnSettings); this.Controls.Add(this.btnOnOff); this.Controls.Add(this.btnStart); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.MinimumSize = new System.Drawing.Size(1339, 967); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Telescope Temp Control"; this.Load += new System.EventHandler(this.MainForm_Load); ((System.ComponentModel.ISupportInitialize)(this.trackBar_HeaterPWM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.trackBar_FanPWM)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chart1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeRange aGaugeRange1 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange2 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange3 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange4 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange5 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange6 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange7 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange8 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange9 = new System.Windows.Forms.AGaugeRange(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Dashboard)); this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker(); this.gauge1 = new System.Windows.Forms.AGauge(); this.gauge2 = new System.Windows.Forms.AGauge(); this.gauge3 = new System.Windows.Forms.AGauge(); this.listDevices = new System.Windows.Forms.ListBox(); this.devicesBindingSource = new System.Windows.Forms.BindingSource(this.components); this.sLA_RT_monitoringDevicesDataSet = new LinqExample.SLA_RT_monitoringDevicesDataSet(); this.lblDevices = new System.Windows.Forms.Label(); this.devicesTableAdapter = new LinqExample.SLA_RT_monitoringDevicesDataSetTableAdapters.DevicesTableAdapter(); this.lblGuage1 = new System.Windows.Forms.Label(); this.lblGuage2 = new System.Windows.Forms.Label(); this.lblGuage3 = new System.Windows.Forms.Label(); this.zg1 = new ZedGraph.ZedGraphControl(); this.zg2 = new ZedGraph.ZedGraphControl(); this.zg3 = new ZedGraph.ZedGraphControl(); this.dataGridIncidents = new System.Windows.Forms.DataGridView(); this.device_name = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.device_type = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.threshold_text = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.value = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.timestamp = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.label1 = new System.Windows.Forms.Label(); this.button2 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.devicesBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sLA_RT_monitoringDevicesDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridIncidents)).BeginInit(); this.SuspendLayout(); // // gauge1 // this.gauge1.BackColor = System.Drawing.SystemColors.Control; this.gauge1.BaseArcColor = System.Drawing.Color.Gray; this.gauge1.BaseArcRadius = 80; this.gauge1.BaseArcStart = 175; this.gauge1.BaseArcSweep = 190; this.gauge1.BaseArcWidth = 2; this.gauge1.Center = new System.Drawing.Point(100, 100); this.gauge1.Cursor = System.Windows.Forms.Cursors.Default; aGaugeRange1.Color = System.Drawing.Color.Red; aGaugeRange1.EndValue = 100F; aGaugeRange1.InnerRadius = 70; aGaugeRange1.InRange = false; aGaugeRange1.Name = "CritRange"; aGaugeRange1.OuterRadius = 80; aGaugeRange1.StartValue = 90F; aGaugeRange2.Color = System.Drawing.Color.Green; aGaugeRange2.EndValue = 70F; aGaugeRange2.InnerRadius = 70; aGaugeRange2.InRange = false; aGaugeRange2.Name = "OkRange"; aGaugeRange2.OuterRadius = 80; aGaugeRange2.StartValue = 0F; aGaugeRange3.Color = System.Drawing.Color.Yellow; aGaugeRange3.EndValue = 90F; aGaugeRange3.InnerRadius = 70; aGaugeRange3.InRange = false; aGaugeRange3.Name = "WarnRange"; aGaugeRange3.OuterRadius = 80; aGaugeRange3.StartValue = 70F; this.gauge1.GaugeRanges.Add(aGaugeRange1); this.gauge1.GaugeRanges.Add(aGaugeRange2); this.gauge1.GaugeRanges.Add(aGaugeRange3); this.gauge1.Location = new System.Drawing.Point(182, 16); this.gauge1.MaxValue = 100F; this.gauge1.MinValue = 0F; this.gauge1.Name = "gauge1"; this.gauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.gauge1.NeedleColor2 = System.Drawing.Color.DimGray; this.gauge1.NeedleRadius = 80; this.gauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.gauge1.NeedleWidth = 2; this.gauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.gauge1.ScaleLinesInterInnerRadius = 73; this.gauge1.ScaleLinesInterOuterRadius = 80; this.gauge1.ScaleLinesInterWidth = 1; this.gauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.gauge1.ScaleLinesMajorInnerRadius = 70; this.gauge1.ScaleLinesMajorOuterRadius = 80; this.gauge1.ScaleLinesMajorStepValue = 20F; this.gauge1.ScaleLinesMajorWidth = 2; this.gauge1.ScaleLinesMinorColor = System.Drawing.Color.Black; this.gauge1.ScaleLinesMinorInnerRadius = 75; this.gauge1.ScaleLinesMinorOuterRadius = 80; this.gauge1.ScaleLinesMinorTicks = 9; this.gauge1.ScaleLinesMinorWidth = 1; this.gauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.gauge1.ScaleNumbersFormat = null; this.gauge1.ScaleNumbersRadius = 95; this.gauge1.ScaleNumbersRotation = 0; this.gauge1.ScaleNumbersStartScaleLine = 0; this.gauge1.ScaleNumbersStepScaleLines = 1; this.gauge1.Size = new System.Drawing.Size(215, 187); this.gauge1.TabIndex = 1; this.gauge1.Value = 0F; // // gauge2 // this.gauge2.BaseArcColor = System.Drawing.Color.Gray; this.gauge2.BaseArcRadius = 80; this.gauge2.BaseArcStart = 175; this.gauge2.BaseArcSweep = 190; this.gauge2.BaseArcWidth = 2; this.gauge2.Center = new System.Drawing.Point(100, 100); this.gauge2.Cursor = System.Windows.Forms.Cursors.Default; aGaugeRange4.Color = System.Drawing.Color.Red; aGaugeRange4.EndValue = 100F; aGaugeRange4.InnerRadius = 70; aGaugeRange4.InRange = false; aGaugeRange4.Name = "CritRange"; aGaugeRange4.OuterRadius = 80; aGaugeRange4.StartValue = 90F; aGaugeRange5.Color = System.Drawing.Color.Green; aGaugeRange5.EndValue = 70F; aGaugeRange5.InnerRadius = 70; aGaugeRange5.InRange = false; aGaugeRange5.Name = "OkRange"; aGaugeRange5.OuterRadius = 80; aGaugeRange5.StartValue = 0F; aGaugeRange6.Color = System.Drawing.Color.Yellow; aGaugeRange6.EndValue = 90F; aGaugeRange6.InnerRadius = 70; aGaugeRange6.InRange = false; aGaugeRange6.Name = "WarnRange"; aGaugeRange6.OuterRadius = 80; aGaugeRange6.StartValue = 70F; this.gauge2.GaugeRanges.Add(aGaugeRange4); this.gauge2.GaugeRanges.Add(aGaugeRange5); this.gauge2.GaugeRanges.Add(aGaugeRange6); this.gauge2.Location = new System.Drawing.Point(525, 16); this.gauge2.MaxValue = 100F; this.gauge2.MinValue = 0F; this.gauge2.Name = "gauge2"; this.gauge2.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.gauge2.NeedleColor2 = System.Drawing.Color.DimGray; this.gauge2.NeedleRadius = 80; this.gauge2.NeedleType = System.Windows.Forms.NeedleType.Advance; this.gauge2.NeedleWidth = 2; this.gauge2.ScaleLinesInterColor = System.Drawing.Color.Black; this.gauge2.ScaleLinesInterInnerRadius = 73; this.gauge2.ScaleLinesInterOuterRadius = 80; this.gauge2.ScaleLinesInterWidth = 1; this.gauge2.ScaleLinesMajorColor = System.Drawing.Color.Black; this.gauge2.ScaleLinesMajorInnerRadius = 70; this.gauge2.ScaleLinesMajorOuterRadius = 80; this.gauge2.ScaleLinesMajorStepValue = 20F; this.gauge2.ScaleLinesMajorWidth = 2; this.gauge2.ScaleLinesMinorColor = System.Drawing.Color.Black; this.gauge2.ScaleLinesMinorInnerRadius = 75; this.gauge2.ScaleLinesMinorOuterRadius = 80; this.gauge2.ScaleLinesMinorTicks = 9; this.gauge2.ScaleLinesMinorWidth = 1; this.gauge2.ScaleNumbersColor = System.Drawing.Color.Black; this.gauge2.ScaleNumbersFormat = null; this.gauge2.ScaleNumbersRadius = 95; this.gauge2.ScaleNumbersRotation = 0; this.gauge2.ScaleNumbersStartScaleLine = 0; this.gauge2.ScaleNumbersStepScaleLines = 1; this.gauge2.Size = new System.Drawing.Size(215, 187); this.gauge2.TabIndex = 1; this.gauge2.Value = 0F; // // gauge3 // this.gauge3.BaseArcColor = System.Drawing.Color.Gray; this.gauge3.BaseArcRadius = 80; this.gauge3.BaseArcStart = 175; this.gauge3.BaseArcSweep = 190; this.gauge3.BaseArcWidth = 2; this.gauge3.Center = new System.Drawing.Point(100, 100); this.gauge3.Cursor = System.Windows.Forms.Cursors.Default; aGaugeRange7.Color = System.Drawing.Color.Yellow; aGaugeRange7.EndValue = 90F; aGaugeRange7.InnerRadius = 70; aGaugeRange7.InRange = false; aGaugeRange7.Name = "WarnRange"; aGaugeRange7.OuterRadius = 80; aGaugeRange7.StartValue = 70F; aGaugeRange8.Color = System.Drawing.Color.Red; aGaugeRange8.EndValue = 100F; aGaugeRange8.InnerRadius = 70; aGaugeRange8.InRange = false; aGaugeRange8.Name = "CritRange"; aGaugeRange8.OuterRadius = 80; aGaugeRange8.StartValue = 90F; aGaugeRange9.Color = System.Drawing.Color.Green; aGaugeRange9.EndValue = 70F; aGaugeRange9.InnerRadius = 70; aGaugeRange9.InRange = false; aGaugeRange9.Name = "OkRange"; aGaugeRange9.OuterRadius = 80; aGaugeRange9.StartValue = 0F; this.gauge3.GaugeRanges.Add(aGaugeRange7); this.gauge3.GaugeRanges.Add(aGaugeRange8); this.gauge3.GaugeRanges.Add(aGaugeRange9); this.gauge3.Location = new System.Drawing.Point(872, 16); this.gauge3.MaxValue = 100F; this.gauge3.MinValue = 0F; this.gauge3.Name = "gauge3"; this.gauge3.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Gray; this.gauge3.NeedleColor2 = System.Drawing.Color.DimGray; this.gauge3.NeedleRadius = 80; this.gauge3.NeedleType = System.Windows.Forms.NeedleType.Advance; this.gauge3.NeedleWidth = 2; this.gauge3.ScaleLinesInterColor = System.Drawing.Color.Black; this.gauge3.ScaleLinesInterInnerRadius = 73; this.gauge3.ScaleLinesInterOuterRadius = 80; this.gauge3.ScaleLinesInterWidth = 1; this.gauge3.ScaleLinesMajorColor = System.Drawing.Color.Black; this.gauge3.ScaleLinesMajorInnerRadius = 70; this.gauge3.ScaleLinesMajorOuterRadius = 80; this.gauge3.ScaleLinesMajorStepValue = 20F; this.gauge3.ScaleLinesMajorWidth = 2; this.gauge3.ScaleLinesMinorColor = System.Drawing.Color.Black; this.gauge3.ScaleLinesMinorInnerRadius = 75; this.gauge3.ScaleLinesMinorOuterRadius = 80; this.gauge3.ScaleLinesMinorTicks = 9; this.gauge3.ScaleLinesMinorWidth = 1; this.gauge3.ScaleNumbersColor = System.Drawing.Color.Black; this.gauge3.ScaleNumbersFormat = null; this.gauge3.ScaleNumbersRadius = 95; this.gauge3.ScaleNumbersRotation = 0; this.gauge3.ScaleNumbersStartScaleLine = 0; this.gauge3.ScaleNumbersStepScaleLines = 1; this.gauge3.Size = new System.Drawing.Size(215, 187); this.gauge3.TabIndex = 1; this.gauge3.Value = 0F; // // listDevices // this.listDevices.DataSource = this.devicesBindingSource; this.listDevices.DisplayMember = "name"; this.listDevices.FormattingEnabled = true; this.listDevices.Location = new System.Drawing.Point(13, 52); this.listDevices.Name = "listDevices"; this.listDevices.Size = new System.Drawing.Size(93, 511); this.listDevices.TabIndex = 2; this.listDevices.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged); // // devicesBindingSource // this.devicesBindingSource.DataMember = "Devices"; this.devicesBindingSource.DataSource = this.sLA_RT_monitoringDevicesDataSet; // // sLA_RT_monitoringDevicesDataSet // this.sLA_RT_monitoringDevicesDataSet.DataSetName = "SLA_RT_monitoringDevicesDataSet"; this.sLA_RT_monitoringDevicesDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // lblDevices // this.lblDevices.AutoSize = true; this.lblDevices.Location = new System.Drawing.Point(13, 33); this.lblDevices.Name = "lblDevices"; this.lblDevices.Size = new System.Drawing.Size(45, 13); this.lblDevices.TabIndex = 3; this.lblDevices.Text = "Devices"; // // devicesTableAdapter // this.devicesTableAdapter.ClearBeforeFill = true; // // lblGuage1 // this.lblGuage1.Location = new System.Drawing.Point(228, 139); this.lblGuage1.Name = "lblGuage1"; this.lblGuage1.Size = new System.Drawing.Size(120, 13); this.lblGuage1.TabIndex = 4; this.lblGuage1.Text = "Guage 1"; this.lblGuage1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGuage2 // this.lblGuage2.Location = new System.Drawing.Point(572, 139); this.lblGuage2.Name = "lblGuage2"; this.lblGuage2.Size = new System.Drawing.Size(120, 13); this.lblGuage2.TabIndex = 4; this.lblGuage2.Text = "Guage 2"; this.lblGuage2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblGuage3 // this.lblGuage3.Location = new System.Drawing.Point(918, 139); this.lblGuage3.Name = "lblGuage3"; this.lblGuage3.Size = new System.Drawing.Size(120, 13); this.lblGuage3.TabIndex = 4; this.lblGuage3.Text = "Guage 3"; this.lblGuage3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // zg1 // this.zg1.EditButtons = System.Windows.Forms.MouseButtons.Left; this.zg1.Location = new System.Drawing.Point(123, 204); this.zg1.Name = "zg1"; this.zg1.PanModifierKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None))); this.zg1.ScrollGrace = 0D; this.zg1.ScrollMaxX = 0D; this.zg1.ScrollMaxY = 0D; this.zg1.ScrollMaxY2 = 0D; this.zg1.ScrollMinX = 0D; this.zg1.ScrollMinY = 0D; this.zg1.ScrollMinY2 = 0D; this.zg1.Size = new System.Drawing.Size(321, 182); this.zg1.TabIndex = 0; // // zg2 // this.zg2.EditButtons = System.Windows.Forms.MouseButtons.Left; this.zg2.Location = new System.Drawing.Point(473, 204); this.zg2.Name = "zg2"; this.zg2.PanModifierKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None))); this.zg2.ScrollGrace = 0D; this.zg2.ScrollMaxX = 0D; this.zg2.ScrollMaxY = 0D; this.zg2.ScrollMaxY2 = 0D; this.zg2.ScrollMinX = 0D; this.zg2.ScrollMinY = 0D; this.zg2.ScrollMinY2 = 0D; this.zg2.Size = new System.Drawing.Size(321, 182); this.zg2.TabIndex = 0; // // zg3 // this.zg3.EditButtons = System.Windows.Forms.MouseButtons.Left; this.zg3.Location = new System.Drawing.Point(824, 204); this.zg3.Name = "zg3"; this.zg3.PanModifierKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.None))); this.zg3.ScrollGrace = 0D; this.zg3.ScrollMaxX = 0D; this.zg3.ScrollMaxY = 0D; this.zg3.ScrollMaxY2 = 0D; this.zg3.ScrollMinX = 0D; this.zg3.ScrollMinY = 0D; this.zg3.ScrollMinY2 = 0D; this.zg3.Size = new System.Drawing.Size(321, 182); this.zg3.TabIndex = 0; // // dataGridIncidents // this.dataGridIncidents.AllowUserToAddRows = false; this.dataGridIncidents.AllowUserToDeleteRows = false; this.dataGridIncidents.AllowUserToResizeRows = false; this.dataGridIncidents.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dataGridIncidents.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.dataGridIncidents.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridIncidents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.device_name, this.device_type, this.threshold_text, this.value, this.timestamp }); this.dataGridIncidents.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically; this.dataGridIncidents.Location = new System.Drawing.Point(123, 439); this.dataGridIncidents.Name = "dataGridIncidents"; this.dataGridIncidents.RowHeadersVisible = false; this.dataGridIncidents.Size = new System.Drawing.Size(1022, 196); this.dataGridIncidents.TabIndex = 6; // // device_name // this.device_name.DataPropertyName = "device_name"; this.device_name.HeaderText = "Device Name"; this.device_name.Name = "device_name"; // // device_type // this.device_type.DataPropertyName = "device_type"; this.device_type.HeaderText = "Device Type"; this.device_type.Name = "device_type"; // // threshold_text // this.threshold_text.DataPropertyName = "threshold_text"; this.threshold_text.HeaderText = "Threshold Name"; this.threshold_text.Name = "threshold_text"; // // value // this.value.DataPropertyName = "value"; this.value.HeaderText = "Threshold Value"; this.value.Name = "value"; // // timestamp // this.timestamp.DataPropertyName = "timestamp"; this.timestamp.HeaderText = "Time"; this.timestamp.Name = "timestamp"; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Segoe UI", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(177))); this.label1.ForeColor = System.Drawing.Color.Red; this.label1.Location = new System.Drawing.Point(486, 389); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(285, 47); this.label1.TabIndex = 7; this.label1.Text = "Current Incidents"; // // button2 // this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button2.Location = new System.Drawing.Point(12, 576); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(94, 59); this.button2.TabIndex = 8; this.button2.Text = "Back To Universal Dashboard"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // Dashboard // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1228, 652); this.ControlBox = false; this.Controls.Add(this.button2); this.Controls.Add(this.label1); this.Controls.Add(this.dataGridIncidents); this.Controls.Add(this.lblGuage3); this.Controls.Add(this.lblGuage2); this.Controls.Add(this.lblGuage1); this.Controls.Add(this.lblDevices); this.Controls.Add(this.listDevices); this.Controls.Add(this.gauge3); this.Controls.Add(this.gauge2); this.Controls.Add(this.gauge1); this.Controls.Add(this.zg1); this.Controls.Add(this.zg2); this.Controls.Add(this.zg3); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Dashboard"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Dashboard"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Dashboard_FormClosing); this.Load += new System.EventHandler(this.Dashboard_Load); ((System.ComponentModel.ISupportInitialize)(this.devicesBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sLA_RT_monitoringDevicesDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataGridIncidents)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.AGaugeLabel aGaugeLabel3 = new System.Windows.Forms.AGaugeLabel(); System.Windows.Forms.AGaugeRange aGaugeRange11 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange12 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange13 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange14 = new System.Windows.Forms.AGaugeRange(); System.Windows.Forms.AGaugeRange aGaugeRange15 = new System.Windows.Forms.AGaugeRange(); this.panel3 = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.sairbtn = new System.Windows.Forms.Button(); this.webBrowser1 = new System.Windows.Forms.WebBrowser(); this.entradaDeAguabtn = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.mosturaProgressBar = new System.Windows.Forms.ProgressBar(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.volumeLb = new System.Windows.Forms.Label(); this.chillerBtn = new System.Windows.Forms.Button(); this.mosturaBtn = new System.Windows.Forms.Button(); this.fervuraBtn = new System.Windows.Forms.Button(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.temperaturaLb = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.duracaoTotalLb = new System.Windows.Forms.Label(); this.duracaoRestanteLb = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.adiantaEtapaBtn = new System.Windows.Forms.Button(); this.label3 = new System.Windows.Forms.Label(); this.aGauge1 = new System.Windows.Forms.AGauge(); this.pararResistenciaBtn = new System.Windows.Forms.Button(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.cancelarAlarmeBtn = new System.Windows.Forms.Button(); this.label9 = new System.Windows.Forms.Label(); this.lvLupulos = new System.Windows.Forms.ListView(); this.Tempo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Lupulo = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.Quantidade = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.proxAdicaoLb = new System.Windows.Forms.Label(); this.bombaRecirculacaoBtn = new System.Windows.Forms.Button(); this.serpentinaAquecimentoBtn = new System.Windows.Forms.Button(); this.paradaEmergenciaBtn = new System.Windows.Forms.Button(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.hardwareDisponivelcbx = new System.Windows.Forms.ToolStripComboBox(); this.statusConexaoLb = new System.Windows.Forms.ToolStripLabel(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.textBox1 = new System.Windows.Forms.TextBox(); this.iniciarBtn = new System.Windows.Forms.Button(); this.receitaCb = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.pnlAcoes = new System.Windows.Forms.Panel(); this.pnlLog = new System.Windows.Forms.Panel(); this.temporizador = new System.Windows.Forms.Timer(this.components); this.button1 = new System.Windows.Forms.Button(); this.panel3.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.groupBox4.SuspendLayout(); this.pnlAcoes.SuspendLayout(); this.pnlLog.SuspendLayout(); this.SuspendLayout(); // // panel3 // this.panel3.BackColor = System.Drawing.Color.Crimson; this.panel3.Controls.Add(this.label6); this.panel3.Controls.Add(this.sairbtn); this.panel3.Location = new System.Drawing.Point(-1, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(1075, 40); this.panel3.TabIndex = 16; // // label6 // this.label6.AutoSize = true; this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.ForeColor = System.Drawing.SystemColors.ButtonFace; this.label6.Location = new System.Drawing.Point(328, 6); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(417, 24); this.label6.TabIndex = 4; this.label6.Text = "Painel de controle manual e monitoramento"; // // sairbtn // this.sairbtn.BackgroundImage = global::Brew.Properties.Resources.btSai; this.sairbtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.sairbtn.Location = new System.Drawing.Point(1011, -6); this.sairbtn.Name = "sairbtn"; this.sairbtn.Size = new System.Drawing.Size(51, 52); this.sairbtn.TabIndex = 3; this.sairbtn.UseVisualStyleBackColor = true; this.sairbtn.Click += new System.EventHandler(this.Sairbtn_Click); // // webBrowser1 // this.webBrowser1.Location = new System.Drawing.Point(1060, 430); this.webBrowser1.MinimumSize = new System.Drawing.Size(20, 20); this.webBrowser1.Name = "webBrowser1"; this.webBrowser1.Size = new System.Drawing.Size(71, 55); this.webBrowser1.TabIndex = 17; // // entradaDeAguabtn // this.entradaDeAguabtn.Location = new System.Drawing.Point(13, 51); this.entradaDeAguabtn.Name = "entradaDeAguabtn"; this.entradaDeAguabtn.Size = new System.Drawing.Size(91, 51); this.entradaDeAguabtn.TabIndex = 1; this.entradaDeAguabtn.Text = "Entrada de água"; this.entradaDeAguabtn.UseVisualStyleBackColor = true; this.entradaDeAguabtn.Click += new System.EventHandler(this.EntradaDeAguabtn_Click); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(14, 27); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(90, 13); this.label1.TabIndex = 19; this.label1.Text = "Volume de liquido"; // // mosturaProgressBar // this.mosturaProgressBar.Location = new System.Drawing.Point(0, 161); this.mosturaProgressBar.Name = "mosturaProgressBar"; this.mosturaProgressBar.Size = new System.Drawing.Size(307, 23); this.mosturaProgressBar.TabIndex = 20; // // groupBox1 // this.groupBox1.Controls.Add(this.volumeLb); this.groupBox1.Controls.Add(this.chillerBtn); this.groupBox1.Controls.Add(this.mosturaBtn); this.groupBox1.Controls.Add(this.fervuraBtn); this.groupBox1.Controls.Add(this.entradaDeAguabtn); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Location = new System.Drawing.Point(15, 9); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(251, 184); this.groupBox1.TabIndex = 22; this.groupBox1.TabStop = false; this.groupBox1.Text = "Controle hidráulico"; // // volumeLb // this.volumeLb.AutoSize = true; this.volumeLb.Location = new System.Drawing.Point(142, 27); this.volumeLb.Name = "volumeLb"; this.volumeLb.Size = new System.Drawing.Size(37, 13); this.volumeLb.TabIndex = 23; this.volumeLb.Text = "0,00 L"; this.volumeLb.Click += new System.EventHandler(this.Label2_Click); // // chillerBtn // this.chillerBtn.Location = new System.Drawing.Point(145, 118); this.chillerBtn.Name = "chillerBtn"; this.chillerBtn.Size = new System.Drawing.Size(91, 51); this.chillerBtn.TabIndex = 4; this.chillerBtn.Text = "Fermentador Chiller"; this.chillerBtn.UseVisualStyleBackColor = true; // // mosturaBtn // this.mosturaBtn.Location = new System.Drawing.Point(13, 118); this.mosturaBtn.Name = "mosturaBtn"; this.mosturaBtn.Size = new System.Drawing.Size(91, 51); this.mosturaBtn.TabIndex = 2; this.mosturaBtn.Text = "Mostura"; this.mosturaBtn.UseVisualStyleBackColor = true; // // fervuraBtn // this.fervuraBtn.Location = new System.Drawing.Point(145, 51); this.fervuraBtn.Name = "fervuraBtn"; this.fervuraBtn.Size = new System.Drawing.Size(91, 51); this.fervuraBtn.TabIndex = 3; this.fervuraBtn.Text = "Fervura"; this.fervuraBtn.UseVisualStyleBackColor = true; // // groupBox2 // this.groupBox2.Controls.Add(this.temperaturaLb); this.groupBox2.Controls.Add(this.label10); this.groupBox2.Controls.Add(this.duracaoTotalLb); this.groupBox2.Controls.Add(this.duracaoRestanteLb); this.groupBox2.Controls.Add(this.label4); this.groupBox2.Controls.Add(this.adiantaEtapaBtn); this.groupBox2.Controls.Add(this.label3); this.groupBox2.Controls.Add(this.aGauge1); this.groupBox2.Controls.Add(this.pararResistenciaBtn); this.groupBox2.Controls.Add(this.mosturaProgressBar); this.groupBox2.Location = new System.Drawing.Point(285, 9); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(307, 184); this.groupBox2.TabIndex = 23; this.groupBox2.TabStop = false; this.groupBox2.Text = "Mostura"; // // temperaturaLb // this.temperaturaLb.AutoSize = true; this.temperaturaLb.Location = new System.Drawing.Point(243, 140); this.temperaturaLb.Name = "temperaturaLb"; this.temperaturaLb.Size = new System.Drawing.Size(22, 13); this.temperaturaLb.TabIndex = 26; this.temperaturaLb.Text = " 34"; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(166, 140); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(120, 13); this.label10.TabIndex = 27; this.label10.Text = "Temperatura: Cº"; // // duracaoTotalLb // this.duracaoTotalLb.AutoSize = true; this.duracaoTotalLb.Location = new System.Drawing.Point(114, 30); this.duracaoTotalLb.Name = "duracaoTotalLb"; this.duracaoTotalLb.Size = new System.Drawing.Size(38, 13); this.duracaoTotalLb.TabIndex = 24; this.duracaoTotalLb.Text = "60 min"; // // duracaoRestanteLb // this.duracaoRestanteLb.AutoSize = true; this.duracaoRestanteLb.Location = new System.Drawing.Point(114, 51); this.duracaoRestanteLb.Name = "duracaoRestanteLb"; this.duracaoRestanteLb.Size = new System.Drawing.Size(38, 13); this.duracaoRestanteLb.TabIndex = 25; this.duracaoRestanteLb.Text = "32 min"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(14, 51); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(89, 13); this.label4.TabIndex = 25; this.label4.Text = "Duração restante"; // // adiantaEtapaBtn // this.adiantaEtapaBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.adiantaEtapaBtn.Location = new System.Drawing.Point(6, 118); this.adiantaEtapaBtn.Name = "adiantaEtapaBtn"; this.adiantaEtapaBtn.Size = new System.Drawing.Size(97, 37); this.adiantaEtapaBtn.TabIndex = 7; this.adiantaEtapaBtn.Text = "Próxima Etapa"; this.adiantaEtapaBtn.UseVisualStyleBackColor = true; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(14, 30); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(71, 13); this.label3.TabIndex = 24; this.label3.Text = "Duração total"; // // aGauge1 // this.aGauge1.Anchor = System.Windows.Forms.AnchorStyles.None; this.aGauge1.BackColor = System.Drawing.SystemColors.Control; this.aGauge1.BaseArcColor = System.Drawing.Color.WhiteSmoke; this.aGauge1.BaseArcRadius = 80; this.aGauge1.BaseArcStart = 135; this.aGauge1.BaseArcSweep = 270; this.aGauge1.BaseArcWidth = 2; this.aGauge1.Center = new System.Drawing.Point(120, 120); this.aGauge1.GaugeAutoSize = true; aGaugeLabel3.Color = System.Drawing.SystemColors.WindowText; aGaugeLabel3.Font = new System.Drawing.Font("Verdana", 9.75F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); aGaugeLabel3.Name = "GaugeLabel1"; aGaugeLabel3.Position = new System.Drawing.Point(200, 260); aGaugeLabel3.Text = "0"; this.aGauge1.GaugeLabels.Add(aGaugeLabel3); aGaugeRange11.Color = System.Drawing.Color.Red; aGaugeRange11.EndValue = 140F; aGaugeRange11.InnerRadius = 70; aGaugeRange11.InRange = false; aGaugeRange11.Name = "Perigo"; aGaugeRange11.OuterRadius = 80; aGaugeRange11.StartValue = 120F; aGaugeRange12.Color = System.Drawing.Color.OrangeRed; aGaugeRange12.EndValue = 120F; aGaugeRange12.InnerRadius = 70; aGaugeRange12.InRange = false; aGaugeRange12.Name = "Fervura"; aGaugeRange12.OuterRadius = 80; aGaugeRange12.StartValue = 72F; aGaugeRange13.Color = System.Drawing.Color.Gold; aGaugeRange13.EndValue = 72F; aGaugeRange13.InnerRadius = 70; aGaugeRange13.InRange = false; aGaugeRange13.Name = "Glicose"; aGaugeRange13.OuterRadius = 75; aGaugeRange13.StartValue = 55F; aGaugeRange14.Color = System.Drawing.Color.LimeGreen; aGaugeRange14.EndValue = 55F; aGaugeRange14.InnerRadius = 70; aGaugeRange14.InRange = false; aGaugeRange14.Name = "QuebraProteica"; aGaugeRange14.OuterRadius = 80; aGaugeRange14.StartValue = 42F; aGaugeRange15.Color = System.Drawing.Color.DarkTurquoise; aGaugeRange15.EndValue = 42F; aGaugeRange15.InnerRadius = 75; aGaugeRange15.InRange = false; aGaugeRange15.Name = "BaixaAtividade"; aGaugeRange15.OuterRadius = 80; aGaugeRange15.StartValue = 0F; this.aGauge1.GaugeRanges.Add(aGaugeRange11); this.aGauge1.GaugeRanges.Add(aGaugeRange12); this.aGauge1.GaugeRanges.Add(aGaugeRange13); this.aGauge1.GaugeRanges.Add(aGaugeRange14); this.aGauge1.GaugeRanges.Add(aGaugeRange15); this.aGauge1.Location = new System.Drawing.Point(158, 9); this.aGauge1.MaxValue = 140F; this.aGauge1.MinValue = 0F; this.aGauge1.Name = "aGauge1"; this.aGauge1.NeedleColor1 = System.Windows.Forms.AGaugeNeedleColor.Yellow; this.aGauge1.NeedleColor2 = System.Drawing.Color.Olive; this.aGauge1.NeedleRadius = 100; this.aGauge1.NeedleType = System.Windows.Forms.NeedleType.Advance; this.aGauge1.NeedleWidth = 2; this.aGauge1.ScaleLinesInterColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesInterInnerRadius = 73; this.aGauge1.ScaleLinesInterOuterRadius = 80; this.aGauge1.ScaleLinesInterWidth = 1; this.aGauge1.ScaleLinesMajorColor = System.Drawing.Color.Black; this.aGauge1.ScaleLinesMajorInnerRadius = 70; this.aGauge1.ScaleLinesMajorOuterRadius = 80; this.aGauge1.ScaleLinesMajorStepValue = 20F; this.aGauge1.ScaleLinesMajorWidth = 2; this.aGauge1.ScaleLinesMinorColor = System.Drawing.Color.Gray; this.aGauge1.ScaleLinesMinorInnerRadius = 75; this.aGauge1.ScaleLinesMinorOuterRadius = 80; this.aGauge1.ScaleLinesMinorTicks = 9; this.aGauge1.ScaleLinesMinorWidth = 1; this.aGauge1.ScaleNumbersColor = System.Drawing.Color.Black; this.aGauge1.ScaleNumbersFormat = null; this.aGauge1.ScaleNumbersRadius = 95; this.aGauge1.ScaleNumbersRotation = 0; this.aGauge1.ScaleNumbersStartScaleLine = 1; this.aGauge1.ScaleNumbersStepScaleLines = 1; this.aGauge1.Size = new System.Drawing.Size(146, 146); this.aGauge1.TabIndex = 24; this.aGauge1.Text = "aGauge1"; this.aGauge1.Value = 0F; this.aGauge1.ValueChanged += new System.EventHandler(this.AGauge1_ValueChanged); // // pararResistenciaBtn // this.pararResistenciaBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.pararResistenciaBtn.Location = new System.Drawing.Point(6, 73); this.pararResistenciaBtn.Name = "pararResistenciaBtn"; this.pararResistenciaBtn.Size = new System.Drawing.Size(97, 39); this.pararResistenciaBtn.TabIndex = 6; this.pararResistenciaBtn.Text = "Parar"; this.pararResistenciaBtn.UseVisualStyleBackColor = true; // // groupBox3 // this.groupBox3.Controls.Add(this.cancelarAlarmeBtn); this.groupBox3.Controls.Add(this.label9); this.groupBox3.Controls.Add(this.lvLupulos); this.groupBox3.Controls.Add(this.proxAdicaoLb); this.groupBox3.Location = new System.Drawing.Point(15, 199); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(429, 196); this.groupBox3.TabIndex = 24; this.groupBox3.TabStop = false; this.groupBox3.Text = "Fervura"; // // cancelarAlarmeBtn // this.cancelarAlarmeBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.cancelarAlarmeBtn.Location = new System.Drawing.Point(10, 26); this.cancelarAlarmeBtn.Name = "cancelarAlarmeBtn"; this.cancelarAlarmeBtn.Size = new System.Drawing.Size(176, 25); this.cancelarAlarmeBtn.TabIndex = 8; this.cancelarAlarmeBtn.Text = "Cancelar alarme"; this.cancelarAlarmeBtn.UseVisualStyleBackColor = true; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(208, 32); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(138, 13); this.label9.TabIndex = 26; this.label9.Text = "Tempo para próxima adição"; // // lvLupulos // this.lvLupulos.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.Tempo, this.Lupulo, this.Quantidade }); this.lvLupulos.Location = new System.Drawing.Point(6, 57); this.lvLupulos.Name = "lvLupulos"; this.lvLupulos.Size = new System.Drawing.Size(417, 133); this.lvLupulos.TabIndex = 25; this.lvLupulos.UseCompatibleStateImageBehavior = false; this.lvLupulos.View = System.Windows.Forms.View.Details; // // Tempo // this.Tempo.Text = "Tempo"; this.Tempo.Width = 80; // // Lupulo // this.Lupulo.Text = "Lupulo"; this.Lupulo.Width = 250; // // Quantidade // this.Quantidade.Text = "Quantidade"; this.Quantidade.Width = 80; // // proxAdicaoLb // this.proxAdicaoLb.AutoSize = true; this.proxAdicaoLb.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.proxAdicaoLb.ForeColor = System.Drawing.Color.Red; this.proxAdicaoLb.Location = new System.Drawing.Point(371, 32); this.proxAdicaoLb.Name = "proxAdicaoLb"; this.proxAdicaoLb.Size = new System.Drawing.Size(37, 13); this.proxAdicaoLb.TabIndex = 25; this.proxAdicaoLb.Text = "5 min"; // // bombaRecirculacaoBtn // this.bombaRecirculacaoBtn.Location = new System.Drawing.Point(456, 269); this.bombaRecirculacaoBtn.Name = "bombaRecirculacaoBtn"; this.bombaRecirculacaoBtn.Size = new System.Drawing.Size(136, 51); this.bombaRecirculacaoBtn.TabIndex = 10; this.bombaRecirculacaoBtn.Text = "Bomba recirculação"; this.bombaRecirculacaoBtn.UseVisualStyleBackColor = true; this.bombaRecirculacaoBtn.Click += new System.EventHandler(this.PainelDeAcao); // // serpentinaAquecimentoBtn // this.serpentinaAquecimentoBtn.Location = new System.Drawing.Point(456, 338); this.serpentinaAquecimentoBtn.Name = "serpentinaAquecimentoBtn"; this.serpentinaAquecimentoBtn.Size = new System.Drawing.Size(136, 51); this.serpentinaAquecimentoBtn.TabIndex = 11; this.serpentinaAquecimentoBtn.Text = "Serpentina aquecimento"; this.serpentinaAquecimentoBtn.UseVisualStyleBackColor = true; // // paradaEmergenciaBtn // this.paradaEmergenciaBtn.BackColor = System.Drawing.Color.Crimson; this.paradaEmergenciaBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.paradaEmergenciaBtn.ForeColor = System.Drawing.SystemColors.ButtonHighlight; this.paradaEmergenciaBtn.Location = new System.Drawing.Point(453, 199); this.paradaEmergenciaBtn.Name = "paradaEmergenciaBtn"; this.paradaEmergenciaBtn.Size = new System.Drawing.Size(136, 51); this.paradaEmergenciaBtn.TabIndex = 9; this.paradaEmergenciaBtn.Text = "Parada de emergência"; this.paradaEmergenciaBtn.UseVisualStyleBackColor = false; this.paradaEmergenciaBtn.Click += new System.EventHandler(this.PainelDeAcao); // // toolStrip1 // this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.hardwareDisponivelcbx, this.statusConexaoLb }); this.toolStrip1.Location = new System.Drawing.Point(0, 460); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(1073, 25); this.toolStrip1.TabIndex = 26; this.toolStrip1.Text = "toolStrip1"; // // hardwareDisponivelcbx // this.hardwareDisponivelcbx.Name = "hardwareDisponivelcbx"; this.hardwareDisponivelcbx.Size = new System.Drawing.Size(180, 25); this.hardwareDisponivelcbx.SelectedIndexChanged += new System.EventHandler(this.HardwareDisponivelcbx_SelectedIndexChanged); // // statusConexaoLb // this.statusConexaoLb.ForeColor = System.Drawing.Color.Red; this.statusConexaoLb.Name = "statusConexaoLb"; this.statusConexaoLb.Size = new System.Drawing.Size(174, 22); this.statusConexaoLb.Text = "Não há dispositivo selecionado!"; // // groupBox4 // this.groupBox4.Controls.Add(this.textBox1); this.groupBox4.Location = new System.Drawing.Point(4, 83); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(440, 319); this.groupBox4.TabIndex = 27; this.groupBox4.TabStop = false; this.groupBox4.Text = "Log de execução dos processamentos e comunicação com hardware"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(12, 25); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(412, 280); this.textBox1.TabIndex = 1; // // iniciarBtn // this.iniciarBtn.Location = new System.Drawing.Point(369, 28); this.iniciarBtn.Name = "iniciarBtn"; this.iniciarBtn.Size = new System.Drawing.Size(75, 40); this.iniciarBtn.TabIndex = 28; this.iniciarBtn.Text = "Iniciar operações"; this.iniciarBtn.UseVisualStyleBackColor = true; this.iniciarBtn.Click += new System.EventHandler(this.Button1_Click); // // receitaCb // this.receitaCb.FormattingEnabled = true; this.receitaCb.Location = new System.Drawing.Point(24, 39); this.receitaCb.Name = "receitaCb"; this.receitaCb.Size = new System.Drawing.Size(307, 21); this.receitaCb.TabIndex = 29; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(21, 18); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(159, 13); this.label5.TabIndex = 30; this.label5.Text = "Selecionar receita a ser utilizada"; // // pnlAcoes // this.pnlAcoes.Controls.Add(this.groupBox2); this.pnlAcoes.Controls.Add(this.groupBox1); this.pnlAcoes.Controls.Add(this.groupBox3); this.pnlAcoes.Controls.Add(this.bombaRecirculacaoBtn); this.pnlAcoes.Controls.Add(this.serpentinaAquecimentoBtn); this.pnlAcoes.Controls.Add(this.paradaEmergenciaBtn); this.pnlAcoes.Enabled = false; this.pnlAcoes.Location = new System.Drawing.Point(4, 46); this.pnlAcoes.Name = "pnlAcoes"; this.pnlAcoes.Size = new System.Drawing.Size(600, 405); this.pnlAcoes.TabIndex = 31; // // pnlLog // this.pnlLog.Controls.Add(this.button1); this.pnlLog.Controls.Add(this.groupBox4); this.pnlLog.Controls.Add(this.iniciarBtn); this.pnlLog.Controls.Add(this.label5); this.pnlLog.Controls.Add(this.receitaCb); this.pnlLog.Location = new System.Drawing.Point(609, 47); this.pnlLog.Name = "pnlLog"; this.pnlLog.Size = new System.Drawing.Size(454, 405); this.pnlLog.TabIndex = 32; this.pnlLog.Paint += new System.Windows.Forms.PaintEventHandler(this.PnlLog_Paint); // // temporizador // this.temporizador.Interval = 1000; this.temporizador.Tick += new System.EventHandler(this.Temporizador_Tick); // // button1 // this.button1.Location = new System.Drawing.Point(256, 10); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 31; this.button1.Text = "Teste"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.Button1_Click_1); // // PainelOperacoes // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1073, 485); this.Controls.Add(this.pnlLog); this.Controls.Add(this.pnlAcoes); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.webBrowser1); this.Controls.Add(this.panel3); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "PainelOperacoes"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "PainelOperacoes"; this.Load += new System.EventHandler(this.PainelOperacoes_Load); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.groupBox4.ResumeLayout(false); this.groupBox4.PerformLayout(); this.pnlAcoes.ResumeLayout(false); this.pnlLog.ResumeLayout(false); this.pnlLog.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); }