mirror of https://github.com/ArduPilot/ardupilot
367 lines
19 KiB
C#
367 lines
19 KiB
C#
namespace ArdupilotMega.GCSViews.ConfigurationView
|
|
{
|
|
partial class ConfigRadioInput
|
|
{
|
|
/// <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();
|
|
this.groupBoxElevons = new System.Windows.Forms.GroupBox();
|
|
this.CHK_mixmode = new System.Windows.Forms.CheckBox();
|
|
this.CHK_elevonch2rev = new System.Windows.Forms.CheckBox();
|
|
this.CHK_elevonrev = new System.Windows.Forms.CheckBox();
|
|
this.CHK_elevonch1rev = new System.Windows.Forms.CheckBox();
|
|
this.CHK_revch3 = new System.Windows.Forms.CheckBox();
|
|
this.CHK_revch4 = new System.Windows.Forms.CheckBox();
|
|
this.CHK_revch2 = new System.Windows.Forms.CheckBox();
|
|
this.CHK_revch1 = new System.Windows.Forms.CheckBox();
|
|
this.BUT_Calibrateradio = new ArdupilotMega.MyButton();
|
|
this.BAR8 = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.BAR7 = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.BAR6 = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.BAR5 = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.BARpitch = new ArdupilotMega.VerticalProgressBar2();
|
|
this.BARthrottle = new ArdupilotMega.VerticalProgressBar2();
|
|
this.BARyaw = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.BARroll = new ArdupilotMega.HorizontalProgressBar2();
|
|
this.currentStateBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
|
this.groupBoxElevons.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.currentStateBindingSource)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// groupBoxElevons
|
|
//
|
|
this.groupBoxElevons.Controls.Add(this.CHK_mixmode);
|
|
this.groupBoxElevons.Controls.Add(this.CHK_elevonch2rev);
|
|
this.groupBoxElevons.Controls.Add(this.CHK_elevonrev);
|
|
this.groupBoxElevons.Controls.Add(this.CHK_elevonch1rev);
|
|
this.groupBoxElevons.Location = new System.Drawing.Point(12, 356);
|
|
this.groupBoxElevons.Name = "groupBoxElevons";
|
|
this.groupBoxElevons.Size = new System.Drawing.Size(409, 42);
|
|
this.groupBoxElevons.TabIndex = 125;
|
|
this.groupBoxElevons.TabStop = false;
|
|
this.groupBoxElevons.Text = "Elevon Config";
|
|
//
|
|
// CHK_mixmode
|
|
//
|
|
this.CHK_mixmode.AutoSize = true;
|
|
this.CHK_mixmode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_mixmode.Location = new System.Drawing.Point(13, 19);
|
|
this.CHK_mixmode.Name = "CHK_mixmode";
|
|
this.CHK_mixmode.Size = new System.Drawing.Size(64, 17);
|
|
this.CHK_mixmode.TabIndex = 107;
|
|
this.CHK_mixmode.Text = "Elevons";
|
|
this.CHK_mixmode.UseVisualStyleBackColor = true;
|
|
this.CHK_mixmode.CheckedChanged += new System.EventHandler(this.CHK_mixmode_CheckedChanged);
|
|
//
|
|
// CHK_elevonch2rev
|
|
//
|
|
this.CHK_elevonch2rev.AutoSize = true;
|
|
this.CHK_elevonch2rev.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_elevonch2rev.Location = new System.Drawing.Point(292, 19);
|
|
this.CHK_elevonch2rev.Name = "CHK_elevonch2rev";
|
|
this.CHK_elevonch2rev.Size = new System.Drawing.Size(111, 17);
|
|
this.CHK_elevonch2rev.TabIndex = 110;
|
|
this.CHK_elevonch2rev.Text = "Elevons CH2 Rev";
|
|
this.CHK_elevonch2rev.UseVisualStyleBackColor = true;
|
|
this.CHK_elevonch2rev.CheckedChanged += new System.EventHandler(this.CHK_elevonch2rev_CheckedChanged);
|
|
//
|
|
// CHK_elevonrev
|
|
//
|
|
this.CHK_elevonrev.AutoSize = true;
|
|
this.CHK_elevonrev.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_elevonrev.Location = new System.Drawing.Point(82, 19);
|
|
this.CHK_elevonrev.Name = "CHK_elevonrev";
|
|
this.CHK_elevonrev.Size = new System.Drawing.Size(87, 17);
|
|
this.CHK_elevonrev.TabIndex = 108;
|
|
this.CHK_elevonrev.Text = "Elevons Rev";
|
|
this.CHK_elevonrev.UseVisualStyleBackColor = true;
|
|
this.CHK_elevonrev.CheckedChanged += new System.EventHandler(this.CHK_elevonrev_CheckedChanged);
|
|
//
|
|
// CHK_elevonch1rev
|
|
//
|
|
this.CHK_elevonch1rev.AutoSize = true;
|
|
this.CHK_elevonch1rev.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_elevonch1rev.Location = new System.Drawing.Point(175, 19);
|
|
this.CHK_elevonch1rev.Name = "CHK_elevonch1rev";
|
|
this.CHK_elevonch1rev.Size = new System.Drawing.Size(111, 17);
|
|
this.CHK_elevonch1rev.TabIndex = 109;
|
|
this.CHK_elevonch1rev.Text = "Elevons CH1 Rev";
|
|
this.CHK_elevonch1rev.UseVisualStyleBackColor = true;
|
|
this.CHK_elevonch1rev.CheckedChanged += new System.EventHandler(this.CHK_elevonch1rev_CheckedChanged);
|
|
//
|
|
// CHK_revch3
|
|
//
|
|
this.CHK_revch3.AutoSize = true;
|
|
this.CHK_revch3.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_revch3.Location = new System.Drawing.Point(278, 161);
|
|
this.CHK_revch3.Name = "CHK_revch3";
|
|
this.CHK_revch3.Size = new System.Drawing.Size(66, 17);
|
|
this.CHK_revch3.TabIndex = 124;
|
|
this.CHK_revch3.Text = "Reverse";
|
|
this.CHK_revch3.UseVisualStyleBackColor = true;
|
|
this.CHK_revch3.CheckedChanged += new System.EventHandler(this.CHK_revch3_CheckedChanged);
|
|
//
|
|
// CHK_revch4
|
|
//
|
|
this.CHK_revch4.AutoSize = true;
|
|
this.CHK_revch4.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_revch4.Location = new System.Drawing.Point(306, 313);
|
|
this.CHK_revch4.Name = "CHK_revch4";
|
|
this.CHK_revch4.Size = new System.Drawing.Size(66, 17);
|
|
this.CHK_revch4.TabIndex = 123;
|
|
this.CHK_revch4.Text = "Reverse";
|
|
this.CHK_revch4.UseVisualStyleBackColor = true;
|
|
this.CHK_revch4.CheckedChanged += new System.EventHandler(this.CHK_revch4_CheckedChanged);
|
|
//
|
|
// CHK_revch2
|
|
//
|
|
this.CHK_revch2.AutoSize = true;
|
|
this.CHK_revch2.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_revch2.Location = new System.Drawing.Point(62, 161);
|
|
this.CHK_revch2.Name = "CHK_revch2";
|
|
this.CHK_revch2.Size = new System.Drawing.Size(66, 17);
|
|
this.CHK_revch2.TabIndex = 122;
|
|
this.CHK_revch2.Text = "Reverse";
|
|
this.CHK_revch2.UseVisualStyleBackColor = true;
|
|
this.CHK_revch2.CheckedChanged += new System.EventHandler(this.CHK_revch2_CheckedChanged);
|
|
//
|
|
// CHK_revch1
|
|
//
|
|
this.CHK_revch1.AutoSize = true;
|
|
this.CHK_revch1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.CHK_revch1.Location = new System.Drawing.Point(306, 19);
|
|
this.CHK_revch1.Name = "CHK_revch1";
|
|
this.CHK_revch1.Size = new System.Drawing.Size(66, 17);
|
|
this.CHK_revch1.TabIndex = 121;
|
|
this.CHK_revch1.Text = "Reverse";
|
|
this.CHK_revch1.UseVisualStyleBackColor = true;
|
|
this.CHK_revch1.CheckedChanged += new System.EventHandler(this.CHK_revch1_CheckedChanged);
|
|
//
|
|
// BUT_Calibrateradio
|
|
//
|
|
this.BUT_Calibrateradio.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
|
this.BUT_Calibrateradio.Location = new System.Drawing.Point(473, 347);
|
|
this.BUT_Calibrateradio.Name = "BUT_Calibrateradio";
|
|
this.BUT_Calibrateradio.Size = new System.Drawing.Size(134, 23);
|
|
this.BUT_Calibrateradio.TabIndex = 120;
|
|
this.BUT_Calibrateradio.Text = "Calibrate Radio";
|
|
this.BUT_Calibrateradio.UseVisualStyleBackColor = true;
|
|
this.BUT_Calibrateradio.Click += new System.EventHandler(this.BUT_Calibrateradio_Click);
|
|
//
|
|
// BAR8
|
|
//
|
|
this.BAR8.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BAR8.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BAR8.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch8in", true));
|
|
this.BAR8.Label = "Radio 8";
|
|
this.BAR8.Location = new System.Drawing.Point(437, 247);
|
|
this.BAR8.Maximum = 2200;
|
|
this.BAR8.maxline = 0;
|
|
this.BAR8.Minimum = 800;
|
|
this.BAR8.minline = 0;
|
|
this.BAR8.Name = "BAR8";
|
|
this.BAR8.Size = new System.Drawing.Size(170, 25);
|
|
this.BAR8.TabIndex = 119;
|
|
this.BAR8.Value = 1500;
|
|
this.BAR8.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BAR7
|
|
//
|
|
this.BAR7.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BAR7.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BAR7.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch7in", true));
|
|
this.BAR7.Label = "Radio 7";
|
|
this.BAR7.Location = new System.Drawing.Point(437, 192);
|
|
this.BAR7.Maximum = 2200;
|
|
this.BAR7.maxline = 0;
|
|
this.BAR7.Minimum = 800;
|
|
this.BAR7.minline = 0;
|
|
this.BAR7.Name = "BAR7";
|
|
this.BAR7.Size = new System.Drawing.Size(170, 25);
|
|
this.BAR7.TabIndex = 118;
|
|
this.BAR7.Value = 1500;
|
|
this.BAR7.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BAR6
|
|
//
|
|
this.BAR6.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BAR6.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BAR6.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch6in", true));
|
|
this.BAR6.Label = "Radio 6";
|
|
this.BAR6.Location = new System.Drawing.Point(437, 137);
|
|
this.BAR6.Maximum = 2200;
|
|
this.BAR6.maxline = 0;
|
|
this.BAR6.Minimum = 800;
|
|
this.BAR6.minline = 0;
|
|
this.BAR6.Name = "BAR6";
|
|
this.BAR6.Size = new System.Drawing.Size(170, 25);
|
|
this.BAR6.TabIndex = 117;
|
|
this.BAR6.Value = 1500;
|
|
this.BAR6.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BAR5
|
|
//
|
|
this.BAR5.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BAR5.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BAR5.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch5in", true));
|
|
this.BAR5.Label = "Radio 5";
|
|
this.BAR5.Location = new System.Drawing.Point(437, 82);
|
|
this.BAR5.Maximum = 2200;
|
|
this.BAR5.maxline = 0;
|
|
this.BAR5.Minimum = 800;
|
|
this.BAR5.minline = 0;
|
|
this.BAR5.Name = "BAR5";
|
|
this.BAR5.Size = new System.Drawing.Size(170, 25);
|
|
this.BAR5.TabIndex = 116;
|
|
this.BAR5.Value = 1500;
|
|
this.BAR5.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BARpitch
|
|
//
|
|
this.BARpitch.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BARpitch.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BARpitch.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch2in", true));
|
|
this.BARpitch.Label = "Pitch";
|
|
this.BARpitch.Location = new System.Drawing.Point(134, 64);
|
|
this.BARpitch.Maximum = 2200;
|
|
this.BARpitch.maxline = 0;
|
|
this.BARpitch.Minimum = 800;
|
|
this.BARpitch.minline = 0;
|
|
this.BARpitch.Name = "BARpitch";
|
|
this.BARpitch.Size = new System.Drawing.Size(47, 211);
|
|
this.BARpitch.TabIndex = 115;
|
|
this.BARpitch.Value = 1500;
|
|
this.BARpitch.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BARthrottle
|
|
//
|
|
this.BARthrottle.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(67)))), ((int)(((byte)(68)))), ((int)(((byte)(69)))));
|
|
this.BARthrottle.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BARthrottle.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch3in", true));
|
|
this.BARthrottle.Label = "Throttle";
|
|
this.BARthrottle.Location = new System.Drawing.Point(350, 64);
|
|
this.BARthrottle.Maximum = 2200;
|
|
this.BARthrottle.maxline = 0;
|
|
this.BARthrottle.Minimum = 800;
|
|
this.BARthrottle.minline = 0;
|
|
this.BARthrottle.Name = "BARthrottle";
|
|
this.BARthrottle.Size = new System.Drawing.Size(47, 211);
|
|
this.BARthrottle.TabIndex = 114;
|
|
this.BARthrottle.Value = 1000;
|
|
this.BARthrottle.ValueColor = System.Drawing.Color.Magenta;
|
|
//
|
|
// BARyaw
|
|
//
|
|
this.BARyaw.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BARyaw.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BARyaw.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch4in", true));
|
|
this.BARyaw.Label = "Yaw";
|
|
this.BARyaw.Location = new System.Drawing.Point(12, 307);
|
|
this.BARyaw.Maximum = 2200;
|
|
this.BARyaw.maxline = 0;
|
|
this.BARyaw.Minimum = 800;
|
|
this.BARyaw.minline = 0;
|
|
this.BARyaw.Name = "BARyaw";
|
|
this.BARyaw.Size = new System.Drawing.Size(288, 23);
|
|
this.BARyaw.TabIndex = 113;
|
|
this.BARyaw.Value = 1500;
|
|
this.BARyaw.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// BARroll
|
|
//
|
|
this.BARroll.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(255)))));
|
|
this.BARroll.BorderColor = System.Drawing.SystemColors.ActiveBorder;
|
|
this.BARroll.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.currentStateBindingSource, "ch1in", true));
|
|
this.BARroll.Label = "Roll";
|
|
this.BARroll.Location = new System.Drawing.Point(12, 13);
|
|
this.BARroll.Maximum = 2200;
|
|
this.BARroll.maxline = 0;
|
|
this.BARroll.Minimum = 800;
|
|
this.BARroll.minline = 0;
|
|
this.BARroll.Name = "BARroll";
|
|
this.BARroll.Size = new System.Drawing.Size(288, 23);
|
|
this.BARroll.TabIndex = 112;
|
|
this.BARroll.Value = 1500;
|
|
this.BARroll.ValueColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(0)))), ((int)(((byte)(255)))));
|
|
//
|
|
// currentStateBindingSource
|
|
//
|
|
this.currentStateBindingSource.DataSource = typeof(ArdupilotMega.CurrentState);
|
|
//
|
|
// ConfigRadioInput
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.groupBoxElevons);
|
|
this.Controls.Add(this.CHK_revch3);
|
|
this.Controls.Add(this.CHK_revch4);
|
|
this.Controls.Add(this.CHK_revch2);
|
|
this.Controls.Add(this.CHK_revch1);
|
|
this.Controls.Add(this.BUT_Calibrateradio);
|
|
this.Controls.Add(this.BAR8);
|
|
this.Controls.Add(this.BAR7);
|
|
this.Controls.Add(this.BAR6);
|
|
this.Controls.Add(this.BAR5);
|
|
this.Controls.Add(this.BARpitch);
|
|
this.Controls.Add(this.BARthrottle);
|
|
this.Controls.Add(this.BARyaw);
|
|
this.Controls.Add(this.BARroll);
|
|
this.Name = "ConfigRadioInput";
|
|
this.Size = new System.Drawing.Size(628, 406);
|
|
this.Load += new System.EventHandler(this.ConfigRadioInput_Load);
|
|
this.groupBoxElevons.ResumeLayout(false);
|
|
this.groupBoxElevons.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.currentStateBindingSource)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox groupBoxElevons;
|
|
private System.Windows.Forms.CheckBox CHK_mixmode;
|
|
private System.Windows.Forms.CheckBox CHK_elevonch2rev;
|
|
private System.Windows.Forms.CheckBox CHK_elevonrev;
|
|
private System.Windows.Forms.CheckBox CHK_elevonch1rev;
|
|
private System.Windows.Forms.CheckBox CHK_revch3;
|
|
private System.Windows.Forms.CheckBox CHK_revch4;
|
|
private System.Windows.Forms.CheckBox CHK_revch2;
|
|
private System.Windows.Forms.CheckBox CHK_revch1;
|
|
private MyButton BUT_Calibrateradio;
|
|
private HorizontalProgressBar2 BAR8;
|
|
private HorizontalProgressBar2 BAR7;
|
|
private HorizontalProgressBar2 BAR6;
|
|
private HorizontalProgressBar2 BAR5;
|
|
private VerticalProgressBar2 BARpitch;
|
|
private VerticalProgressBar2 BARthrottle;
|
|
private HorizontalProgressBar2 BARyaw;
|
|
private HorizontalProgressBar2 BARroll;
|
|
private System.Windows.Forms.BindingSource currentStateBindingSource;
|
|
}
|
|
}
|