412 lines
19 KiB
C#
412 lines
19 KiB
C#
namespace AgroBase.Forms
|
|
{
|
|
partial class frmLoraConfig
|
|
{
|
|
/// <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 Windows Form 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.gpbParametros = new System.Windows.Forms.GroupBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.txtCanal = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtEndereco = new System.Windows.Forms.TextBox();
|
|
this.cmbPower = new System.Windows.Forms.ComboBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.cmbWorCycle = new System.Windows.Forms.ComboBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.cmbTransmissao = new System.Windows.Forms.ComboBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.cmbPacketSize = new System.Windows.Forms.ComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.cmbAirRate = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.cmbBaudRate = new System.Windows.Forms.ComboBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.btnLerParametros = new System.Windows.Forms.Button();
|
|
this.btnGravarParametros = new System.Windows.Forms.Button();
|
|
this.gpbTestar = new System.Windows.Forms.GroupBox();
|
|
this.txtEnderecoDestino = new System.Windows.Forms.TextBox();
|
|
this.btnEnviar = new System.Windows.Forms.Button();
|
|
this.txtMensagem = new System.Windows.Forms.TextBox();
|
|
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
|
|
this.cmbPorta = new System.Windows.Forms.ComboBox();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.btnSalvar = new System.Windows.Forms.Button();
|
|
this.btnConectar = new System.Windows.Forms.Button();
|
|
this.gpbParametros.SuspendLayout();
|
|
this.gpbTestar.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// gpbParametros
|
|
//
|
|
this.gpbParametros.Controls.Add(this.label8);
|
|
this.gpbParametros.Controls.Add(this.txtCanal);
|
|
this.gpbParametros.Controls.Add(this.label7);
|
|
this.gpbParametros.Controls.Add(this.txtEndereco);
|
|
this.gpbParametros.Controls.Add(this.cmbPower);
|
|
this.gpbParametros.Controls.Add(this.label6);
|
|
this.gpbParametros.Controls.Add(this.cmbWorCycle);
|
|
this.gpbParametros.Controls.Add(this.label5);
|
|
this.gpbParametros.Controls.Add(this.cmbTransmissao);
|
|
this.gpbParametros.Controls.Add(this.label4);
|
|
this.gpbParametros.Controls.Add(this.cmbPacketSize);
|
|
this.gpbParametros.Controls.Add(this.label3);
|
|
this.gpbParametros.Controls.Add(this.cmbAirRate);
|
|
this.gpbParametros.Controls.Add(this.label2);
|
|
this.gpbParametros.Controls.Add(this.cmbBaudRate);
|
|
this.gpbParametros.Controls.Add(this.label1);
|
|
this.gpbParametros.Enabled = false;
|
|
this.gpbParametros.Location = new System.Drawing.Point(12, 71);
|
|
this.gpbParametros.Name = "gpbParametros";
|
|
this.gpbParametros.Size = new System.Drawing.Size(488, 151);
|
|
this.gpbParametros.TabIndex = 0;
|
|
this.gpbParametros.TabStop = false;
|
|
this.gpbParametros.Text = "Configurações do módulo";
|
|
//
|
|
// label8
|
|
//
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(6, 118);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(56, 16);
|
|
this.label8.TabIndex = 16;
|
|
this.label8.Text = "Channel";
|
|
//
|
|
// txtCanal
|
|
//
|
|
this.txtCanal.Location = new System.Drawing.Point(110, 113);
|
|
this.txtCanal.Name = "txtCanal";
|
|
this.txtCanal.Size = new System.Drawing.Size(131, 22);
|
|
this.txtCanal.TabIndex = 15;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(6, 88);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(58, 16);
|
|
this.label7.TabIndex = 14;
|
|
this.label7.Text = "Address";
|
|
//
|
|
// txtEndereco
|
|
//
|
|
this.txtEndereco.Location = new System.Drawing.Point(110, 85);
|
|
this.txtEndereco.Name = "txtEndereco";
|
|
this.txtEndereco.Size = new System.Drawing.Size(131, 22);
|
|
this.txtEndereco.TabIndex = 13;
|
|
//
|
|
// cmbPower
|
|
//
|
|
this.cmbPower.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbPower.FormattingEnabled = true;
|
|
this.cmbPower.Location = new System.Drawing.Point(346, 115);
|
|
this.cmbPower.Name = "cmbPower";
|
|
this.cmbPower.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbPower.TabIndex = 12;
|
|
//
|
|
// label6
|
|
//
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(250, 116);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(45, 16);
|
|
this.label6.TabIndex = 11;
|
|
this.label6.Text = "Power";
|
|
//
|
|
// cmbWorCycle
|
|
//
|
|
this.cmbWorCycle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbWorCycle.FormattingEnabled = true;
|
|
this.cmbWorCycle.Location = new System.Drawing.Point(346, 85);
|
|
this.cmbWorCycle.Name = "cmbWorCycle";
|
|
this.cmbWorCycle.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbWorCycle.TabIndex = 10;
|
|
//
|
|
// label5
|
|
//
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(250, 88);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(72, 16);
|
|
this.label5.TabIndex = 9;
|
|
this.label5.Text = "Wor Clycle";
|
|
//
|
|
// cmbTransmissao
|
|
//
|
|
this.cmbTransmissao.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbTransmissao.FormattingEnabled = true;
|
|
this.cmbTransmissao.Location = new System.Drawing.Point(110, 55);
|
|
this.cmbTransmissao.Name = "cmbTransmissao";
|
|
this.cmbTransmissao.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbTransmissao.TabIndex = 8;
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(6, 59);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(86, 16);
|
|
this.label4.TabIndex = 7;
|
|
this.label4.Text = "Transmissão";
|
|
//
|
|
// cmbPacketSize
|
|
//
|
|
this.cmbPacketSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbPacketSize.FormattingEnabled = true;
|
|
this.cmbPacketSize.Location = new System.Drawing.Point(346, 55);
|
|
this.cmbPacketSize.Name = "cmbPacketSize";
|
|
this.cmbPacketSize.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbPacketSize.TabIndex = 6;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(250, 59);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(78, 16);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "Packet Size";
|
|
//
|
|
// cmbAirRate
|
|
//
|
|
this.cmbAirRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbAirRate.FormattingEnabled = true;
|
|
this.cmbAirRate.Location = new System.Drawing.Point(346, 25);
|
|
this.cmbAirRate.Name = "cmbAirRate";
|
|
this.cmbAirRate.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbAirRate.TabIndex = 4;
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(250, 29);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(55, 16);
|
|
this.label2.TabIndex = 3;
|
|
this.label2.Text = "Air Rate";
|
|
//
|
|
// cmbBaudRate
|
|
//
|
|
this.cmbBaudRate.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbBaudRate.FormattingEnabled = true;
|
|
this.cmbBaudRate.Location = new System.Drawing.Point(110, 25);
|
|
this.cmbBaudRate.Name = "cmbBaudRate";
|
|
this.cmbBaudRate.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbBaudRate.TabIndex = 2;
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 29);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(71, 16);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Baud Rate";
|
|
//
|
|
// btnLerParametros
|
|
//
|
|
this.btnLerParametros.Location = new System.Drawing.Point(12, 228);
|
|
this.btnLerParametros.Name = "btnLerParametros";
|
|
this.btnLerParametros.Size = new System.Drawing.Size(241, 31);
|
|
this.btnLerParametros.TabIndex = 1;
|
|
this.btnLerParametros.Text = "Ler parâmetros atuais";
|
|
this.btnLerParametros.UseVisualStyleBackColor = true;
|
|
this.btnLerParametros.Click += new System.EventHandler(this.btnLerParametros_Click);
|
|
//
|
|
// btnGravarParametros
|
|
//
|
|
this.btnGravarParametros.Location = new System.Drawing.Point(259, 228);
|
|
this.btnGravarParametros.Name = "btnGravarParametros";
|
|
this.btnGravarParametros.Size = new System.Drawing.Size(241, 31);
|
|
this.btnGravarParametros.TabIndex = 2;
|
|
this.btnGravarParametros.Text = "Gravar novos parâmetros";
|
|
this.btnGravarParametros.UseVisualStyleBackColor = true;
|
|
this.btnGravarParametros.Click += new System.EventHandler(this.btnGravarParametros_Click);
|
|
//
|
|
// gpbTestar
|
|
//
|
|
this.gpbTestar.Controls.Add(this.txtEnderecoDestino);
|
|
this.gpbTestar.Controls.Add(this.btnEnviar);
|
|
this.gpbTestar.Controls.Add(this.txtMensagem);
|
|
this.gpbTestar.Controls.Add(this.richTextBox1);
|
|
this.gpbTestar.Enabled = false;
|
|
this.gpbTestar.Location = new System.Drawing.Point(12, 265);
|
|
this.gpbTestar.Name = "gpbTestar";
|
|
this.gpbTestar.Size = new System.Drawing.Size(488, 236);
|
|
this.gpbTestar.TabIndex = 3;
|
|
this.gpbTestar.TabStop = false;
|
|
this.gpbTestar.Text = "Testar Comunicação";
|
|
//
|
|
// txtEnderecoDestino
|
|
//
|
|
this.txtEnderecoDestino.Location = new System.Drawing.Point(298, 206);
|
|
this.txtEnderecoDestino.Name = "txtEnderecoDestino";
|
|
this.txtEnderecoDestino.Size = new System.Drawing.Size(83, 22);
|
|
this.txtEnderecoDestino.TabIndex = 2;
|
|
this.txtEnderecoDestino.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
//
|
|
// btnEnviar
|
|
//
|
|
this.btnEnviar.Location = new System.Drawing.Point(387, 199);
|
|
this.btnEnviar.Name = "btnEnviar";
|
|
this.btnEnviar.Size = new System.Drawing.Size(95, 31);
|
|
this.btnEnviar.TabIndex = 3;
|
|
this.btnEnviar.Text = "Enviar";
|
|
this.btnEnviar.UseVisualStyleBackColor = true;
|
|
this.btnEnviar.Click += new System.EventHandler(this.btnEnviar_Click);
|
|
//
|
|
// txtMensagem
|
|
//
|
|
this.txtMensagem.Location = new System.Drawing.Point(6, 206);
|
|
this.txtMensagem.Name = "txtMensagem";
|
|
this.txtMensagem.Size = new System.Drawing.Size(286, 22);
|
|
this.txtMensagem.TabIndex = 1;
|
|
this.txtMensagem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtMensagem_KeyDown);
|
|
//
|
|
// richTextBox1
|
|
//
|
|
this.richTextBox1.Location = new System.Drawing.Point(6, 19);
|
|
this.richTextBox1.Name = "richTextBox1";
|
|
this.richTextBox1.ReadOnly = true;
|
|
this.richTextBox1.Size = new System.Drawing.Size(476, 174);
|
|
this.richTextBox1.TabIndex = 0;
|
|
this.richTextBox1.Text = "";
|
|
//
|
|
// cmbPorta
|
|
//
|
|
this.cmbPorta.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.cmbPorta.Enabled = false;
|
|
this.cmbPorta.FormattingEnabled = true;
|
|
this.cmbPorta.Location = new System.Drawing.Point(110, 22);
|
|
this.cmbPorta.Name = "cmbPorta";
|
|
this.cmbPorta.Size = new System.Drawing.Size(131, 24);
|
|
this.cmbPorta.TabIndex = 5;
|
|
this.cmbPorta.SelectedIndexChanged += new System.EventHandler(this.cmbPorta_SelectedIndexChanged);
|
|
this.cmbPorta.Click += new System.EventHandler(this.cmbPorta_Click);
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(6, 25);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(72, 16);
|
|
this.label9.TabIndex = 4;
|
|
this.label9.Text = "Porta COM";
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.btnConectar);
|
|
this.groupBox1.Controls.Add(this.btnSalvar);
|
|
this.groupBox1.Controls.Add(this.cmbPorta);
|
|
this.groupBox1.Controls.Add(this.label9);
|
|
this.groupBox1.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(488, 53);
|
|
this.groupBox1.TabIndex = 4;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Conexão";
|
|
//
|
|
// btnSalvar
|
|
//
|
|
this.btnSalvar.Location = new System.Drawing.Point(387, 16);
|
|
this.btnSalvar.Name = "btnSalvar";
|
|
this.btnSalvar.Size = new System.Drawing.Size(95, 31);
|
|
this.btnSalvar.TabIndex = 6;
|
|
this.btnSalvar.Text = "Salvar";
|
|
this.btnSalvar.UseVisualStyleBackColor = true;
|
|
this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click);
|
|
//
|
|
// btnConectar
|
|
//
|
|
this.btnConectar.Location = new System.Drawing.Point(253, 16);
|
|
this.btnConectar.Name = "btnConectar";
|
|
this.btnConectar.Size = new System.Drawing.Size(128, 31);
|
|
this.btnConectar.TabIndex = 7;
|
|
this.btnConectar.Text = "Conectar";
|
|
this.btnConectar.UseVisualStyleBackColor = true;
|
|
this.btnConectar.Click += new System.EventHandler(this.btnConectar_Click);
|
|
//
|
|
// frmLoraConfig
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(512, 511);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.gpbTestar);
|
|
this.Controls.Add(this.btnGravarParametros);
|
|
this.Controls.Add(this.btnLerParametros);
|
|
this.Controls.Add(this.gpbParametros);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "frmLoraConfig";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Comunicação - Configuração";
|
|
this.Load += new System.EventHandler(this.frmLoraConfig_Load);
|
|
this.gpbParametros.ResumeLayout(false);
|
|
this.gpbParametros.PerformLayout();
|
|
this.gpbTestar.ResumeLayout(false);
|
|
this.gpbTestar.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox gpbParametros;
|
|
private System.Windows.Forms.Label label8;
|
|
private System.Windows.Forms.TextBox txtCanal;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.TextBox txtEndereco;
|
|
private System.Windows.Forms.ComboBox cmbPower;
|
|
private System.Windows.Forms.Label label6;
|
|
private System.Windows.Forms.ComboBox cmbWorCycle;
|
|
private System.Windows.Forms.Label label5;
|
|
private System.Windows.Forms.ComboBox cmbTransmissao;
|
|
private System.Windows.Forms.Label label4;
|
|
private System.Windows.Forms.ComboBox cmbPacketSize;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.ComboBox cmbAirRate;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.ComboBox cmbBaudRate;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Button btnLerParametros;
|
|
private System.Windows.Forms.Button btnGravarParametros;
|
|
private System.Windows.Forms.GroupBox gpbTestar;
|
|
private System.Windows.Forms.Button btnEnviar;
|
|
private System.Windows.Forms.TextBox txtMensagem;
|
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
|
private System.Windows.Forms.TextBox txtEnderecoDestino;
|
|
private System.Windows.Forms.ComboBox cmbPorta;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button btnSalvar;
|
|
private System.Windows.Forms.Button btnConectar;
|
|
}
|
|
} |