| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448 |
- namespace APS7100TestTool.Forms
- {
- partial class ManualTestForm
- {
- private System.ComponentModel.IContainer components = null;
- // Status
- private System.Windows.Forms.Label lblStatusTitle;
- private System.Windows.Forms.Label lblStatus;
- // Control Panel
- private System.Windows.Forms.GroupBox grpControl;
- private System.Windows.Forms.Label lblVoltage;
- private System.Windows.Forms.NumericUpDown numVoltage;
- private System.Windows.Forms.Button btnSetVoltage;
- private System.Windows.Forms.Label lblFrequency;
- private System.Windows.Forms.NumericUpDown numFrequency;
- private System.Windows.Forms.Button btnSetFrequency;
- private System.Windows.Forms.Label lblCurrent;
- private System.Windows.Forms.NumericUpDown numCurrent;
- private System.Windows.Forms.Button btnSetCurrent;
- private System.Windows.Forms.Label lblVoltageRange;
- private System.Windows.Forms.ComboBox cmbVoltageRange;
- private System.Windows.Forms.Label lblWaveform;
- private System.Windows.Forms.ComboBox cmbWaveform;
- private System.Windows.Forms.CheckBox chkOutput;
- private System.Windows.Forms.Button btnReset;
- // Measure Panel
- private System.Windows.Forms.GroupBox grpMeasure;
- private System.Windows.Forms.Label lblVoltageLabel;
- private System.Windows.Forms.Label lblVoltageValue;
- private System.Windows.Forms.Label lblCurrentLabel;
- private System.Windows.Forms.Label lblCurrentValue;
- private System.Windows.Forms.Label lblPowerLabel;
- private System.Windows.Forms.Label lblPowerValue;
- private System.Windows.Forms.Label lblFrequencyLabel;
- private System.Windows.Forms.Label lblFrequencyValue;
- private System.Windows.Forms.Label lblPFLabel;
- private System.Windows.Forms.Label lblPFValue;
- // SCPI Panel
- private System.Windows.Forms.GroupBox grpScpi;
- private System.Windows.Forms.Label lblCommandCategory;
- private System.Windows.Forms.ComboBox cmbCommandCategory;
- private System.Windows.Forms.ListBox lstCommands;
- private System.Windows.Forms.TextBox txtCommandDesc;
- private System.Windows.Forms.Button btnUseCommand;
- private System.Windows.Forms.TextBox txtScpiCommand;
- private System.Windows.Forms.Button btnSendCommand;
- private System.Windows.Forms.Button btnToggleMeasure;
- // Log Panel
- private System.Windows.Forms.GroupBox grpLog;
- private System.Windows.Forms.TextBox txtLog;
- private System.Windows.Forms.Button btnClearLog;
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.lblStatusTitle = new System.Windows.Forms.Label();
- this.lblStatus = new System.Windows.Forms.Label();
- this.grpControl = new System.Windows.Forms.GroupBox();
- this.lblVoltage = new System.Windows.Forms.Label();
- this.numVoltage = new System.Windows.Forms.NumericUpDown();
- this.btnSetVoltage = new System.Windows.Forms.Button();
- this.lblFrequency = new System.Windows.Forms.Label();
- this.numFrequency = new System.Windows.Forms.NumericUpDown();
- this.btnSetFrequency = new System.Windows.Forms.Button();
- this.lblCurrent = new System.Windows.Forms.Label();
- this.numCurrent = new System.Windows.Forms.NumericUpDown();
- this.btnSetCurrent = new System.Windows.Forms.Button();
- this.lblVoltageRange = new System.Windows.Forms.Label();
- this.cmbVoltageRange = new System.Windows.Forms.ComboBox();
- this.lblWaveform = new System.Windows.Forms.Label();
- this.cmbWaveform = new System.Windows.Forms.ComboBox();
- this.chkOutput = new System.Windows.Forms.CheckBox();
- this.btnReset = new System.Windows.Forms.Button();
- this.grpMeasure = new System.Windows.Forms.GroupBox();
- this.lblVoltageLabel = new System.Windows.Forms.Label();
- this.lblVoltageValue = new System.Windows.Forms.Label();
- this.lblCurrentLabel = new System.Windows.Forms.Label();
- this.lblCurrentValue = new System.Windows.Forms.Label();
- this.lblPowerLabel = new System.Windows.Forms.Label();
- this.lblPowerValue = new System.Windows.Forms.Label();
- this.lblFrequencyLabel = new System.Windows.Forms.Label();
- this.lblFrequencyValue = new System.Windows.Forms.Label();
- this.lblPFLabel = new System.Windows.Forms.Label();
- this.lblPFValue = new System.Windows.Forms.Label();
- this.grpScpi = new System.Windows.Forms.GroupBox();
- this.lblCommandCategory = new System.Windows.Forms.Label();
- this.cmbCommandCategory = new System.Windows.Forms.ComboBox();
- this.lstCommands = new System.Windows.Forms.ListBox();
- this.txtCommandDesc = new System.Windows.Forms.TextBox();
- this.btnUseCommand = new System.Windows.Forms.Button();
- this.txtScpiCommand = new System.Windows.Forms.TextBox();
- this.btnSendCommand = new System.Windows.Forms.Button();
- this.btnToggleMeasure = new System.Windows.Forms.Button();
- this.grpLog = new System.Windows.Forms.GroupBox();
- this.txtLog = new System.Windows.Forms.TextBox();
- this.btnClearLog = new System.Windows.Forms.Button();
- this.grpControl.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numVoltage)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numFrequency)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.numCurrent)).BeginInit();
- this.grpMeasure.SuspendLayout();
- this.grpScpi.SuspendLayout();
- this.grpLog.SuspendLayout();
- this.SuspendLayout();
- // lblStatusTitle
- this.lblStatusTitle.AutoSize = true;
- this.lblStatusTitle.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.lblStatusTitle.Location = new System.Drawing.Point(12, 12);
- this.lblStatusTitle.Text = "设备状态:";
- // lblStatus
- this.lblStatus.AutoSize = true;
- this.lblStatus.Font = new System.Drawing.Font("Microsoft YaHei UI", 9F, System.Drawing.FontStyle.Bold);
- this.lblStatus.ForeColor = System.Drawing.Color.Red;
- this.lblStatus.Location = new System.Drawing.Point(85, 12);
- this.lblStatus.Text = "未连接";
- // grpControl
- this.grpControl.Controls.Add(this.lblVoltage);
- this.grpControl.Controls.Add(this.numVoltage);
- this.grpControl.Controls.Add(this.btnSetVoltage);
- this.grpControl.Controls.Add(this.lblFrequency);
- this.grpControl.Controls.Add(this.numFrequency);
- this.grpControl.Controls.Add(this.btnSetFrequency);
- this.grpControl.Controls.Add(this.lblCurrent);
- this.grpControl.Controls.Add(this.numCurrent);
- this.grpControl.Controls.Add(this.btnSetCurrent);
- this.grpControl.Controls.Add(this.lblVoltageRange);
- this.grpControl.Controls.Add(this.cmbVoltageRange);
- this.grpControl.Controls.Add(this.lblWaveform);
- this.grpControl.Controls.Add(this.cmbWaveform);
- this.grpControl.Controls.Add(this.chkOutput);
- this.grpControl.Controls.Add(this.btnReset);
- this.grpControl.Location = new System.Drawing.Point(12, 35);
- this.grpControl.Name = "grpControl";
- this.grpControl.Size = new System.Drawing.Size(320, 280);
- this.grpControl.TabStop = false;
- this.grpControl.Text = "控制面板";
- // lblVoltage
- this.lblVoltage.AutoSize = true;
- this.lblVoltage.Location = new System.Drawing.Point(15, 30);
- this.lblVoltage.Text = "电压(V):";
- // numVoltage
- this.numVoltage.DecimalPlaces = 1;
- this.numVoltage.Location = new System.Drawing.Point(95, 28);
- this.numVoltage.Maximum = new decimal(new int[] { 350, 0, 0, 0 });
- this.numVoltage.Size = new System.Drawing.Size(110, 23);
- this.numVoltage.Value = new decimal(new int[] { 220, 0, 0, 0 });
- // btnSetVoltage
- this.btnSetVoltage.Location = new System.Drawing.Point(215, 27);
- this.btnSetVoltage.Size = new System.Drawing.Size(90, 27);
- this.btnSetVoltage.Text = "设置";
- this.btnSetVoltage.Click += new System.EventHandler(this.btnSetVoltage_Click);
- // lblFrequency
- this.lblFrequency.AutoSize = true;
- this.lblFrequency.Location = new System.Drawing.Point(15, 65);
- this.lblFrequency.Text = "频率(Hz):";
- // numFrequency
- this.numFrequency.DecimalPlaces = 1;
- this.numFrequency.Location = new System.Drawing.Point(95, 63);
- this.numFrequency.Maximum = new decimal(new int[] { 500, 0, 0, 0 });
- this.numFrequency.Minimum = new decimal(new int[] { 45, 0, 0, 0 });
- this.numFrequency.Size = new System.Drawing.Size(110, 23);
- this.numFrequency.Value = new decimal(new int[] { 50, 0, 0, 0 });
- // btnSetFrequency
- this.btnSetFrequency.Location = new System.Drawing.Point(215, 62);
- this.btnSetFrequency.Size = new System.Drawing.Size(90, 27);
- this.btnSetFrequency.Text = "设置";
- this.btnSetFrequency.Click += new System.EventHandler(this.btnSetFrequency_Click);
- // lblCurrent
- this.lblCurrent.AutoSize = true;
- this.lblCurrent.Location = new System.Drawing.Point(15, 100);
- this.lblCurrent.Text = "电流限值(A):";
- // numCurrent
- this.numCurrent.DecimalPlaces = 2;
- this.numCurrent.Location = new System.Drawing.Point(95, 98);
- this.numCurrent.Maximum = new decimal(new int[] { 20, 0, 0, 0 });
- this.numCurrent.Size = new System.Drawing.Size(110, 23);
- this.numCurrent.Value = new decimal(new int[] { 5, 0, 0, 0 });
- // btnSetCurrent
- this.btnSetCurrent.Location = new System.Drawing.Point(215, 97);
- this.btnSetCurrent.Size = new System.Drawing.Size(90, 27);
- this.btnSetCurrent.Text = "设置";
- this.btnSetCurrent.Click += new System.EventHandler(this.btnSetCurrent_Click);
- // lblVoltageRange
- this.lblVoltageRange.AutoSize = true;
- this.lblVoltageRange.Location = new System.Drawing.Point(15, 135);
- this.lblVoltageRange.Text = "电压量程:";
- // cmbVoltageRange
- this.cmbVoltageRange.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbVoltageRange.Items.AddRange(new object[] { "低档 (0-175V)", "高档 (0-350V)" });
- this.cmbVoltageRange.Location = new System.Drawing.Point(95, 132);
- this.cmbVoltageRange.Size = new System.Drawing.Size(210, 25);
- this.cmbVoltageRange.SelectedIndex = 1;
- this.cmbVoltageRange.SelectedIndexChanged += new System.EventHandler(this.cmbVoltageRange_SelectedIndexChanged);
- // lblWaveform
- this.lblWaveform.AutoSize = true;
- this.lblWaveform.Location = new System.Drawing.Point(15, 170);
- this.lblWaveform.Text = "输出波形:";
- // cmbWaveform
- this.cmbWaveform.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbWaveform.Items.AddRange(new object[] { "正弦波", "方波", "三角波" });
- this.cmbWaveform.Location = new System.Drawing.Point(95, 167);
- this.cmbWaveform.Size = new System.Drawing.Size(210, 25);
- this.cmbWaveform.SelectedIndex = 0;
- this.cmbWaveform.SelectedIndexChanged += new System.EventHandler(this.cmbWaveform_SelectedIndexChanged);
- // chkOutput
- this.chkOutput.Appearance = System.Windows.Forms.Appearance.Button;
- this.chkOutput.Font = new System.Drawing.Font("Microsoft YaHei UI", 10F, System.Drawing.FontStyle.Bold);
- this.chkOutput.Location = new System.Drawing.Point(18, 210);
- this.chkOutput.Size = new System.Drawing.Size(140, 50);
- this.chkOutput.Text = "输出 OFF";
- this.chkOutput.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.chkOutput.CheckedChanged += new System.EventHandler(this.chkOutput_CheckedChanged);
- // btnReset
- this.btnReset.Location = new System.Drawing.Point(165, 210);
- this.btnReset.Size = new System.Drawing.Size(140, 50);
- this.btnReset.Text = "重置设备";
- this.btnReset.Click += new System.EventHandler(this.btnReset_Click);
- // grpMeasure
- this.grpMeasure.Controls.Add(this.lblVoltageLabel);
- this.grpMeasure.Controls.Add(this.lblVoltageValue);
- this.grpMeasure.Controls.Add(this.lblCurrentLabel);
- this.grpMeasure.Controls.Add(this.lblCurrentValue);
- this.grpMeasure.Controls.Add(this.lblPowerLabel);
- this.grpMeasure.Controls.Add(this.lblPowerValue);
- this.grpMeasure.Controls.Add(this.lblFrequencyLabel);
- this.grpMeasure.Controls.Add(this.lblFrequencyValue);
- this.grpMeasure.Controls.Add(this.lblPFLabel);
- this.grpMeasure.Controls.Add(this.lblPFValue);
- this.grpMeasure.Location = new System.Drawing.Point(345, 35);
- this.grpMeasure.Size = new System.Drawing.Size(240, 170);
- this.grpMeasure.TabStop = false;
- this.grpMeasure.Text = "实时测量";
- // lblVoltageLabel
- this.lblVoltageLabel.AutoSize = true;
- this.lblVoltageLabel.Location = new System.Drawing.Point(15, 30);
- this.lblVoltageLabel.Text = "实测电压:";
- // lblVoltageValue
- this.lblVoltageValue.AutoSize = true;
- this.lblVoltageValue.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold);
- this.lblVoltageValue.ForeColor = System.Drawing.Color.Blue;
- this.lblVoltageValue.Location = new System.Drawing.Point(100, 28);
- this.lblVoltageValue.Text = "0.00 V";
- // lblCurrentLabel
- this.lblCurrentLabel.AutoSize = true;
- this.lblCurrentLabel.Location = new System.Drawing.Point(15, 55);
- this.lblCurrentLabel.Text = "实测电流:";
- // lblCurrentValue
- this.lblCurrentValue.AutoSize = true;
- this.lblCurrentValue.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold);
- this.lblCurrentValue.ForeColor = System.Drawing.Color.Blue;
- this.lblCurrentValue.Location = new System.Drawing.Point(100, 53);
- this.lblCurrentValue.Text = "0.000 A";
- // lblPowerLabel
- this.lblPowerLabel.AutoSize = true;
- this.lblPowerLabel.Location = new System.Drawing.Point(15, 80);
- this.lblPowerLabel.Text = "实测功率:";
- // lblPowerValue
- this.lblPowerValue.AutoSize = true;
- this.lblPowerValue.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold);
- this.lblPowerValue.ForeColor = System.Drawing.Color.Blue;
- this.lblPowerValue.Location = new System.Drawing.Point(100, 78);
- this.lblPowerValue.Text = "0.00 W";
- // lblFrequencyLabel
- this.lblFrequencyLabel.AutoSize = true;
- this.lblFrequencyLabel.Location = new System.Drawing.Point(15, 105);
- this.lblFrequencyLabel.Text = "实测频率:";
- // lblFrequencyValue
- this.lblFrequencyValue.AutoSize = true;
- this.lblFrequencyValue.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold);
- this.lblFrequencyValue.ForeColor = System.Drawing.Color.Blue;
- this.lblFrequencyValue.Location = new System.Drawing.Point(100, 103);
- this.lblFrequencyValue.Text = "0.00 Hz";
- // lblPFLabel
- this.lblPFLabel.AutoSize = true;
- this.lblPFLabel.Location = new System.Drawing.Point(15, 130);
- this.lblPFLabel.Text = "功率因数:";
- // lblPFValue
- this.lblPFValue.AutoSize = true;
- this.lblPFValue.Font = new System.Drawing.Font("Consolas", 12F, System.Drawing.FontStyle.Bold);
- this.lblPFValue.ForeColor = System.Drawing.Color.Blue;
- this.lblPFValue.Location = new System.Drawing.Point(100, 128);
- this.lblPFValue.Text = "0.000";
- // grpScpi
- this.grpScpi.Controls.Add(this.lblCommandCategory);
- this.grpScpi.Controls.Add(this.cmbCommandCategory);
- this.grpScpi.Controls.Add(this.lstCommands);
- this.grpScpi.Controls.Add(this.txtCommandDesc);
- this.grpScpi.Controls.Add(this.btnUseCommand);
- this.grpScpi.Controls.Add(this.txtScpiCommand);
- this.grpScpi.Controls.Add(this.btnSendCommand);
- this.grpScpi.Controls.Add(this.btnToggleMeasure);
- this.grpScpi.Location = new System.Drawing.Point(345, 185);
- this.grpScpi.Size = new System.Drawing.Size(240, 230);
- this.grpScpi.TabStop = false;
- this.grpScpi.Text = "SCPI 命令";
- // lblCommandCategory
- this.lblCommandCategory.AutoSize = true;
- this.lblCommandCategory.Location = new System.Drawing.Point(10, 25);
- this.lblCommandCategory.Text = "分类:";
- // cmbCommandCategory
- this.cmbCommandCategory.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
- this.cmbCommandCategory.Location = new System.Drawing.Point(50, 22);
- this.cmbCommandCategory.Size = new System.Drawing.Size(175, 25);
- this.cmbCommandCategory.SelectedIndexChanged += new System.EventHandler(this.cmbCommandCategory_SelectedIndexChanged);
- // lstCommands
- this.lstCommands.Font = new System.Drawing.Font("Consolas", 8F);
- this.lstCommands.Location = new System.Drawing.Point(10, 55);
- this.lstCommands.Size = new System.Drawing.Size(215, 56);
- this.lstCommands.SelectedIndexChanged += new System.EventHandler(this.lstCommands_SelectedIndexChanged);
- // txtCommandDesc
- this.txtCommandDesc.BackColor = System.Drawing.Color.LightYellow;
- this.txtCommandDesc.Font = new System.Drawing.Font("Microsoft YaHei UI", 8F);
- this.txtCommandDesc.Location = new System.Drawing.Point(10, 115);
- this.txtCommandDesc.Multiline = true;
- this.txtCommandDesc.ReadOnly = true;
- this.txtCommandDesc.Size = new System.Drawing.Size(150, 40);
- this.txtCommandDesc.Text = "请选择命令";
- // btnUseCommand
- this.btnUseCommand.Location = new System.Drawing.Point(165, 115);
- this.btnUseCommand.Size = new System.Drawing.Size(60, 40);
- this.btnUseCommand.Text = "使用";
- this.btnUseCommand.Click += new System.EventHandler(this.btnUseCommand_Click);
- // txtScpiCommand
- this.txtScpiCommand.Location = new System.Drawing.Point(10, 162);
- this.txtScpiCommand.PlaceholderText = "输入命令...";
- this.txtScpiCommand.Size = new System.Drawing.Size(140, 23);
- // btnSendCommand
- this.btnSendCommand.Location = new System.Drawing.Point(155, 160);
- this.btnSendCommand.Size = new System.Drawing.Size(70, 27);
- this.btnSendCommand.Text = "发送";
- this.btnSendCommand.Click += new System.EventHandler(this.btnSendCommand_Click);
- // btnToggleMeasure - 放在新的一行
- this.btnToggleMeasure.Location = new System.Drawing.Point(10, 192);
- this.btnToggleMeasure.Size = new System.Drawing.Size(215, 27);
- this.btnToggleMeasure.Text = "恢复测量";
- this.btnToggleMeasure.BackColor = System.Drawing.Color.LightGreen;
- this.btnToggleMeasure.Click += new System.EventHandler(this.btnToggleMeasure_Click);
- // grpLog
- this.grpLog.Controls.Add(this.txtLog);
- this.grpLog.Controls.Add(this.btnClearLog);
- this.grpLog.Location = new System.Drawing.Point(12, 320);
- this.grpLog.Size = new System.Drawing.Size(320, 95);
- this.grpLog.TabStop = false;
- this.grpLog.Text = "操作日志";
- // txtLog
- this.txtLog.Font = new System.Drawing.Font("Consolas", 8F);
- this.txtLog.Location = new System.Drawing.Point(10, 22);
- this.txtLog.Multiline = true;
- this.txtLog.ReadOnly = true;
- this.txtLog.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.txtLog.Size = new System.Drawing.Size(300, 40);
- // btnClearLog
- this.btnClearLog.Location = new System.Drawing.Point(10, 65);
- this.btnClearLog.Size = new System.Drawing.Size(300, 23);
- this.btnClearLog.Text = "清空日志";
- this.btnClearLog.Click += new System.EventHandler(this.btnClearLog_Click);
- // ManualTestForm
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(600, 425);
- this.Controls.Add(this.lblStatusTitle);
- this.Controls.Add(this.lblStatus);
- this.Controls.Add(this.grpControl);
- this.Controls.Add(this.grpMeasure);
- this.Controls.Add(this.grpScpi);
- this.Controls.Add(this.grpLog);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
- this.MaximizeBox = false;
- this.Name = "ManualTestForm";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
- this.Text = "手动测试";
- this.grpControl.ResumeLayout(false);
- this.grpControl.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.numVoltage)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numFrequency)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.numCurrent)).EndInit();
- this.grpMeasure.ResumeLayout(false);
- this.grpMeasure.PerformLayout();
- this.grpScpi.ResumeLayout(false);
- this.grpScpi.PerformLayout();
- this.grpLog.ResumeLayout(false);
- this.grpLog.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- }
- }
|