mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
8bebf0c394
Convert to IActivate, IDeactivate scheme, thanks andrew add support for rfcomm* interfaces on linux fix guage off screen draw mono issue. remove use of BackStageViewContentPanel andrews spacer changes - not using dues to screen space issue change configpanel constructor to load xml directly remove IMavlink Interface fix hsi off screen draw issue on mono modify hud to use sprite fonts, instead of drawing via GDI+ modify progress reporter to use a 10hz timer to update screen, using invoke/begininvoke fails on mono at 50hz (over 100ms per call). fix targetalt and target airspeed jumping issue. lots of cleanup on tab switching, ie stoping timers/other 3dr radio status led update update ardurover car icon speedup georef image screen. tested on over 1000 images.
238 lines
11 KiB
C#
238 lines
11 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()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
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.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
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);
|
|
resources.ApplyResources(this.groupBox4, "groupBox4");
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.TabStop = false;
|
|
//
|
|
// label31
|
|
//
|
|
resources.ApplyResources(this.label31, "label31");
|
|
this.label31.Name = "label31";
|
|
//
|
|
// label32
|
|
//
|
|
resources.ApplyResources(this.label32, "label32");
|
|
this.label32.Name = "label32";
|
|
//
|
|
// label33
|
|
//
|
|
resources.ApplyResources(this.label33, "label33");
|
|
this.label33.Name = "label33";
|
|
//
|
|
// TXT_ampspervolt
|
|
//
|
|
resources.ApplyResources(this.TXT_ampspervolt, "TXT_ampspervolt");
|
|
this.TXT_ampspervolt.Name = "TXT_ampspervolt";
|
|
this.TXT_ampspervolt.Validated += new System.EventHandler(this.TXT_ampspervolt_Validated);
|
|
//
|
|
// label34
|
|
//
|
|
resources.ApplyResources(this.label34, "label34");
|
|
this.label34.Name = "label34";
|
|
//
|
|
// TXT_divider
|
|
//
|
|
resources.ApplyResources(this.TXT_divider, "TXT_divider");
|
|
this.TXT_divider.Name = "TXT_divider";
|
|
this.TXT_divider.Validated += new System.EventHandler(this.TXT_divider_Validated);
|
|
//
|
|
// label35
|
|
//
|
|
resources.ApplyResources(this.label35, "label35");
|
|
this.label35.Name = "label35";
|
|
//
|
|
// TXT_voltage
|
|
//
|
|
resources.ApplyResources(this.TXT_voltage, "TXT_voltage");
|
|
this.TXT_voltage.Name = "TXT_voltage";
|
|
this.TXT_voltage.ReadOnly = true;
|
|
//
|
|
// TXT_inputvoltage
|
|
//
|
|
resources.ApplyResources(this.TXT_inputvoltage, "TXT_inputvoltage");
|
|
this.TXT_inputvoltage.Name = "TXT_inputvoltage";
|
|
this.TXT_inputvoltage.Validated += new System.EventHandler(this.TXT_inputvoltage_Validated);
|
|
//
|
|
// TXT_measuredvoltage
|
|
//
|
|
resources.ApplyResources(this.TXT_measuredvoltage, "TXT_measuredvoltage");
|
|
this.TXT_measuredvoltage.Name = "TXT_measuredvoltage";
|
|
this.TXT_measuredvoltage.Validated += new System.EventHandler(this.TXT_measuredvoltage_Validated);
|
|
//
|
|
// label47
|
|
//
|
|
resources.ApplyResources(this.label47, "label47");
|
|
this.label47.Name = "label47";
|
|
//
|
|
// CMB_batmonsensortype
|
|
//
|
|
this.CMB_batmonsensortype.FormattingEnabled = true;
|
|
this.CMB_batmonsensortype.Items.AddRange(new object[] {
|
|
resources.GetString("CMB_batmonsensortype.Items"),
|
|
resources.GetString("CMB_batmonsensortype.Items1"),
|
|
resources.GetString("CMB_batmonsensortype.Items2"),
|
|
resources.GetString("CMB_batmonsensortype.Items3")});
|
|
resources.ApplyResources(this.CMB_batmonsensortype, "CMB_batmonsensortype");
|
|
this.CMB_batmonsensortype.Name = "CMB_batmonsensortype";
|
|
this.CMB_batmonsensortype.SelectedIndexChanged += new System.EventHandler(this.CMB_batmonsensortype_SelectedIndexChanged);
|
|
//
|
|
// textBox3
|
|
//
|
|
resources.ApplyResources(this.textBox3, "textBox3");
|
|
this.textBox3.Name = "textBox3";
|
|
this.textBox3.ReadOnly = true;
|
|
//
|
|
// label29
|
|
//
|
|
resources.ApplyResources(this.label29, "label29");
|
|
this.label29.Name = "label29";
|
|
//
|
|
// label30
|
|
//
|
|
resources.ApplyResources(this.label30, "label30");
|
|
this.label30.Name = "label30";
|
|
//
|
|
// TXT_battcapacity
|
|
//
|
|
resources.ApplyResources(this.TXT_battcapacity, "TXT_battcapacity");
|
|
this.TXT_battcapacity.Name = "TXT_battcapacity";
|
|
this.TXT_battcapacity.Validated += new System.EventHandler(this.TXT_battcapacity_Validated);
|
|
//
|
|
// CMB_batmontype
|
|
//
|
|
this.CMB_batmontype.FormattingEnabled = true;
|
|
this.CMB_batmontype.Items.AddRange(new object[] {
|
|
resources.GetString("CMB_batmontype.Items"),
|
|
resources.GetString("CMB_batmontype.Items1"),
|
|
resources.GetString("CMB_batmontype.Items2")});
|
|
resources.ApplyResources(this.CMB_batmontype, "CMB_batmontype");
|
|
this.CMB_batmontype.Name = "CMB_batmontype";
|
|
this.CMB_batmontype.SelectedIndexChanged += new System.EventHandler(this.CMB_batmontype_SelectedIndexChanged);
|
|
//
|
|
// pictureBox5
|
|
//
|
|
this.pictureBox5.BackColor = System.Drawing.Color.White;
|
|
this.pictureBox5.BackgroundImage = global::ArdupilotMega.Properties.Resources.attocurrent;
|
|
resources.ApplyResources(this.pictureBox5, "pictureBox5");
|
|
this.pictureBox5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.pictureBox5.Name = "pictureBox5";
|
|
this.pictureBox5.TabStop = false;
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Interval = 1000;
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// ConfigBatteryMonitoring
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
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.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;
|
|
private System.Windows.Forms.Timer timer1;
|
|
}
|
|
}
|