295 lines
14 KiB
C#
295 lines
14 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.TextBox textBoxDeviceSecret;
|
||
private System.Windows.Forms.Label labelDeviceSecret;
|
||
private System.Windows.Forms.TextBox textBoxDeviceName;
|
||
private System.Windows.Forms.Label labelDeviceName;
|
||
private System.Windows.Forms.TextBox textBoxTopicRoot;
|
||
private System.Windows.Forms.Label labelTopicRoot;
|
||
private System.Windows.Forms.TextBox textBoxProductKey;
|
||
private System.Windows.Forms.Label labelProductKey;
|
||
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.textBoxDeviceSecret = new System.Windows.Forms.TextBox();
|
||
this.labelDeviceSecret = new System.Windows.Forms.Label();
|
||
this.textBoxDeviceName = new System.Windows.Forms.TextBox();
|
||
this.labelDeviceName = new System.Windows.Forms.Label();
|
||
this.textBoxTopicRoot = new System.Windows.Forms.TextBox();
|
||
this.labelTopicRoot = new System.Windows.Forms.Label();
|
||
this.textBoxProductKey = new System.Windows.Forms.TextBox();
|
||
this.labelProductKey = 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.textBoxDeviceSecret);
|
||
this.groupBoxMQTT.Controls.Add(this.labelDeviceSecret);
|
||
this.groupBoxMQTT.Controls.Add(this.textBoxDeviceName);
|
||
this.groupBoxMQTT.Controls.Add(this.labelDeviceName);
|
||
this.groupBoxMQTT.Controls.Add(this.textBoxTopicRoot);
|
||
this.groupBoxMQTT.Controls.Add(this.labelTopicRoot);
|
||
this.groupBoxMQTT.Controls.Add(this.textBoxProductKey);
|
||
this.groupBoxMQTT.Controls.Add(this.labelProductKey);
|
||
this.groupBoxMQTT.Location = new System.Drawing.Point(500, 12);
|
||
this.groupBoxMQTT.Name = "groupBoxMQTT";
|
||
this.groupBoxMQTT.Size = new System.Drawing.Size(300, 150);
|
||
this.groupBoxMQTT.TabIndex = 2;
|
||
this.groupBoxMQTT.TabStop = false;
|
||
this.groupBoxMQTT.Text = "MQTT设置";
|
||
//
|
||
// textBoxDeviceSecret
|
||
//
|
||
this.textBoxDeviceSecret.Location = new System.Drawing.Point(100, 115);
|
||
this.textBoxDeviceSecret.Name = "textBoxDeviceSecret";
|
||
this.textBoxDeviceSecret.Size = new System.Drawing.Size(190, 27);
|
||
this.textBoxDeviceSecret.TabIndex = 7;
|
||
this.textBoxDeviceSecret.Text = "1031a49a4f61c29a086f79b41ed971c7";
|
||
//
|
||
// labelDeviceSecret
|
||
//
|
||
this.labelDeviceSecret.AutoSize = true;
|
||
this.labelDeviceSecret.Location = new System.Drawing.Point(6, 118);
|
||
this.labelDeviceSecret.Name = "labelDeviceSecret";
|
||
this.labelDeviceSecret.Size = new System.Drawing.Size(88, 20);
|
||
this.labelDeviceSecret.TabIndex = 6;
|
||
this.labelDeviceSecret.Text = "设备密钥:";
|
||
//
|
||
// textBoxDeviceName
|
||
//
|
||
this.textBoxDeviceName.Location = new System.Drawing.Point(100, 85);
|
||
this.textBoxDeviceName.Name = "textBoxDeviceName";
|
||
this.textBoxDeviceName.Size = new System.Drawing.Size(190, 27);
|
||
this.textBoxDeviceName.TabIndex = 5;
|
||
this.textBoxDeviceName.Text = "PubDevice";
|
||
//
|
||
// labelDeviceName
|
||
//
|
||
this.labelDeviceName.AutoSize = true;
|
||
this.labelDeviceName.Location = new System.Drawing.Point(6, 88);
|
||
this.labelDeviceName.Name = "labelDeviceName";
|
||
this.labelDeviceName.Size = new System.Drawing.Size(88, 20);
|
||
this.labelDeviceName.TabIndex = 4;
|
||
this.labelDeviceName.Text = "设备名称:";
|
||
//
|
||
// textBoxTopicRoot
|
||
//
|
||
this.textBoxTopicRoot.Location = new System.Drawing.Point(100, 55);
|
||
this.textBoxTopicRoot.Name = "textBoxTopicRoot";
|
||
this.textBoxTopicRoot.Size = new System.Drawing.Size(190, 27);
|
||
this.textBoxTopicRoot.TabIndex = 3;
|
||
this.textBoxTopicRoot.Text = "a10inDdCRS6";
|
||
//
|
||
// labelTopicRoot
|
||
//
|
||
this.labelTopicRoot.AutoSize = true;
|
||
this.labelTopicRoot.Location = new System.Drawing.Point(6, 58);
|
||
this.labelTopicRoot.Name = "labelTopicRoot";
|
||
this.labelTopicRoot.Size = new System.Drawing.Size(88, 20);
|
||
this.labelTopicRoot.TabIndex = 2;
|
||
this.labelTopicRoot.Text = "主题根路径:";
|
||
//
|
||
// textBoxProductKey
|
||
//
|
||
this.textBoxProductKey.Location = new System.Drawing.Point(100, 25);
|
||
this.textBoxProductKey.Name = "textBoxProductKey";
|
||
this.textBoxProductKey.Size = new System.Drawing.Size(190, 27);
|
||
this.textBoxProductKey.TabIndex = 1;
|
||
this.textBoxProductKey.Text = "gfcq950RDqt";
|
||
//
|
||
// labelProductKey
|
||
//
|
||
this.labelProductKey.AutoSize = true;
|
||
this.labelProductKey.Location = new System.Drawing.Point(6, 28);
|
||
this.labelProductKey.Name = "labelProductKey";
|
||
this.labelProductKey.Size = new System.Drawing.Size(88, 20);
|
||
this.labelProductKey.TabIndex = 0;
|
||
this.labelProductKey.Text = "产品密钥:";
|
||
//
|
||
// 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
|
||
}
|