360 lines
16 KiB
C#
360 lines
16 KiB
C#
namespace Xylem.Common.Ui.MagFluxToolBox
|
|
{
|
|
partial class FrmTest
|
|
{
|
|
/// <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.components = new System.ComponentModel.Container();
|
|
this.grpSetup = new System.Windows.Forms.GroupBox();
|
|
this.tbxSensorNo = new System.Windows.Forms.TextBox();
|
|
this.btnConnect = new System.Windows.Forms.Button();
|
|
this.lblConnectPcb = new System.Windows.Forms.Label();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.cbComSlot = new System.Windows.Forms.ComboBox();
|
|
this.lblWaitingForMeterResponse = new System.Windows.Forms.Label();
|
|
this.lblOverall = new System.Windows.Forms.Label();
|
|
this.barSingleProgressUpdate = new System.Windows.Forms.ProgressBar();
|
|
this.lblActualProcess = new System.Windows.Forms.Label();
|
|
this.barOverallProgressUpdate = new System.Windows.Forms.ProgressBar();
|
|
this.tmrProgressUpdate = new System.Windows.Forms.Timer(this.components);
|
|
this.dlgOpenLuFile = new System.Windows.Forms.OpenFileDialog();
|
|
this.lblFwUpdateInfo = new System.Windows.Forms.Label();
|
|
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
|
this.label9 = new System.Windows.Forms.Label();
|
|
this.lblUpdateTime = new System.Windows.Forms.Label();
|
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
|
this.picLogo = new System.Windows.Forms.PictureBox();
|
|
this.grpBoxInfo = new System.Windows.Forms.GroupBox();
|
|
this.tbxVolume = new System.Windows.Forms.TextBox();
|
|
this.tbxFlowRate = new System.Windows.Forms.TextBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.label11 = new System.Windows.Forms.Label();
|
|
this.grpSetup.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.picLogo)).BeginInit();
|
|
this.grpBoxInfo.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// grpSetup
|
|
//
|
|
this.grpSetup.Controls.Add(this.tbxSensorNo);
|
|
this.grpSetup.Controls.Add(this.btnConnect);
|
|
this.grpSetup.Controls.Add(this.lblConnectPcb);
|
|
this.grpSetup.Controls.Add(this.label2);
|
|
this.grpSetup.Controls.Add(this.cbComSlot);
|
|
this.grpSetup.Location = new System.Drawing.Point(100, 5);
|
|
this.grpSetup.Name = "grpSetup";
|
|
this.grpSetup.Size = new System.Drawing.Size(257, 100);
|
|
this.grpSetup.TabIndex = 24;
|
|
this.grpSetup.TabStop = false;
|
|
this.grpSetup.Text = "Setup";
|
|
//
|
|
// tbxSensorNo
|
|
//
|
|
this.tbxSensorNo.Location = new System.Drawing.Point(128, 59);
|
|
this.tbxSensorNo.Name = "tbxSensorNo";
|
|
this.tbxSensorNo.ReadOnly = true;
|
|
this.tbxSensorNo.Size = new System.Drawing.Size(68, 20);
|
|
this.tbxSensorNo.TabIndex = 32;
|
|
//
|
|
// btnConnect
|
|
//
|
|
this.btnConnect.Location = new System.Drawing.Point(128, 24);
|
|
this.btnConnect.Name = "btnConnect";
|
|
this.btnConnect.Size = new System.Drawing.Size(116, 25);
|
|
this.btnConnect.TabIndex = 24;
|
|
this.btnConnect.Text = "Connect";
|
|
this.btnConnect.UseVisualStyleBackColor = true;
|
|
this.btnConnect.Click += new System.EventHandler(this.btnConnect_Click);
|
|
//
|
|
// lblConnectPcb
|
|
//
|
|
this.lblConnectPcb.AutoSize = true;
|
|
this.lblConnectPcb.Location = new System.Drawing.Point(10, 62);
|
|
this.lblConnectPcb.Name = "lblConnectPcb";
|
|
this.lblConnectPcb.Size = new System.Drawing.Size(33, 13);
|
|
this.lblConnectPcb.TabIndex = 23;
|
|
this.lblConnectPcb.Text = "NOT ";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(10, 30);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(28, 13);
|
|
this.label2.TabIndex = 20;
|
|
this.label2.Text = "Slot:";
|
|
//
|
|
// cbComSlot
|
|
//
|
|
this.cbComSlot.FormattingEnabled = true;
|
|
this.cbComSlot.Items.AddRange(new object[] {
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4",
|
|
"5",
|
|
"6",
|
|
"7",
|
|
"8",
|
|
"9",
|
|
"10",
|
|
"11",
|
|
"12",
|
|
"13",
|
|
"14",
|
|
"15",
|
|
"16",
|
|
"17",
|
|
"18",
|
|
"19",
|
|
"20"});
|
|
this.cbComSlot.Location = new System.Drawing.Point(44, 27);
|
|
this.cbComSlot.Name = "cbComSlot";
|
|
this.cbComSlot.Size = new System.Drawing.Size(37, 21);
|
|
this.cbComSlot.TabIndex = 5;
|
|
this.cbComSlot.Text = "1";
|
|
this.cbComSlot.SelectedIndexChanged += new System.EventHandler(this.cbComSlot_SelectedIndexChanged);
|
|
//
|
|
// lblWaitingForMeterResponse
|
|
//
|
|
this.lblWaitingForMeterResponse.AutoSize = true;
|
|
this.lblWaitingForMeterResponse.ForeColor = System.Drawing.Color.Red;
|
|
this.lblWaitingForMeterResponse.Location = new System.Drawing.Point(529, 351);
|
|
this.lblWaitingForMeterResponse.Name = "lblWaitingForMeterResponse";
|
|
this.lblWaitingForMeterResponse.Size = new System.Drawing.Size(182, 13);
|
|
this.lblWaitingForMeterResponse.TabIndex = 18;
|
|
this.lblWaitingForMeterResponse.Text = "WAITING FOR METER RESPONSE";
|
|
//
|
|
// lblOverall
|
|
//
|
|
this.lblOverall.AutoSize = true;
|
|
this.lblOverall.Location = new System.Drawing.Point(18, 388);
|
|
this.lblOverall.Name = "lblOverall";
|
|
this.lblOverall.Size = new System.Drawing.Size(80, 13);
|
|
this.lblOverall.TabIndex = 7;
|
|
this.lblOverall.Text = "Overall process";
|
|
//
|
|
// barSingleProgressUpdate
|
|
//
|
|
this.barSingleProgressUpdate.Location = new System.Drawing.Point(9, 367);
|
|
this.barSingleProgressUpdate.Name = "barSingleProgressUpdate";
|
|
this.barSingleProgressUpdate.Size = new System.Drawing.Size(702, 18);
|
|
this.barSingleProgressUpdate.TabIndex = 6;
|
|
this.barSingleProgressUpdate.Visible = false;
|
|
//
|
|
// lblActualProcess
|
|
//
|
|
this.lblActualProcess.AutoSize = true;
|
|
this.lblActualProcess.Location = new System.Drawing.Point(18, 351);
|
|
this.lblActualProcess.Name = "lblActualProcess";
|
|
this.lblActualProcess.Size = new System.Drawing.Size(76, 13);
|
|
this.lblActualProcess.TabIndex = 4;
|
|
this.lblActualProcess.Text = "Process status";
|
|
//
|
|
// barOverallProgressUpdate
|
|
//
|
|
this.barOverallProgressUpdate.Location = new System.Drawing.Point(9, 404);
|
|
this.barOverallProgressUpdate.Name = "barOverallProgressUpdate";
|
|
this.barOverallProgressUpdate.Size = new System.Drawing.Size(702, 18);
|
|
this.barOverallProgressUpdate.TabIndex = 3;
|
|
this.barOverallProgressUpdate.Visible = false;
|
|
//
|
|
// tmrProgressUpdate
|
|
//
|
|
this.tmrProgressUpdate.Interval = 200;
|
|
this.tmrProgressUpdate.Tick += new System.EventHandler(this.tmrProgressUpdate_Tick);
|
|
//
|
|
// dlgOpenLuFile
|
|
//
|
|
this.dlgOpenLuFile.Filter = "metrology lookup tables (*.lut)|*.lut";
|
|
//
|
|
// lblFwUpdateInfo
|
|
//
|
|
this.lblFwUpdateInfo.AutoSize = true;
|
|
this.lblFwUpdateInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.lblFwUpdateInfo.Location = new System.Drawing.Point(623, 66);
|
|
this.lblFwUpdateInfo.Name = "lblFwUpdateInfo";
|
|
this.lblFwUpdateInfo.Size = new System.Drawing.Size(72, 13);
|
|
this.lblFwUpdateInfo.TabIndex = 27;
|
|
this.lblFwUpdateInfo.Text = "Version: 0.0.0";
|
|
//
|
|
// openFileDialog1
|
|
//
|
|
this.openFileDialog1.FileName = "openFileDialog1";
|
|
//
|
|
// label9
|
|
//
|
|
this.label9.AutoSize = true;
|
|
this.label9.Location = new System.Drawing.Point(247, 351);
|
|
this.label9.Name = "label9";
|
|
this.label9.Size = new System.Drawing.Size(101, 13);
|
|
this.label9.TabIndex = 30;
|
|
this.label9.Text = "UpdateTime [min:s]:";
|
|
//
|
|
// lblUpdateTime
|
|
//
|
|
this.lblUpdateTime.AutoSize = true;
|
|
this.lblUpdateTime.Location = new System.Drawing.Point(354, 351);
|
|
this.lblUpdateTime.Name = "lblUpdateTime";
|
|
this.lblUpdateTime.Size = new System.Drawing.Size(28, 13);
|
|
this.lblUpdateTime.TabIndex = 31;
|
|
this.lblUpdateTime.Text = "0:00";
|
|
//
|
|
// pictureBox1
|
|
//
|
|
this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
|
this.pictureBox1.Image = global::Xylem.Common.Ui.MagFluxToolBox.Properties.Resources.MagFluxVerySmall;
|
|
this.pictureBox1.Location = new System.Drawing.Point(9, 9);
|
|
this.pictureBox1.Name = "pictureBox1";
|
|
this.pictureBox1.Size = new System.Drawing.Size(85, 96);
|
|
this.pictureBox1.TabIndex = 33;
|
|
this.pictureBox1.TabStop = false;
|
|
//
|
|
// picLogo
|
|
//
|
|
this.picLogo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.picLogo.Image = global::Xylem.Common.Ui.MagFluxToolBox.Properties.Resources.MjK_LogoSmall;
|
|
this.picLogo.InitialImage = null;
|
|
this.picLogo.Location = new System.Drawing.Point(620, 5);
|
|
this.picLogo.Name = "picLogo";
|
|
this.picLogo.Size = new System.Drawing.Size(91, 58);
|
|
this.picLogo.TabIndex = 34;
|
|
this.picLogo.TabStop = false;
|
|
//
|
|
// grpBoxInfo
|
|
//
|
|
this.grpBoxInfo.Controls.Add(this.tbxVolume);
|
|
this.grpBoxInfo.Controls.Add(this.tbxFlowRate);
|
|
this.grpBoxInfo.Controls.Add(this.label7);
|
|
this.grpBoxInfo.Controls.Add(this.label11);
|
|
this.grpBoxInfo.Location = new System.Drawing.Point(9, 109);
|
|
this.grpBoxInfo.Name = "grpBoxInfo";
|
|
this.grpBoxInfo.Size = new System.Drawing.Size(348, 228);
|
|
this.grpBoxInfo.TabIndex = 37;
|
|
this.grpBoxInfo.TabStop = false;
|
|
this.grpBoxInfo.Text = "Measurements";
|
|
//
|
|
// tbxVolume
|
|
//
|
|
this.tbxVolume.Location = new System.Drawing.Point(124, 22);
|
|
this.tbxVolume.Name = "tbxVolume";
|
|
this.tbxVolume.ReadOnly = true;
|
|
this.tbxVolume.Size = new System.Drawing.Size(68, 20);
|
|
this.tbxVolume.TabIndex = 31;
|
|
//
|
|
// tbxFlowRate
|
|
//
|
|
this.tbxFlowRate.Location = new System.Drawing.Point(124, 52);
|
|
this.tbxFlowRate.Name = "tbxFlowRate";
|
|
this.tbxFlowRate.ReadOnly = true;
|
|
this.tbxFlowRate.Size = new System.Drawing.Size(68, 20);
|
|
this.tbxFlowRate.TabIndex = 29;
|
|
//
|
|
// label7
|
|
//
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(6, 56);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(92, 13);
|
|
this.label7.TabIndex = 27;
|
|
this.label7.Text = "Flow Rate [cm/h]:";
|
|
//
|
|
// label11
|
|
//
|
|
this.label11.AutoSize = true;
|
|
this.label11.Location = new System.Drawing.Point(6, 26);
|
|
this.label11.Name = "label11";
|
|
this.label11.Size = new System.Drawing.Size(68, 13);
|
|
this.label11.TabIndex = 25;
|
|
this.label11.Text = "Volume [cm]:";
|
|
//
|
|
// FrmTest
|
|
//
|
|
this.AccessibleRole = System.Windows.Forms.AccessibleRole.Sound;
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(723, 432);
|
|
this.Controls.Add(this.grpBoxInfo);
|
|
this.Controls.Add(this.picLogo);
|
|
this.Controls.Add(this.pictureBox1);
|
|
this.Controls.Add(this.lblUpdateTime);
|
|
this.Controls.Add(this.label9);
|
|
this.Controls.Add(this.lblWaitingForMeterResponse);
|
|
this.Controls.Add(this.lblOverall);
|
|
this.Controls.Add(this.lblFwUpdateInfo);
|
|
this.Controls.Add(this.barSingleProgressUpdate);
|
|
this.Controls.Add(this.lblActualProcess);
|
|
this.Controls.Add(this.grpSetup);
|
|
this.Controls.Add(this.barOverallProgressUpdate);
|
|
this.MaximizeBox = false;
|
|
this.MaximumSize = new System.Drawing.Size(739, 500);
|
|
this.MinimizeBox = false;
|
|
this.MinimumSize = new System.Drawing.Size(739, 405);
|
|
this.Name = "FrmTest";
|
|
this.Text = "MagFlux Test";
|
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FrmTest_FormClosing);
|
|
this.Load += new System.EventHandler(this.FrmTest_Load);
|
|
this.grpSetup.ResumeLayout(false);
|
|
this.grpSetup.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.picLogo)).EndInit();
|
|
this.grpBoxInfo.ResumeLayout(false);
|
|
this.grpBoxInfo.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.GroupBox grpSetup;
|
|
private System.Windows.Forms.Button btnConnect;
|
|
private System.Windows.Forms.Label lblConnectPcb;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.ComboBox cbComSlot;
|
|
private System.Windows.Forms.ProgressBar barOverallProgressUpdate;
|
|
private System.Windows.Forms.Timer tmrProgressUpdate;
|
|
private System.Windows.Forms.Label lblActualProcess;
|
|
private System.Windows.Forms.Label lblOverall;
|
|
private System.Windows.Forms.ProgressBar barSingleProgressUpdate;
|
|
private System.Windows.Forms.OpenFileDialog dlgOpenLuFile;
|
|
private System.Windows.Forms.Label lblFwUpdateInfo;
|
|
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
|
private System.Windows.Forms.Label lblWaitingForMeterResponse;
|
|
private System.Windows.Forms.Label label9;
|
|
private System.Windows.Forms.Label lblUpdateTime;
|
|
private System.Windows.Forms.TextBox tbxSensorNo;
|
|
private System.Windows.Forms.PictureBox pictureBox1;
|
|
private System.Windows.Forms.PictureBox picLogo;
|
|
private System.Windows.Forms.GroupBox grpBoxInfo;
|
|
private System.Windows.Forms.TextBox tbxVolume;
|
|
private System.Windows.Forms.TextBox tbxFlowRate;
|
|
private System.Windows.Forms.Label label7;
|
|
private System.Windows.Forms.Label label11;
|
|
}
|
|
} |