mirror of https://github.com/ArduPilot/ardupilot
154 lines
8.5 KiB
C#
154 lines
8.5 KiB
C#
namespace ArdupilotMega.GCSViews.ConfigurationView
|
|
{
|
|
partial class ConfigAteryxSensors
|
|
{
|
|
/// <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(ConfigAteryxSensors));
|
|
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
|
this.BUT_zero_att = new ArdupilotMega.Controls.MyButton();
|
|
this.BUT_zero_press = new ArdupilotMega.Controls.MyButton();
|
|
this.hud1 = new ArdupilotMega.Controls.HUD();
|
|
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
|
|
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// BUT_zero_att
|
|
//
|
|
resources.ApplyResources(this.BUT_zero_att, "BUT_zero_att");
|
|
this.BUT_zero_att.Name = "BUT_zero_att";
|
|
this.toolTip1.SetToolTip(this.BUT_zero_att, resources.GetString("BUT_zero_att.ToolTip"));
|
|
this.BUT_zero_att.UseVisualStyleBackColor = true;
|
|
this.BUT_zero_att.Click += new System.EventHandler(this.BUT_levelplane_Click);
|
|
//
|
|
// BUT_zero_press
|
|
//
|
|
resources.ApplyResources(this.BUT_zero_press, "BUT_zero_press");
|
|
this.BUT_zero_press.Name = "BUT_zero_press";
|
|
this.toolTip1.SetToolTip(this.BUT_zero_press, resources.GetString("BUT_zero_press.ToolTip"));
|
|
this.BUT_zero_press.UseVisualStyleBackColor = true;
|
|
this.BUT_zero_press.Click += new System.EventHandler(this.BUT_zero_press_Click);
|
|
//
|
|
// hud1
|
|
//
|
|
this.hud1.airspeed = 0F;
|
|
this.hud1.alt = 0F;
|
|
this.hud1.BackColor = System.Drawing.Color.Black;
|
|
this.hud1.batterylevel = 0F;
|
|
this.hud1.batteryremaining = 0F;
|
|
this.hud1.current = 0F;
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("airspeed", this.bindingSource1, "airspeed", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("alt", this.bindingSource1, "alt", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("batterylevel", this.bindingSource1, "battery_voltage", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("batteryremaining", this.bindingSource1, "battery_remaining", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("current", this.bindingSource1, "current", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("datetime", this.bindingSource1, "datetime", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("disttowp", this.bindingSource1, "wp_dist", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("gpsfix", this.bindingSource1, "gpsstatus", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("gpshdop", this.bindingSource1, "gpshdop", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundalt", this.bindingSource1, "HomeAlt", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundcourse", this.bindingSource1, "groundcourse", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("groundspeed", this.bindingSource1, "groundspeed", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("heading", this.bindingSource1, "yaw", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("linkqualitygcs", this.bindingSource1, "linkqualitygcs", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("mode", this.bindingSource1, "mode", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("navpitch", this.bindingSource1, "nav_pitch", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("navroll", this.bindingSource1, "nav_roll", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("pitch", this.bindingSource1, "pitch", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("roll", this.bindingSource1, "roll", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("status", this.bindingSource1, "armed", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetalt", this.bindingSource1, "targetalt", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetheading", this.bindingSource1, "nav_bearing", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("targetspeed", this.bindingSource1, "targetairspeed", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("turnrate", this.bindingSource1, "turnrate", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("verticalspeed", this.bindingSource1, "verticalspeed", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("wpno", this.bindingSource1, "wpno", true));
|
|
this.hud1.DataBindings.Add(new System.Windows.Forms.Binding("xtrack_error", this.bindingSource1, "xtrack_error", true));
|
|
this.hud1.datetime = new System.DateTime(((long)(0)));
|
|
this.hud1.disttowp = 0F;
|
|
this.hud1.gpsfix = 0F;
|
|
this.hud1.gpshdop = 0F;
|
|
this.hud1.groundalt = 0F;
|
|
this.hud1.groundcourse = 0F;
|
|
this.hud1.groundspeed = 0F;
|
|
this.hud1.heading = 0F;
|
|
this.hud1.hudcolor = System.Drawing.Color.White;
|
|
this.hud1.linkqualitygcs = 0F;
|
|
resources.ApplyResources(this.hud1, "hud1");
|
|
this.hud1.mode = "Manual";
|
|
this.hud1.Name = "hud1";
|
|
this.hud1.navpitch = 0F;
|
|
this.hud1.navroll = 0F;
|
|
this.hud1.opengl = true;
|
|
this.hud1.pitch = 0F;
|
|
this.hud1.roll = 0F;
|
|
this.hud1.status = false;
|
|
this.hud1.streamjpg = ((System.IO.MemoryStream)(resources.GetObject("hud1.streamjpg")));
|
|
this.hud1.targetalt = 0F;
|
|
this.hud1.targetheading = 0F;
|
|
this.hud1.targetspeed = 0F;
|
|
this.hud1.turnrate = 0F;
|
|
this.hud1.verticalspeed = 0F;
|
|
this.hud1.VSync = false;
|
|
this.hud1.wpno = 0;
|
|
this.hud1.xtrack_error = 0F;
|
|
//
|
|
// bindingSource1
|
|
//
|
|
this.bindingSource1.DataSource = typeof(ArdupilotMega.CurrentState);
|
|
//
|
|
// timer1
|
|
//
|
|
this.timer1.Enabled = true;
|
|
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
|
|
//
|
|
// ConfigAteryxSensors
|
|
//
|
|
resources.ApplyResources(this, "$this");
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.hud1);
|
|
this.Controls.Add(this.BUT_zero_press);
|
|
this.Controls.Add(this.BUT_zero_att);
|
|
this.Name = "ConfigAteryxSensors";
|
|
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private ArdupilotMega.Controls.MyButton BUT_zero_att;
|
|
private System.Windows.Forms.ToolTip toolTip1;
|
|
private Controls.MyButton BUT_zero_press;
|
|
private Controls.HUD hud1;
|
|
private System.Windows.Forms.BindingSource bindingSource1;
|
|
private System.Windows.Forms.Timer timer1;
|
|
}
|
|
}
|