TestMethods.iPerlCommunications : UseMuxBoards component configuration parameter added
This commit is contained in:
@@ -20,13 +20,14 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
///
|
||||
/// Serialized parameters
|
||||
///
|
||||
public int RfidPortNrBoard1;
|
||||
public int CommTimeout; /// Communication timeout in ms (500 .. 5000)
|
||||
public int MaxCommRetries; /// Max. number of retries (1 .. 10)
|
||||
public int NrThreads; /// Numbwr of parallel threads (1, 2 or 4)
|
||||
public bool UseMuxBoards;
|
||||
public int RfidPortNrBoard1;
|
||||
public int RfidPortNrBoard2;
|
||||
public int RfidPortNrBoard3;
|
||||
public int RfidPortNrBoard4;
|
||||
public int CommTimeout; /// Communication timeout in ms (500 .. 5000)
|
||||
public int MaxCommRetries; /// Max. number of retries (1 .. 10)
|
||||
public int NrThreads; /// Numbwr of parallel threads (1, 2 or 4)
|
||||
|
||||
|
||||
/// <summary> Test parameters </summary>
|
||||
@@ -45,13 +46,14 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
{
|
||||
Name = "iPerlCommunication";
|
||||
ParentName = string.Empty;
|
||||
RfidPortNrBoard1 = 51;
|
||||
RfidPortNrBoard1 = 52;
|
||||
RfidPortNrBoard1 = 53;
|
||||
RfidPortNrBoard1 = 54;
|
||||
CommTimeout = 1800; /// ms
|
||||
MaxCommRetries = 4;
|
||||
NrThreads = 2; /// 1, 2 or 4 threads
|
||||
UseMuxBoards = true;
|
||||
RfidPortNrBoard1 = 51;
|
||||
RfidPortNrBoard1 = 52;
|
||||
RfidPortNrBoard1 = 53;
|
||||
RfidPortNrBoard1 = 54;
|
||||
|
||||
TestParams = new iPerlCommunicationParams(true);
|
||||
}
|
||||
@@ -64,8 +66,8 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
|
||||
public string ToString(int i)
|
||||
{
|
||||
return string.Format("Name={0}, Brd#1=COM{1}, Brd#2=COM{2}, Brd#3=COM{3}, Brd#4=COM{4}, CommTimeout={5}, MaxRetries={6}, NrThreads={7}",
|
||||
Name, RfidPortNrBoard1, RfidPortNrBoard2, RfidPortNrBoard3, RfidPortNrBoard4, CommTimeout, MaxCommRetries, NrThreads);
|
||||
return string.Format("Name={0}, CommTimeout={1}, MaxRetries={2}, NrThreads={3}, MuxBrds={4}, Brd#1=COM{5}, Brd#2=COM{6}, Brd#3=COM{7}, Brd#4=COM{8}",
|
||||
Name, CommTimeout, MaxCommRetries, NrThreads, UseMuxBoards, RfidPortNrBoard1, RfidPortNrBoard2, RfidPortNrBoard3, RfidPortNrBoard4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
if (config == null) return; /// Control was not loaded, settings were not changed
|
||||
classNameLabel.Text = config.Factory.ClassName;
|
||||
nameTextBox.Text = config.Name;
|
||||
useMuxBrdsCheckBox.Checked = config.UseMuxBoards;
|
||||
rfidPortBoard1TextBox.Text = config.RfidPortNrBoard1.ToString();
|
||||
rfidPortBoard2TextBox.Text = config.RfidPortNrBoard2.ToString();
|
||||
rfidPortBoard3TextBox.Text = config.RfidPortNrBoard3.ToString();
|
||||
@@ -56,6 +57,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
public void Unlock()
|
||||
{
|
||||
nameTextBox.Enabled = true;
|
||||
useMuxBrdsCheckBox.Enabled = true;
|
||||
rfidPortBoard1TextBox.Enabled = true;
|
||||
rfidPortBoard2TextBox.Enabled = true;
|
||||
rfidPortBoard3TextBox.Enabled = true;
|
||||
@@ -137,6 +139,8 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
tmp = int.Parse(nrThreadsTextBox.Text);
|
||||
if (config.NrThreads != tmp) { config.NrThreads = tmp; flags = CfgUpdateFlags.RestartRqrd; }
|
||||
|
||||
if (config.UseMuxBoards != useMuxBrdsCheckBox.Checked) { config.UseMuxBoards = useMuxBrdsCheckBox.Checked; flags = CfgUpdateFlags.RestartRqrd; }
|
||||
|
||||
return flags;
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+219
-190
@@ -32,196 +32,223 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.nameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nameLabel = new System.Windows.Forms.Label();
|
||||
this.classNameLabel = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard1TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard1Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard2TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard2Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard3TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard3Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard4TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard4Label = new System.Windows.Forms.Label();
|
||||
this.commTimeoutTextBox = new System.Windows.Forms.TextBox();
|
||||
this.commTimeoutLabel = new System.Windows.Forms.Label();
|
||||
this.maxCommRetriesTextBox = new System.Windows.Forms.TextBox();
|
||||
this.maxNrRetriesLabel = new System.Windows.Forms.Label();
|
||||
this.nrThreadsTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nrThreadsLabel = new System.Windows.Forms.Label();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// nameTextBox
|
||||
//
|
||||
this.nameTextBox.Enabled = false;
|
||||
this.nameTextBox.Location = new System.Drawing.Point(133, 25);
|
||||
this.nameTextBox.Name = "nameTextBox";
|
||||
this.nameTextBox.Size = new System.Drawing.Size(130, 20);
|
||||
this.nameTextBox.TabIndex = 5;
|
||||
//
|
||||
// nameLabel
|
||||
//
|
||||
this.nameLabel.AutoSize = true;
|
||||
this.nameLabel.Location = new System.Drawing.Point(23, 28);
|
||||
this.nameLabel.Name = "nameLabel";
|
||||
this.nameLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.nameLabel.TabIndex = 4;
|
||||
this.nameLabel.Text = "Name";
|
||||
//
|
||||
// classNameLabel
|
||||
//
|
||||
this.classNameLabel.AutoSize = true;
|
||||
this.classNameLabel.Location = new System.Drawing.Point(132, 7);
|
||||
this.classNameLabel.Name = "classNameLabel";
|
||||
this.classNameLabel.Size = new System.Drawing.Size(83, 13);
|
||||
this.classNameLabel.TabIndex = 3;
|
||||
this.classNameLabel.Text = "ComonentName";
|
||||
//
|
||||
// rfidPortBoard1TextBox
|
||||
//
|
||||
this.rfidPortBoard1TextBox.Enabled = false;
|
||||
this.rfidPortBoard1TextBox.Location = new System.Drawing.Point(133, 47);
|
||||
this.rfidPortBoard1TextBox.Name = "rfidPortBoard1TextBox";
|
||||
this.rfidPortBoard1TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard1TextBox.TabIndex = 9;
|
||||
//
|
||||
// rfidPortBoard1Label
|
||||
//
|
||||
this.rfidPortBoard1Label.AutoSize = true;
|
||||
this.rfidPortBoard1Label.Location = new System.Drawing.Point(23, 50);
|
||||
this.rfidPortBoard1Label.Name = "rfidPortBoard1Label";
|
||||
this.rfidPortBoard1Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard1Label.TabIndex = 8;
|
||||
this.rfidPortBoard1Label.Text = "RFID COM port #1";
|
||||
//
|
||||
// rfidPortBoard2TextBox
|
||||
//
|
||||
this.rfidPortBoard2TextBox.Enabled = false;
|
||||
this.rfidPortBoard2TextBox.Location = new System.Drawing.Point(133, 69);
|
||||
this.rfidPortBoard2TextBox.Name = "rfidPortBoard2TextBox";
|
||||
this.rfidPortBoard2TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard2TextBox.TabIndex = 11;
|
||||
//
|
||||
// rfidPortBoard2Label
|
||||
//
|
||||
this.rfidPortBoard2Label.AutoSize = true;
|
||||
this.rfidPortBoard2Label.Location = new System.Drawing.Point(23, 72);
|
||||
this.rfidPortBoard2Label.Name = "rfidPortBoard2Label";
|
||||
this.rfidPortBoard2Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard2Label.TabIndex = 10;
|
||||
this.rfidPortBoard2Label.Text = "RFID COM port #2";
|
||||
//
|
||||
// rfidPortBoard3TextBox
|
||||
//
|
||||
this.rfidPortBoard3TextBox.Enabled = false;
|
||||
this.rfidPortBoard3TextBox.Location = new System.Drawing.Point(133, 91);
|
||||
this.rfidPortBoard3TextBox.Name = "rfidPortBoard3TextBox";
|
||||
this.rfidPortBoard3TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard3TextBox.TabIndex = 13;
|
||||
//
|
||||
// rfidPortBoard3Label
|
||||
//
|
||||
this.rfidPortBoard3Label.AutoSize = true;
|
||||
this.rfidPortBoard3Label.Location = new System.Drawing.Point(23, 94);
|
||||
this.rfidPortBoard3Label.Name = "rfidPortBoard3Label";
|
||||
this.rfidPortBoard3Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard3Label.TabIndex = 12;
|
||||
this.rfidPortBoard3Label.Text = "RFID COM port #3";
|
||||
//
|
||||
// rfidPortBoard4TextBox
|
||||
//
|
||||
this.rfidPortBoard4TextBox.Enabled = false;
|
||||
this.rfidPortBoard4TextBox.Location = new System.Drawing.Point(133, 113);
|
||||
this.rfidPortBoard4TextBox.Name = "rfidPortBoard4TextBox";
|
||||
this.rfidPortBoard4TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard4TextBox.TabIndex = 15;
|
||||
//
|
||||
// rfidPortBoard4Label
|
||||
//
|
||||
this.rfidPortBoard4Label.AutoSize = true;
|
||||
this.rfidPortBoard4Label.Location = new System.Drawing.Point(23, 116);
|
||||
this.rfidPortBoard4Label.Name = "rfidPortBoard4Label";
|
||||
this.rfidPortBoard4Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard4Label.TabIndex = 14;
|
||||
this.rfidPortBoard4Label.Text = "RFID COM port #4";
|
||||
//
|
||||
// commTimeoutTextBox
|
||||
//
|
||||
this.commTimeoutTextBox.Enabled = false;
|
||||
this.commTimeoutTextBox.Location = new System.Drawing.Point(133, 135);
|
||||
this.commTimeoutTextBox.Name = "commTimeoutTextBox";
|
||||
this.commTimeoutTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.commTimeoutTextBox.TabIndex = 17;
|
||||
//
|
||||
// commTimeoutLabel
|
||||
//
|
||||
this.commTimeoutLabel.AutoSize = true;
|
||||
this.commTimeoutLabel.Location = new System.Drawing.Point(23, 138);
|
||||
this.commTimeoutLabel.Name = "commTimeoutLabel";
|
||||
this.commTimeoutLabel.Size = new System.Drawing.Size(98, 13);
|
||||
this.commTimeoutLabel.TabIndex = 16;
|
||||
this.commTimeoutLabel.Text = "Comm. timeout [ms]";
|
||||
//
|
||||
// maxNrRetriesTextBox
|
||||
//
|
||||
this.maxCommRetriesTextBox.Enabled = false;
|
||||
this.maxCommRetriesTextBox.Location = new System.Drawing.Point(133, 157);
|
||||
this.maxCommRetriesTextBox.Name = "maxNrRetriesTextBox";
|
||||
this.maxCommRetriesTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.maxCommRetriesTextBox.TabIndex = 19;
|
||||
//
|
||||
// maxNrRetriesLabel
|
||||
//
|
||||
this.maxNrRetriesLabel.AutoSize = true;
|
||||
this.maxNrRetriesLabel.Location = new System.Drawing.Point(23, 160);
|
||||
this.maxNrRetriesLabel.Name = "maxNrRetriesLabel";
|
||||
this.maxNrRetriesLabel.Size = new System.Drawing.Size(61, 13);
|
||||
this.maxNrRetriesLabel.TabIndex = 18;
|
||||
this.maxNrRetriesLabel.Text = "Max. retries";
|
||||
//
|
||||
// nrThreadsTextBox
|
||||
//
|
||||
this.nrThreadsTextBox.Enabled = false;
|
||||
this.nrThreadsTextBox.Location = new System.Drawing.Point(133, 179);
|
||||
this.nrThreadsTextBox.Name = "nrThreadsTextBox";
|
||||
this.nrThreadsTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.nrThreadsTextBox.TabIndex = 21;
|
||||
//
|
||||
// nrThreadsLabel
|
||||
//
|
||||
this.nrThreadsLabel.AutoSize = true;
|
||||
this.nrThreadsLabel.Location = new System.Drawing.Point(23, 182);
|
||||
this.nrThreadsLabel.Name = "nrThreadsLabel";
|
||||
this.nrThreadsLabel.Size = new System.Drawing.Size(59, 13);
|
||||
this.nrThreadsLabel.TabIndex = 20;
|
||||
this.nrThreadsLabel.Text = "Nr. threads";
|
||||
//
|
||||
// TestMethodCfgCtrl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.nrThreadsTextBox);
|
||||
this.Controls.Add(this.nrThreadsLabel);
|
||||
this.Controls.Add(this.maxCommRetriesTextBox);
|
||||
this.Controls.Add(this.maxNrRetriesLabel);
|
||||
this.Controls.Add(this.commTimeoutTextBox);
|
||||
this.Controls.Add(this.commTimeoutLabel);
|
||||
this.Controls.Add(this.rfidPortBoard4TextBox);
|
||||
this.Controls.Add(this.rfidPortBoard4Label);
|
||||
this.Controls.Add(this.rfidPortBoard3TextBox);
|
||||
this.Controls.Add(this.rfidPortBoard3Label);
|
||||
this.Controls.Add(this.rfidPortBoard2TextBox);
|
||||
this.Controls.Add(this.rfidPortBoard2Label);
|
||||
this.Controls.Add(this.rfidPortBoard1TextBox);
|
||||
this.Controls.Add(this.rfidPortBoard1Label);
|
||||
this.Controls.Add(this.nameTextBox);
|
||||
this.Controls.Add(this.nameLabel);
|
||||
this.Controls.Add(this.classNameLabel);
|
||||
this.Name = "TestMethodCfgCtrl";
|
||||
this.Size = new System.Drawing.Size(300, 200);
|
||||
this.Load += new System.EventHandler(this.EntryFormCfgCtrl_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
this.nameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nameLabel = new System.Windows.Forms.Label();
|
||||
this.classNameLabel = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard1TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard1Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard2TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard2Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard3TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard3Label = new System.Windows.Forms.Label();
|
||||
this.rfidPortBoard4TextBox = new System.Windows.Forms.TextBox();
|
||||
this.rfidPortBoard4Label = new System.Windows.Forms.Label();
|
||||
this.commTimeoutTextBox = new System.Windows.Forms.TextBox();
|
||||
this.commTimeoutLabel = new System.Windows.Forms.Label();
|
||||
this.maxCommRetriesTextBox = new System.Windows.Forms.TextBox();
|
||||
this.maxNrRetriesLabel = new System.Windows.Forms.Label();
|
||||
this.nrThreadsTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nrThreadsLabel = new System.Windows.Forms.Label();
|
||||
this.useMuxBrdsCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// nameTextBox
|
||||
//
|
||||
this.nameTextBox.Enabled = false;
|
||||
this.nameTextBox.Location = new System.Drawing.Point(154, 25);
|
||||
this.nameTextBox.Name = "nameTextBox";
|
||||
this.nameTextBox.Size = new System.Drawing.Size(130, 20);
|
||||
this.nameTextBox.TabIndex = 5;
|
||||
//
|
||||
// nameLabel
|
||||
//
|
||||
this.nameLabel.AutoSize = true;
|
||||
this.nameLabel.Location = new System.Drawing.Point(23, 28);
|
||||
this.nameLabel.Name = "nameLabel";
|
||||
this.nameLabel.Size = new System.Drawing.Size(35, 13);
|
||||
this.nameLabel.TabIndex = 4;
|
||||
this.nameLabel.Text = "Name";
|
||||
//
|
||||
// classNameLabel
|
||||
//
|
||||
this.classNameLabel.AutoSize = true;
|
||||
this.classNameLabel.Location = new System.Drawing.Point(153, 7);
|
||||
this.classNameLabel.Name = "classNameLabel";
|
||||
this.classNameLabel.Size = new System.Drawing.Size(83, 13);
|
||||
this.classNameLabel.TabIndex = 3;
|
||||
this.classNameLabel.Text = "ComonentName";
|
||||
//
|
||||
// rfidPortBoard1TextBox
|
||||
//
|
||||
this.rfidPortBoard1TextBox.Enabled = false;
|
||||
this.rfidPortBoard1TextBox.Location = new System.Drawing.Point(130, 44);
|
||||
this.rfidPortBoard1TextBox.Name = "rfidPortBoard1TextBox";
|
||||
this.rfidPortBoard1TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard1TextBox.TabIndex = 2;
|
||||
//
|
||||
// rfidPortBoard1Label
|
||||
//
|
||||
this.rfidPortBoard1Label.AutoSize = true;
|
||||
this.rfidPortBoard1Label.Location = new System.Drawing.Point(12, 47);
|
||||
this.rfidPortBoard1Label.Name = "rfidPortBoard1Label";
|
||||
this.rfidPortBoard1Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard1Label.TabIndex = 1;
|
||||
this.rfidPortBoard1Label.Text = "RFID COM port #1";
|
||||
//
|
||||
// rfidPortBoard2TextBox
|
||||
//
|
||||
this.rfidPortBoard2TextBox.Enabled = false;
|
||||
this.rfidPortBoard2TextBox.Location = new System.Drawing.Point(130, 66);
|
||||
this.rfidPortBoard2TextBox.Name = "rfidPortBoard2TextBox";
|
||||
this.rfidPortBoard2TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard2TextBox.TabIndex = 4;
|
||||
//
|
||||
// rfidPortBoard2Label
|
||||
//
|
||||
this.rfidPortBoard2Label.AutoSize = true;
|
||||
this.rfidPortBoard2Label.Location = new System.Drawing.Point(12, 69);
|
||||
this.rfidPortBoard2Label.Name = "rfidPortBoard2Label";
|
||||
this.rfidPortBoard2Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard2Label.TabIndex = 3;
|
||||
this.rfidPortBoard2Label.Text = "RFID COM port #2";
|
||||
//
|
||||
// rfidPortBoard3TextBox
|
||||
//
|
||||
this.rfidPortBoard3TextBox.Enabled = false;
|
||||
this.rfidPortBoard3TextBox.Location = new System.Drawing.Point(130, 88);
|
||||
this.rfidPortBoard3TextBox.Name = "rfidPortBoard3TextBox";
|
||||
this.rfidPortBoard3TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard3TextBox.TabIndex = 6;
|
||||
//
|
||||
// rfidPortBoard3Label
|
||||
//
|
||||
this.rfidPortBoard3Label.AutoSize = true;
|
||||
this.rfidPortBoard3Label.Location = new System.Drawing.Point(12, 91);
|
||||
this.rfidPortBoard3Label.Name = "rfidPortBoard3Label";
|
||||
this.rfidPortBoard3Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard3Label.TabIndex = 5;
|
||||
this.rfidPortBoard3Label.Text = "RFID COM port #3";
|
||||
//
|
||||
// rfidPortBoard4TextBox
|
||||
//
|
||||
this.rfidPortBoard4TextBox.Enabled = false;
|
||||
this.rfidPortBoard4TextBox.Location = new System.Drawing.Point(130, 110);
|
||||
this.rfidPortBoard4TextBox.Name = "rfidPortBoard4TextBox";
|
||||
this.rfidPortBoard4TextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.rfidPortBoard4TextBox.TabIndex = 8;
|
||||
//
|
||||
// rfidPortBoard4Label
|
||||
//
|
||||
this.rfidPortBoard4Label.AutoSize = true;
|
||||
this.rfidPortBoard4Label.Location = new System.Drawing.Point(12, 113);
|
||||
this.rfidPortBoard4Label.Name = "rfidPortBoard4Label";
|
||||
this.rfidPortBoard4Label.Size = new System.Drawing.Size(96, 13);
|
||||
this.rfidPortBoard4Label.TabIndex = 7;
|
||||
this.rfidPortBoard4Label.Text = "RFID COM port #4";
|
||||
//
|
||||
// commTimeoutTextBox
|
||||
//
|
||||
this.commTimeoutTextBox.Enabled = false;
|
||||
this.commTimeoutTextBox.Location = new System.Drawing.Point(154, 47);
|
||||
this.commTimeoutTextBox.Name = "commTimeoutTextBox";
|
||||
this.commTimeoutTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.commTimeoutTextBox.TabIndex = 17;
|
||||
//
|
||||
// commTimeoutLabel
|
||||
//
|
||||
this.commTimeoutLabel.AutoSize = true;
|
||||
this.commTimeoutLabel.Location = new System.Drawing.Point(23, 50);
|
||||
this.commTimeoutLabel.Name = "commTimeoutLabel";
|
||||
this.commTimeoutLabel.Size = new System.Drawing.Size(98, 13);
|
||||
this.commTimeoutLabel.TabIndex = 16;
|
||||
this.commTimeoutLabel.Text = "Comm. timeout [ms]";
|
||||
//
|
||||
// maxCommRetriesTextBox
|
||||
//
|
||||
this.maxCommRetriesTextBox.Enabled = false;
|
||||
this.maxCommRetriesTextBox.Location = new System.Drawing.Point(154, 69);
|
||||
this.maxCommRetriesTextBox.Name = "maxCommRetriesTextBox";
|
||||
this.maxCommRetriesTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.maxCommRetriesTextBox.TabIndex = 19;
|
||||
//
|
||||
// maxNrRetriesLabel
|
||||
//
|
||||
this.maxNrRetriesLabel.AutoSize = true;
|
||||
this.maxNrRetriesLabel.Location = new System.Drawing.Point(23, 72);
|
||||
this.maxNrRetriesLabel.Name = "maxNrRetriesLabel";
|
||||
this.maxNrRetriesLabel.Size = new System.Drawing.Size(61, 13);
|
||||
this.maxNrRetriesLabel.TabIndex = 18;
|
||||
this.maxNrRetriesLabel.Text = "Max. retries";
|
||||
//
|
||||
// nrThreadsTextBox
|
||||
//
|
||||
this.nrThreadsTextBox.Enabled = false;
|
||||
this.nrThreadsTextBox.Location = new System.Drawing.Point(154, 91);
|
||||
this.nrThreadsTextBox.Name = "nrThreadsTextBox";
|
||||
this.nrThreadsTextBox.Size = new System.Drawing.Size(45, 20);
|
||||
this.nrThreadsTextBox.TabIndex = 21;
|
||||
//
|
||||
// nrThreadsLabel
|
||||
//
|
||||
this.nrThreadsLabel.AutoSize = true;
|
||||
this.nrThreadsLabel.Location = new System.Drawing.Point(23, 94);
|
||||
this.nrThreadsLabel.Name = "nrThreadsLabel";
|
||||
this.nrThreadsLabel.Size = new System.Drawing.Size(59, 13);
|
||||
this.nrThreadsLabel.TabIndex = 20;
|
||||
this.nrThreadsLabel.Text = "Nr. threads";
|
||||
//
|
||||
// useMuxBrdsCheckBox
|
||||
//
|
||||
this.useMuxBrdsCheckBox.AutoSize = true;
|
||||
this.useMuxBrdsCheckBox.Enabled = false;
|
||||
this.useMuxBrdsCheckBox.Location = new System.Drawing.Point(15, 22);
|
||||
this.useMuxBrdsCheckBox.Name = "useMuxBrdsCheckBox";
|
||||
this.useMuxBrdsCheckBox.Size = new System.Drawing.Size(132, 17);
|
||||
this.useMuxBrdsCheckBox.TabIndex = 0;
|
||||
this.useMuxBrdsCheckBox.Text = "Use multiplexer boards";
|
||||
this.useMuxBrdsCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.useMuxBrdsCheckBox);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard1Label);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard1TextBox);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard2Label);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard2TextBox);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard3Label);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard3TextBox);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard4Label);
|
||||
this.groupBox1.Controls.Add(this.rfidPortBoard4TextBox);
|
||||
this.groupBox1.Location = new System.Drawing.Point(26, 119);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Size = new System.Drawing.Size(363, 139);
|
||||
this.groupBox1.TabIndex = 23;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "Multiplexer boards connected to USB ports";
|
||||
//
|
||||
// TestMethodCfgCtrl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.nrThreadsTextBox);
|
||||
this.Controls.Add(this.nrThreadsLabel);
|
||||
this.Controls.Add(this.maxCommRetriesTextBox);
|
||||
this.Controls.Add(this.maxNrRetriesLabel);
|
||||
this.Controls.Add(this.commTimeoutTextBox);
|
||||
this.Controls.Add(this.commTimeoutLabel);
|
||||
this.Controls.Add(this.nameTextBox);
|
||||
this.Controls.Add(this.nameLabel);
|
||||
this.Controls.Add(this.classNameLabel);
|
||||
this.Name = "TestMethodCfgCtrl";
|
||||
this.Size = new System.Drawing.Size(409, 282);
|
||||
this.Load += new System.EventHandler(this.EntryFormCfgCtrl_Load);
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -244,5 +271,7 @@ namespace TBF.BenchControl.TestMethods.iPerlCommunication
|
||||
private System.Windows.Forms.Label maxNrRetriesLabel;
|
||||
private System.Windows.Forms.TextBox nrThreadsTextBox;
|
||||
private System.Windows.Forms.Label nrThreadsLabel;
|
||||
private System.Windows.Forms.CheckBox useMuxBrdsCheckBox;
|
||||
private System.Windows.Forms.GroupBox groupBox1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user