216 lines
9.9 KiB
C#
216 lines
9.9 KiB
C#
namespace sscom_sender;
|
||
|
||
partial class Form1
|
||
{
|
||
/// <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
|
||
|
||
private System.Windows.Forms.GroupBox groupBoxGPS;
|
||
private System.Windows.Forms.ComboBox comboBoxGPSPort;
|
||
private System.Windows.Forms.Label labelGPSPort;
|
||
private System.Windows.Forms.GroupBox groupBoxSpectrometer;
|
||
private System.Windows.Forms.NumericUpDown numericUpDownRefreshInterval;
|
||
private System.Windows.Forms.Label labelRefreshInterval;
|
||
private System.Windows.Forms.ComboBox comboBoxSpectrometerPort;
|
||
private System.Windows.Forms.Label labelSpectrometerPort;
|
||
private System.Windows.Forms.GroupBox groupBoxMQTT;
|
||
private System.Windows.Forms.Label labelMqttStatus;
|
||
private System.Windows.Forms.Button buttonStartStop;
|
||
private System.Windows.Forms.TextBox textBoxLog;
|
||
private System.Windows.Forms.Label labelLog;
|
||
|
||
/// <summary>
|
||
/// Required method for Designer support - do not modify
|
||
/// the contents of this method with the code editor.
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.groupBoxGPS = new System.Windows.Forms.GroupBox();
|
||
this.comboBoxGPSPort = new System.Windows.Forms.ComboBox();
|
||
this.labelGPSPort = new System.Windows.Forms.Label();
|
||
this.groupBoxSpectrometer = new System.Windows.Forms.GroupBox();
|
||
this.numericUpDownRefreshInterval = new System.Windows.Forms.NumericUpDown();
|
||
this.labelRefreshInterval = new System.Windows.Forms.Label();
|
||
this.comboBoxSpectrometerPort = new System.Windows.Forms.ComboBox();
|
||
this.labelSpectrometerPort = new System.Windows.Forms.Label();
|
||
this.groupBoxMQTT = new System.Windows.Forms.GroupBox();
|
||
this.labelMqttStatus = new System.Windows.Forms.Label();
|
||
this.buttonStartStop = new System.Windows.Forms.Button();
|
||
this.textBoxLog = new System.Windows.Forms.TextBox();
|
||
this.labelLog = new System.Windows.Forms.Label();
|
||
this.groupBoxGPS.SuspendLayout();
|
||
this.groupBoxSpectrometer.SuspendLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownRefreshInterval)).BeginInit();
|
||
this.groupBoxMQTT.SuspendLayout();
|
||
this.SuspendLayout();
|
||
//
|
||
// groupBoxGPS
|
||
//
|
||
this.groupBoxGPS.Controls.Add(this.comboBoxGPSPort);
|
||
this.groupBoxGPS.Controls.Add(this.labelGPSPort);
|
||
this.groupBoxGPS.Location = new System.Drawing.Point(12, 12);
|
||
this.groupBoxGPS.Name = "groupBoxGPS";
|
||
this.groupBoxGPS.Size = new System.Drawing.Size(200, 80);
|
||
this.groupBoxGPS.TabIndex = 0;
|
||
this.groupBoxGPS.TabStop = false;
|
||
this.groupBoxGPS.Text = "GPS设置";
|
||
//
|
||
// comboBoxGPSPort
|
||
//
|
||
this.comboBoxGPSPort.FormattingEnabled = true;
|
||
this.comboBoxGPSPort.Location = new System.Drawing.Point(70, 30);
|
||
this.comboBoxGPSPort.Name = "comboBoxGPSPort";
|
||
this.comboBoxGPSPort.Size = new System.Drawing.Size(121, 28);
|
||
this.comboBoxGPSPort.TabIndex = 1;
|
||
//
|
||
// labelGPSPort
|
||
//
|
||
this.labelGPSPort.AutoSize = true;
|
||
this.labelGPSPort.Location = new System.Drawing.Point(6, 33);
|
||
this.labelGPSPort.Name = "labelGPSPort";
|
||
this.labelGPSPort.Size = new System.Drawing.Size(54, 20);
|
||
this.labelGPSPort.TabIndex = 0;
|
||
this.labelGPSPort.Text = "串口:";
|
||
//
|
||
// groupBoxSpectrometer
|
||
//
|
||
this.groupBoxSpectrometer.Controls.Add(this.numericUpDownRefreshInterval);
|
||
this.groupBoxSpectrometer.Controls.Add(this.labelRefreshInterval);
|
||
this.groupBoxSpectrometer.Controls.Add(this.comboBoxSpectrometerPort);
|
||
this.groupBoxSpectrometer.Controls.Add(this.labelSpectrometerPort);
|
||
this.groupBoxSpectrometer.Location = new System.Drawing.Point(230, 12);
|
||
this.groupBoxSpectrometer.Name = "groupBoxSpectrometer";
|
||
this.groupBoxSpectrometer.Size = new System.Drawing.Size(250, 80);
|
||
this.groupBoxSpectrometer.TabIndex = 1;
|
||
this.groupBoxSpectrometer.TabStop = false;
|
||
this.groupBoxSpectrometer.Text = "谱仪设置";
|
||
//
|
||
// numericUpDownRefreshInterval
|
||
//
|
||
this.numericUpDownRefreshInterval.Location = new System.Drawing.Point(190, 50);
|
||
this.numericUpDownRefreshInterval.Maximum = new decimal(new int[] { 60, 0, 0, 0 });
|
||
this.numericUpDownRefreshInterval.Minimum = new decimal(new int[] { 1, 0, 0, 0 });
|
||
this.numericUpDownRefreshInterval.Name = "numericUpDownRefreshInterval";
|
||
this.numericUpDownRefreshInterval.Size = new System.Drawing.Size(50, 27);
|
||
this.numericUpDownRefreshInterval.TabIndex = 3;
|
||
this.numericUpDownRefreshInterval.Value = new decimal(new int[] { 1, 0, 0, 0 });
|
||
//
|
||
// labelRefreshInterval
|
||
//
|
||
this.labelRefreshInterval.AutoSize = true;
|
||
this.labelRefreshInterval.Location = new System.Drawing.Point(6, 52);
|
||
this.labelRefreshInterval.Name = "labelRefreshInterval";
|
||
this.labelRefreshInterval.Size = new System.Drawing.Size(178, 20);
|
||
this.labelRefreshInterval.TabIndex = 2;
|
||
this.labelRefreshInterval.Text = "刷新间隔(秒):";
|
||
//
|
||
// comboBoxSpectrometerPort
|
||
//
|
||
this.comboBoxSpectrometerPort.FormattingEnabled = true;
|
||
this.comboBoxSpectrometerPort.Location = new System.Drawing.Point(70, 20);
|
||
this.comboBoxSpectrometerPort.Name = "comboBoxSpectrometerPort";
|
||
this.comboBoxSpectrometerPort.Size = new System.Drawing.Size(121, 28);
|
||
this.comboBoxSpectrometerPort.TabIndex = 1;
|
||
//
|
||
// labelSpectrometerPort
|
||
//
|
||
this.labelSpectrometerPort.AutoSize = true;
|
||
this.labelSpectrometerPort.Location = new System.Drawing.Point(6, 23);
|
||
this.labelSpectrometerPort.Name = "labelSpectrometerPort";
|
||
this.labelSpectrometerPort.Size = new System.Drawing.Size(54, 20);
|
||
this.labelSpectrometerPort.TabIndex = 0;
|
||
this.labelSpectrometerPort.Text = "串口:";
|
||
//
|
||
// groupBoxMQTT
|
||
//
|
||
this.groupBoxMQTT.Controls.Add(this.labelMqttStatus);
|
||
this.groupBoxMQTT.Location = new System.Drawing.Point(500, 12);
|
||
this.groupBoxMQTT.Name = "groupBoxMQTT";
|
||
this.groupBoxMQTT.Size = new System.Drawing.Size(300, 60);
|
||
this.groupBoxMQTT.TabIndex = 2;
|
||
this.groupBoxMQTT.TabStop = false;
|
||
this.groupBoxMQTT.Text = "MQTT状态";
|
||
//
|
||
// labelMqttStatus
|
||
//
|
||
this.labelMqttStatus.AutoSize = true;
|
||
this.labelMqttStatus.Location = new System.Drawing.Point(6, 25);
|
||
this.labelMqttStatus.Name = "labelMqttStatus";
|
||
this.labelMqttStatus.Size = new System.Drawing.Size(69, 20);
|
||
this.labelMqttStatus.TabIndex = 0;
|
||
this.labelMqttStatus.Text = "未连接";
|
||
this.labelMqttStatus.ForeColor = System.Drawing.Color.Red;
|
||
//
|
||
// buttonStartStop
|
||
//
|
||
this.buttonStartStop.Font = new System.Drawing.Font("Microsoft YaHei UI", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point);
|
||
this.buttonStartStop.Location = new System.Drawing.Point(12, 110);
|
||
this.buttonStartStop.Name = "buttonStartStop";
|
||
this.buttonStartStop.Size = new System.Drawing.Size(120, 50);
|
||
this.buttonStartStop.TabIndex = 3;
|
||
this.buttonStartStop.Text = "开始";
|
||
this.buttonStartStop.UseVisualStyleBackColor = true;
|
||
this.buttonStartStop.Click += new System.EventHandler(this.buttonStartStop_Click);
|
||
//
|
||
// textBoxLog
|
||
//
|
||
this.textBoxLog.Location = new System.Drawing.Point(12, 200);
|
||
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(788, 250);
|
||
this.textBoxLog.TabIndex = 4;
|
||
//
|
||
// labelLog
|
||
//
|
||
this.labelLog.AutoSize = true;
|
||
this.labelLog.Location = new System.Drawing.Point(12, 177);
|
||
this.labelLog.Name = "labelLog";
|
||
this.labelLog.Size = new System.Drawing.Size(69, 20);
|
||
this.labelLog.TabIndex = 5;
|
||
this.labelLog.Text = "数据日志";
|
||
//
|
||
// Form1
|
||
//
|
||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F);
|
||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
this.ClientSize = new System.Drawing.Size(820, 470);
|
||
this.Controls.Add(this.labelLog);
|
||
this.Controls.Add(this.textBoxLog);
|
||
this.Controls.Add(this.buttonStartStop);
|
||
this.Controls.Add(this.groupBoxMQTT);
|
||
this.Controls.Add(this.groupBoxSpectrometer);
|
||
this.Controls.Add(this.groupBoxGPS);
|
||
this.Text = "串口数据采集与MQTT发送";
|
||
this.groupBoxGPS.ResumeLayout(false);
|
||
this.groupBoxGPS.PerformLayout();
|
||
this.groupBoxSpectrometer.ResumeLayout(false);
|
||
this.groupBoxSpectrometer.PerformLayout();
|
||
((System.ComponentModel.ISupportInitialize)(this.numericUpDownRefreshInterval)).EndInit();
|
||
this.groupBoxMQTT.ResumeLayout(false);
|
||
this.groupBoxMQTT.PerformLayout();
|
||
this.ResumeLayout(false);
|
||
this.PerformLayout();
|
||
}
|
||
|
||
#endregion
|
||
}
|