281 lines
13 KiB
C#
281 lines
13 KiB
C#
namespace MQTT_WinformV1
|
||
{
|
||
partial class Form1
|
||
{
|
||
/// <summary>
|
||
/// 必需的设计器变量。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清理所有正在使用的资源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region Windows 窗体设计器生成的代码
|
||
|
||
/// <summary>
|
||
/// 设计器支持所需的方法 - 不要修改
|
||
/// 使用代码编辑器修改此方法的内容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.components = new System.ComponentModel.Container();
|
||
this.buttonConnect = new System.Windows.Forms.Button();
|
||
this.buttonDisconnect = new System.Windows.Forms.Button();
|
||
this.textBoxLog = new System.Windows.Forms.TextBox();
|
||
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
||
this.toolStripStatusLabel1 = new System.Windows.Forms.ToolStripStatusLabel();
|
||
this.panel1 = new System.Windows.Forms.Panel();
|
||
this.txtLUploadPL = new System.Windows.Forms.TextBox();
|
||
this.label2 = new System.Windows.Forms.Label();
|
||
this.btnRefresh = new System.Windows.Forms.Button();
|
||
this.label1 = new System.Windows.Forms.Label();
|
||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||
this.bsPF = new System.Windows.Forms.BindingSource(this.components);
|
||
this.button3 = new System.Windows.Forms.Button();
|
||
this.button2 = new System.Windows.Forms.Button();
|
||
this.button1 = new System.Windows.Forms.Button();
|
||
this.panelLed = new System.Windows.Forms.Panel();
|
||
this.panel3 = new System.Windows.Forms.Panel();
|
||
this.timer1 = new System.Windows.Forms.Timer(this.components);
|
||
this.statusStrip1.SuspendLayout();
|
||
this.panel1.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.bsPF)).BeginInit();
|
||
this.panel3.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// buttonConnect
|
||
//
|
||
this.buttonConnect.BackColor = System.Drawing.Color.GhostWhite;
|
||
this.buttonConnect.Location = new System.Drawing.Point(12, 10);
|
||
this.buttonConnect.Name = "buttonConnect";
|
||
this.buttonConnect.Size = new System.Drawing.Size(100, 35);
|
||
this.buttonConnect.TabIndex = 0;
|
||
this.buttonConnect.Text = "网关连接";
|
||
this.buttonConnect.UseVisualStyleBackColor = false;
|
||
this.buttonConnect.Click += new System.EventHandler(this.buttonConnect_Click);
|
||
//
|
||
// buttonDisconnect
|
||
//
|
||
this.buttonDisconnect.Location = new System.Drawing.Point(141, 10);
|
||
this.buttonDisconnect.Name = "buttonDisconnect";
|
||
this.buttonDisconnect.Size = new System.Drawing.Size(100, 35);
|
||
this.buttonDisconnect.TabIndex = 1;
|
||
this.buttonDisconnect.Text = "网关断开";
|
||
this.buttonDisconnect.UseVisualStyleBackColor = true;
|
||
this.buttonDisconnect.Click += new System.EventHandler(this.buttonDisconnect_Click);
|
||
//
|
||
// textBoxLog
|
||
//
|
||
this.textBoxLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||
| System.Windows.Forms.AnchorStyles.Left)
|
||
| System.Windows.Forms.AnchorStyles.Right)));
|
||
this.textBoxLog.BackColor = System.Drawing.SystemColors.GradientInactiveCaption;
|
||
this.textBoxLog.Location = new System.Drawing.Point(0, 108);
|
||
this.textBoxLog.Multiline = true;
|
||
this.textBoxLog.Name = "textBoxLog";
|
||
this.textBoxLog.ReadOnly = true;
|
||
this.textBoxLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
||
this.textBoxLog.Size = new System.Drawing.Size(944, 476);
|
||
this.textBoxLog.TabIndex = 2;
|
||
//
|
||
// statusStrip1
|
||
//
|
||
this.statusStrip1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.statusStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
||
this.statusStrip1.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||
this.toolStripStatusLabel1});
|
||
this.statusStrip1.Location = new System.Drawing.Point(36, 2);
|
||
this.statusStrip1.Name = "statusStrip1";
|
||
this.statusStrip1.Size = new System.Drawing.Size(71, 26);
|
||
this.statusStrip1.TabIndex = 3;
|
||
this.statusStrip1.Text = "statusStrip1";
|
||
//
|
||
// toolStripStatusLabel1
|
||
//
|
||
this.toolStripStatusLabel1.Name = "toolStripStatusLabel1";
|
||
this.toolStripStatusLabel1.Size = new System.Drawing.Size(54, 20);
|
||
this.toolStripStatusLabel1.Text = "未连接";
|
||
//
|
||
// panel1
|
||
//
|
||
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
|
||
this.panel1.Controls.Add(this.txtLUploadPL);
|
||
this.panel1.Controls.Add(this.label2);
|
||
this.panel1.Controls.Add(this.btnRefresh);
|
||
this.panel1.Controls.Add(this.label1);
|
||
this.panel1.Controls.Add(this.comboBox1);
|
||
this.panel1.Controls.Add(this.button3);
|
||
this.panel1.Controls.Add(this.button2);
|
||
this.panel1.Controls.Add(this.button1);
|
||
this.panel1.Controls.Add(this.buttonConnect);
|
||
this.panel1.Controls.Add(this.buttonDisconnect);
|
||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||
this.panel1.Name = "panel1";
|
||
this.panel1.Size = new System.Drawing.Size(944, 102);
|
||
this.panel1.TabIndex = 4;
|
||
//
|
||
// txtLUploadPL
|
||
//
|
||
this.txtLUploadPL.Location = new System.Drawing.Point(781, 63);
|
||
this.txtLUploadPL.Name = "txtLUploadPL";
|
||
this.txtLUploadPL.Size = new System.Drawing.Size(128, 25);
|
||
this.txtLUploadPL.TabIndex = 10;
|
||
this.txtLUploadPL.Text = "10";
|
||
this.txtLUploadPL.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtLUploadPL_KeyPress);
|
||
//
|
||
// label2
|
||
//
|
||
this.label2.AutoSize = true;
|
||
this.label2.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label2.Location = new System.Drawing.Point(647, 67);
|
||
this.label2.Name = "label2";
|
||
this.label2.Size = new System.Drawing.Size(128, 17);
|
||
this.label2.TabIndex = 9;
|
||
this.label2.Text = "上传频率(秒):";
|
||
//
|
||
// btnRefresh
|
||
//
|
||
this.btnRefresh.BackColor = System.Drawing.Color.GhostWhite;
|
||
this.btnRefresh.Location = new System.Drawing.Point(557, 62);
|
||
this.btnRefresh.Name = "btnRefresh";
|
||
this.btnRefresh.Size = new System.Drawing.Size(71, 30);
|
||
this.btnRefresh.TabIndex = 8;
|
||
this.btnRefresh.Text = "刷新";
|
||
this.btnRefresh.UseVisualStyleBackColor = false;
|
||
this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
|
||
//
|
||
// label1
|
||
//
|
||
this.label1.AutoSize = true;
|
||
this.label1.BackColor = System.Drawing.Color.Gainsboro;
|
||
this.label1.Font = new System.Drawing.Font("宋体", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||
this.label1.Location = new System.Drawing.Point(25, 68);
|
||
this.label1.Name = "label1";
|
||
this.label1.Size = new System.Drawing.Size(93, 17);
|
||
this.label1.TabIndex = 6;
|
||
this.label1.Text = "配方选择:";
|
||
//
|
||
// comboBox1
|
||
//
|
||
this.comboBox1.DataSource = this.bsPF;
|
||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||
this.comboBox1.FormattingEnabled = true;
|
||
this.comboBox1.Location = new System.Drawing.Point(141, 65);
|
||
this.comboBox1.Name = "comboBox1";
|
||
this.comboBox1.Size = new System.Drawing.Size(386, 23);
|
||
this.comboBox1.TabIndex = 5;
|
||
//
|
||
// button3
|
||
//
|
||
this.button3.Location = new System.Drawing.Point(523, 10);
|
||
this.button3.Name = "button3";
|
||
this.button3.Size = new System.Drawing.Size(105, 35);
|
||
this.button3.TabIndex = 4;
|
||
this.button3.Text = "中止上传";
|
||
this.button3.UseVisualStyleBackColor = true;
|
||
this.button3.Click += new System.EventHandler(this.button3_Click);
|
||
//
|
||
// button2
|
||
//
|
||
this.button2.Location = new System.Drawing.Point(402, 10);
|
||
this.button2.Name = "button2";
|
||
this.button2.Size = new System.Drawing.Size(105, 35);
|
||
this.button2.TabIndex = 3;
|
||
this.button2.Text = "上传宜搭";
|
||
this.button2.UseVisualStyleBackColor = true;
|
||
this.button2.Click += new System.EventHandler(this.button2_Click);
|
||
//
|
||
// button1
|
||
//
|
||
this.button1.Location = new System.Drawing.Point(261, 10);
|
||
this.button1.Name = "button1";
|
||
this.button1.Size = new System.Drawing.Size(121, 35);
|
||
this.button1.TabIndex = 2;
|
||
this.button1.Text = "配方表格导入";
|
||
this.button1.UseVisualStyleBackColor = true;
|
||
this.button1.Click += new System.EventHandler(this.button1_Click);
|
||
//
|
||
// panelLed
|
||
//
|
||
this.panelLed.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||
this.panelLed.BackColor = System.Drawing.Color.Red;
|
||
this.panelLed.Location = new System.Drawing.Point(12, 6);
|
||
this.panelLed.Name = "panelLed";
|
||
this.panelLed.Size = new System.Drawing.Size(20, 20);
|
||
this.panelLed.TabIndex = 5;
|
||
//
|
||
// panel3
|
||
//
|
||
this.panel3.Controls.Add(this.panelLed);
|
||
this.panel3.Controls.Add(this.statusStrip1);
|
||
this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||
this.panel3.Location = new System.Drawing.Point(0, 584);
|
||
this.panel3.Name = "panel3";
|
||
this.panel3.Size = new System.Drawing.Size(944, 32);
|
||
this.panel3.TabIndex = 7;
|
||
//
|
||
// timer1
|
||
//
|
||
this.timer1.Enabled = true;
|
||
this.timer1.Interval = 1000;
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(944, 616);
|
||
this.Controls.Add(this.panel3);
|
||
this.Controls.Add(this.panel1);
|
||
this.Controls.Add(this.textBoxLog);
|
||
this.Name = "Form1";
|
||
this.Text = "孚冈-宜搭数据数据转发";
|
||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
|
||
this.Load += new System.EventHandler(this.Form1_Load);
|
||
this.statusStrip1.ResumeLayout(false);
|
||
this.statusStrip1.PerformLayout();
|
||
this.panel1.ResumeLayout(false);
|
||
this.panel1.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.bsPF)).EndInit();
|
||
this.panel3.ResumeLayout(false);
|
||
this.panel3.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.Windows.Forms.Button buttonConnect;
|
||
private System.Windows.Forms.Button buttonDisconnect;
|
||
private System.Windows.Forms.TextBox textBoxLog;
|
||
private System.Windows.Forms.StatusStrip statusStrip1;
|
||
private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel1;
|
||
private System.Windows.Forms.Panel panel1;
|
||
private System.Windows.Forms.Label label1;
|
||
private System.Windows.Forms.ComboBox comboBox1;
|
||
private System.Windows.Forms.BindingSource bsPF;
|
||
private System.Windows.Forms.Button button3;
|
||
private System.Windows.Forms.Button button2;
|
||
private System.Windows.Forms.Button button1;
|
||
private System.Windows.Forms.Panel panelLed;
|
||
private System.Windows.Forms.Panel panel3;
|
||
private System.Windows.Forms.Button btnRefresh;
|
||
private System.Windows.Forms.Timer timer1;
|
||
private System.Windows.Forms.TextBox txtLUploadPL;
|
||
private System.Windows.Forms.Label label2;
|
||
}
|
||
}
|
||
|