mirror of https://github.com/ArduPilot/ardupilot
301 lines
14 KiB
C#
301 lines
14 KiB
C#
|
namespace ArdupilotMega.GCSViews.ConfigurationView
|
|||
|
{
|
|||
|
partial class ConfigBatteryMonitoring
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Required designer variable.
|
|||
|
/// </summary>
|
|||
|
private System.ComponentModel.IContainer components = null;
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Clean up any resources being used.
|
|||
|
/// </summary>
|
|||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|||
|
protected override void Dispose(bool disposing)
|
|||
|
{
|
|||
|
if (disposing && (components != null))
|
|||
|
{
|
|||
|
components.Dispose();
|
|||
|
}
|
|||
|
base.Dispose(disposing);
|
|||
|
}
|
|||
|
|
|||
|
#region Component Designer generated code
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// Required method for Designer support - do not modify
|
|||
|
/// the contents of this method with the code editor.
|
|||
|
/// </summary>
|
|||
|
private void InitializeComponent()
|
|||
|
{
|
|||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ConfigBatteryMonitoring));
|
|||
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|||
|
this.label31 = new System.Windows.Forms.Label();
|
|||
|
this.label32 = new System.Windows.Forms.Label();
|
|||
|
this.label33 = new System.Windows.Forms.Label();
|
|||
|
this.TXT_ampspervolt = new System.Windows.Forms.TextBox();
|
|||
|
this.label34 = new System.Windows.Forms.Label();
|
|||
|
this.TXT_divider = new System.Windows.Forms.TextBox();
|
|||
|
this.label35 = new System.Windows.Forms.Label();
|
|||
|
this.TXT_voltage = new System.Windows.Forms.TextBox();
|
|||
|
this.TXT_inputvoltage = new System.Windows.Forms.TextBox();
|
|||
|
this.TXT_measuredvoltage = new System.Windows.Forms.TextBox();
|
|||
|
this.label47 = new System.Windows.Forms.Label();
|
|||
|
this.CMB_batmonsensortype = new System.Windows.Forms.ComboBox();
|
|||
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
|||
|
this.label29 = new System.Windows.Forms.Label();
|
|||
|
this.label30 = new System.Windows.Forms.Label();
|
|||
|
this.TXT_battcapacity = new System.Windows.Forms.TextBox();
|
|||
|
this.CMB_batmontype = new System.Windows.Forms.ComboBox();
|
|||
|
this.pictureBox5 = new System.Windows.Forms.PictureBox();
|
|||
|
this.groupBox4.SuspendLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).BeginInit();
|
|||
|
this.SuspendLayout();
|
|||
|
//
|
|||
|
// groupBox4
|
|||
|
//
|
|||
|
this.groupBox4.Controls.Add(this.label31);
|
|||
|
this.groupBox4.Controls.Add(this.label32);
|
|||
|
this.groupBox4.Controls.Add(this.label33);
|
|||
|
this.groupBox4.Controls.Add(this.TXT_ampspervolt);
|
|||
|
this.groupBox4.Controls.Add(this.label34);
|
|||
|
this.groupBox4.Controls.Add(this.TXT_divider);
|
|||
|
this.groupBox4.Controls.Add(this.label35);
|
|||
|
this.groupBox4.Controls.Add(this.TXT_voltage);
|
|||
|
this.groupBox4.Controls.Add(this.TXT_inputvoltage);
|
|||
|
this.groupBox4.Controls.Add(this.TXT_measuredvoltage);
|
|||
|
this.groupBox4.Location = new System.Drawing.Point(14, 172);
|
|||
|
this.groupBox4.Name = "groupBox4";
|
|||
|
this.groupBox4.Size = new System.Drawing.Size(238, 131);
|
|||
|
this.groupBox4.TabIndex = 50;
|
|||
|
this.groupBox4.TabStop = false;
|
|||
|
this.groupBox4.Text = "Calibration";
|
|||
|
//
|
|||
|
// label31
|
|||
|
//
|
|||
|
this.label31.AutoSize = true;
|
|||
|
this.label31.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label31.Location = new System.Drawing.Point(5, 16);
|
|||
|
this.label31.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label31.Name = "label31";
|
|||
|
this.label31.Size = new System.Drawing.Size(110, 13);
|
|||
|
this.label31.TabIndex = 29;
|
|||
|
this.label31.Text = "1. APM Input voltage:";
|
|||
|
//
|
|||
|
// label32
|
|||
|
//
|
|||
|
this.label32.AutoSize = true;
|
|||
|
this.label32.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label32.Location = new System.Drawing.Point(5, 38);
|
|||
|
this.label32.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label32.Name = "label32";
|
|||
|
this.label32.Size = new System.Drawing.Size(142, 13);
|
|||
|
this.label32.TabIndex = 30;
|
|||
|
this.label32.Text = "2. Measured battery voltage:";
|
|||
|
//
|
|||
|
// label33
|
|||
|
//
|
|||
|
this.label33.AutoSize = true;
|
|||
|
this.label33.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label33.Location = new System.Drawing.Point(5, 60);
|
|||
|
this.label33.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label33.Name = "label33";
|
|||
|
this.label33.Size = new System.Drawing.Size(135, 13);
|
|||
|
this.label33.TabIndex = 31;
|
|||
|
this.label33.Text = "3. Battery voltage (Calced):";
|
|||
|
//
|
|||
|
// TXT_ampspervolt
|
|||
|
//
|
|||
|
this.TXT_ampspervolt.Location = new System.Drawing.Point(149, 100);
|
|||
|
this.TXT_ampspervolt.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.TXT_ampspervolt.Name = "TXT_ampspervolt";
|
|||
|
this.TXT_ampspervolt.Size = new System.Drawing.Size(76, 20);
|
|||
|
this.TXT_ampspervolt.TabIndex = 38;
|
|||
|
//
|
|||
|
// label34
|
|||
|
//
|
|||
|
this.label34.AutoSize = true;
|
|||
|
this.label34.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label34.Location = new System.Drawing.Point(5, 81);
|
|||
|
this.label34.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label34.Name = "label34";
|
|||
|
this.label34.Size = new System.Drawing.Size(134, 13);
|
|||
|
this.label34.TabIndex = 32;
|
|||
|
this.label34.Text = "4. Voltage divider (Calced):";
|
|||
|
//
|
|||
|
// TXT_divider
|
|||
|
//
|
|||
|
this.TXT_divider.Location = new System.Drawing.Point(149, 78);
|
|||
|
this.TXT_divider.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.TXT_divider.Name = "TXT_divider";
|
|||
|
this.TXT_divider.Size = new System.Drawing.Size(76, 20);
|
|||
|
this.TXT_divider.TabIndex = 37;
|
|||
|
//
|
|||
|
// label35
|
|||
|
//
|
|||
|
this.label35.AutoSize = true;
|
|||
|
this.label35.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label35.Location = new System.Drawing.Point(6, 103);
|
|||
|
this.label35.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|||
|
this.label35.Name = "label35";
|
|||
|
this.label35.Size = new System.Drawing.Size(101, 13);
|
|||
|
this.label35.TabIndex = 33;
|
|||
|
this.label35.Text = "5. Amperes per volt:";
|
|||
|
//
|
|||
|
// TXT_voltage
|
|||
|
//
|
|||
|
this.TXT_voltage.Location = new System.Drawing.Point(149, 57);
|
|||
|
this.TXT_voltage.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.TXT_voltage.Name = "TXT_voltage";
|
|||
|
this.TXT_voltage.ReadOnly = true;
|
|||
|
this.TXT_voltage.Size = new System.Drawing.Size(76, 20);
|
|||
|
this.TXT_voltage.TabIndex = 36;
|
|||
|
//
|
|||
|
// TXT_inputvoltage
|
|||
|
//
|
|||
|
this.TXT_inputvoltage.Location = new System.Drawing.Point(149, 13);
|
|||
|
this.TXT_inputvoltage.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.TXT_inputvoltage.Name = "TXT_inputvoltage";
|
|||
|
this.TXT_inputvoltage.Size = new System.Drawing.Size(76, 20);
|
|||
|
this.TXT_inputvoltage.TabIndex = 34;
|
|||
|
//
|
|||
|
// TXT_measuredvoltage
|
|||
|
//
|
|||
|
this.TXT_measuredvoltage.Location = new System.Drawing.Point(149, 35);
|
|||
|
this.TXT_measuredvoltage.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.TXT_measuredvoltage.Name = "TXT_measuredvoltage";
|
|||
|
this.TXT_measuredvoltage.Size = new System.Drawing.Size(76, 20);
|
|||
|
this.TXT_measuredvoltage.TabIndex = 35;
|
|||
|
//
|
|||
|
// label47
|
|||
|
//
|
|||
|
this.label47.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label47.Location = new System.Drawing.Point(106, 71);
|
|||
|
this.label47.Name = "label47";
|
|||
|
this.label47.Size = new System.Drawing.Size(42, 13);
|
|||
|
this.label47.TabIndex = 49;
|
|||
|
this.label47.Text = "Sensor";
|
|||
|
//
|
|||
|
// CMB_batmonsensortype
|
|||
|
//
|
|||
|
this.CMB_batmonsensortype.FormattingEnabled = true;
|
|||
|
this.CMB_batmonsensortype.Items.AddRange(new object[] {
|
|||
|
"0: Other",
|
|||
|
"1: AttoPilot 45A",
|
|||
|
"2: AttoPilot 90A",
|
|||
|
"3: AttoPilot 180A"});
|
|||
|
this.CMB_batmonsensortype.Location = new System.Drawing.Point(160, 68);
|
|||
|
this.CMB_batmonsensortype.Name = "CMB_batmonsensortype";
|
|||
|
this.CMB_batmonsensortype.Size = new System.Drawing.Size(121, 21);
|
|||
|
this.CMB_batmonsensortype.TabIndex = 48;
|
|||
|
//
|
|||
|
// textBox3
|
|||
|
//
|
|||
|
this.textBox3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
|||
|
this.textBox3.Location = new System.Drawing.Point(282, 172);
|
|||
|
this.textBox3.Margin = new System.Windows.Forms.Padding(2);
|
|||
|
this.textBox3.Multiline = true;
|
|||
|
this.textBox3.Name = "textBox3";
|
|||
|
this.textBox3.ReadOnly = true;
|
|||
|
this.textBox3.Size = new System.Drawing.Size(219, 131);
|
|||
|
this.textBox3.TabIndex = 47;
|
|||
|
this.textBox3.Text = resources.GetString("textBox3.Text");
|
|||
|
//
|
|||
|
// label29
|
|||
|
//
|
|||
|
this.label29.AutoSize = true;
|
|||
|
this.label29.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label29.Location = new System.Drawing.Point(288, 45);
|
|||
|
this.label29.Name = "label29";
|
|||
|
this.label29.Size = new System.Drawing.Size(48, 13);
|
|||
|
this.label29.TabIndex = 43;
|
|||
|
this.label29.Text = "Capacity";
|
|||
|
//
|
|||
|
// label30
|
|||
|
//
|
|||
|
this.label30.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.label30.Location = new System.Drawing.Point(106, 45);
|
|||
|
this.label30.Name = "label30";
|
|||
|
this.label30.Size = new System.Drawing.Size(42, 13);
|
|||
|
this.label30.TabIndex = 44;
|
|||
|
this.label30.Text = "Monitor";
|
|||
|
//
|
|||
|
// TXT_battcapacity
|
|||
|
//
|
|||
|
this.TXT_battcapacity.Location = new System.Drawing.Point(349, 42);
|
|||
|
this.TXT_battcapacity.Name = "TXT_battcapacity";
|
|||
|
this.TXT_battcapacity.Size = new System.Drawing.Size(83, 20);
|
|||
|
this.TXT_battcapacity.TabIndex = 45;
|
|||
|
//
|
|||
|
// CMB_batmontype
|
|||
|
//
|
|||
|
this.CMB_batmontype.FormattingEnabled = true;
|
|||
|
this.CMB_batmontype.Items.AddRange(new object[] {
|
|||
|
"0: Disabled",
|
|||
|
"3: Battery Volts",
|
|||
|
"4: Volts & Current"});
|
|||
|
this.CMB_batmontype.Location = new System.Drawing.Point(160, 41);
|
|||
|
this.CMB_batmontype.Name = "CMB_batmontype";
|
|||
|
this.CMB_batmontype.Size = new System.Drawing.Size(121, 21);
|
|||
|
this.CMB_batmontype.TabIndex = 46;
|
|||
|
//
|
|||
|
// pictureBox5
|
|||
|
//
|
|||
|
this.pictureBox5.BackColor = System.Drawing.Color.White;
|
|||
|
this.pictureBox5.BackgroundImage = global::ArdupilotMega.Properties.Resources.attocurrent;
|
|||
|
this.pictureBox5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
|
|||
|
this.pictureBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|||
|
this.pictureBox5.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|||
|
this.pictureBox5.Location = new System.Drawing.Point(14, 16);
|
|||
|
this.pictureBox5.Name = "pictureBox5";
|
|||
|
this.pictureBox5.Size = new System.Drawing.Size(75, 75);
|
|||
|
this.pictureBox5.TabIndex = 42;
|
|||
|
this.pictureBox5.TabStop = false;
|
|||
|
//
|
|||
|
// ConfigBatteryMonitoring
|
|||
|
//
|
|||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|||
|
this.Controls.Add(this.groupBox4);
|
|||
|
this.Controls.Add(this.label47);
|
|||
|
this.Controls.Add(this.CMB_batmonsensortype);
|
|||
|
this.Controls.Add(this.textBox3);
|
|||
|
this.Controls.Add(this.label29);
|
|||
|
this.Controls.Add(this.label30);
|
|||
|
this.Controls.Add(this.TXT_battcapacity);
|
|||
|
this.Controls.Add(this.CMB_batmontype);
|
|||
|
this.Controls.Add(this.pictureBox5);
|
|||
|
this.Name = "ConfigBatteryMonitoring";
|
|||
|
this.Size = new System.Drawing.Size(518, 322);
|
|||
|
this.groupBox4.ResumeLayout(false);
|
|||
|
this.groupBox4.PerformLayout();
|
|||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox5)).EndInit();
|
|||
|
this.ResumeLayout(false);
|
|||
|
this.PerformLayout();
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
#endregion
|
|||
|
|
|||
|
private System.Windows.Forms.GroupBox groupBox4;
|
|||
|
private System.Windows.Forms.Label label31;
|
|||
|
private System.Windows.Forms.Label label32;
|
|||
|
private System.Windows.Forms.Label label33;
|
|||
|
private System.Windows.Forms.TextBox TXT_ampspervolt;
|
|||
|
private System.Windows.Forms.Label label34;
|
|||
|
private System.Windows.Forms.TextBox TXT_divider;
|
|||
|
private System.Windows.Forms.Label label35;
|
|||
|
private System.Windows.Forms.TextBox TXT_voltage;
|
|||
|
private System.Windows.Forms.TextBox TXT_inputvoltage;
|
|||
|
private System.Windows.Forms.TextBox TXT_measuredvoltage;
|
|||
|
private System.Windows.Forms.Label label47;
|
|||
|
private System.Windows.Forms.ComboBox CMB_batmonsensortype;
|
|||
|
private System.Windows.Forms.TextBox textBox3;
|
|||
|
private System.Windows.Forms.Label label29;
|
|||
|
private System.Windows.Forms.Label label30;
|
|||
|
private System.Windows.Forms.TextBox TXT_battcapacity;
|
|||
|
private System.Windows.Forms.ComboBox CMB_batmontype;
|
|||
|
private System.Windows.Forms.PictureBox pictureBox5;
|
|||
|
}
|
|||
|
}
|