diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.Designer.cs b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.Designer.cs
index 4f767145b..9e947013f 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.Designer.cs
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.Designer.cs
@@ -30,24 +30,30 @@
{
this.okButton = new System.Windows.Forms.Button();
this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.mainStateTextBox = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.mainSnTextBox = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
+ this.mainSN1TextBox = new System.Windows.Forms.TextBox();
+ this.mainSN1Label = new System.Windows.Forms.Label();
+ this.auxSN1TextBox = new System.Windows.Forms.TextBox();
+ this.auxSN1Label = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.auxStateTextBox = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.auxSnTextBox = new System.Windows.Forms.TextBox();
- this.label4 = new System.Windows.Forms.Label();
+ this.auxSN2TextBox = new System.Windows.Forms.TextBox();
+ this.auxSN2Label = new System.Windows.Forms.Label();
+ this.mainSN2TextBox = new System.Windows.Forms.TextBox();
+ this.mainSN2Label = new System.Windows.Forms.Label();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.auxSN3TextBox = new System.Windows.Forms.TextBox();
+ this.auxSN3Label = new System.Windows.Forms.Label();
+ this.mainSN3TextBox = new System.Windows.Forms.TextBox();
+ this.mainSN3Label = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
+ this.groupBox3.SuspendLayout();
this.SuspendLayout();
//
// okButton
//
this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.okButton.ForeColor = System.Drawing.Color.Black;
- this.okButton.Location = new System.Drawing.Point(439, 27);
+ this.okButton.Location = new System.Drawing.Point(527, 43);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(98, 63);
this.okButton.TabIndex = 0;
@@ -57,101 +63,144 @@
//
// groupBox1
//
- this.groupBox1.Controls.Add(this.mainStateTextBox);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Controls.Add(this.mainSnTextBox);
- this.groupBox1.Controls.Add(this.label1);
+ this.groupBox1.Controls.Add(this.auxSN1TextBox);
+ this.groupBox1.Controls.Add(this.auxSN1Label);
+ this.groupBox1.Controls.Add(this.mainSN1TextBox);
+ this.groupBox1.Controls.Add(this.mainSN1Label);
this.groupBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox1.ForeColor = System.Drawing.Color.Black;
this.groupBox1.Location = new System.Drawing.Point(28, 18);
this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(376, 92);
+ this.groupBox1.Size = new System.Drawing.Size(464, 137);
this.groupBox1.TabIndex = 1;
this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Hauptzähler";
+ this.groupBox1.Text = "Water Meter 1";
//
- // mainStateTextBox
+ // mainSN1TextBox
//
- this.mainStateTextBox.Location = new System.Drawing.Point(183, 56);
- this.mainStateTextBox.Name = "mainStateTextBox";
- this.mainStateTextBox.Size = new System.Drawing.Size(163, 31);
- this.mainStateTextBox.TabIndex = 3;
- this.mainStateTextBox.Visible = false;
+ this.mainSN1TextBox.Location = new System.Drawing.Point(262, 37);
+ this.mainSN1TextBox.Name = "mainSN1TextBox";
+ this.mainSN1TextBox.Size = new System.Drawing.Size(163, 31);
+ this.mainSN1TextBox.TabIndex = 1;
//
- // label2
+ // mainSN1Label
//
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(18, 59);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(74, 23);
- this.label2.TabIndex = 2;
- this.label2.Text = "Stand:";
- this.label2.Visible = false;
+ this.mainSN1Label.AutoSize = true;
+ this.mainSN1Label.Location = new System.Drawing.Point(21, 40);
+ this.mainSN1Label.Name = "mainSN1Label";
+ this.mainSN1Label.Size = new System.Drawing.Size(195, 23);
+ this.mainSN1Label.TabIndex = 0;
+ this.mainSN1Label.Text = "Main WM Serial Nr.";
//
- // mainSnTextBox
+ // auxSN1TextBox
//
- this.mainSnTextBox.Location = new System.Drawing.Point(183, 37);
- this.mainSnTextBox.Name = "mainSnTextBox";
- this.mainSnTextBox.Size = new System.Drawing.Size(163, 31);
- this.mainSnTextBox.TabIndex = 1;
+ this.auxSN1TextBox.Location = new System.Drawing.Point(262, 83);
+ this.auxSN1TextBox.Name = "auxSN1TextBox";
+ this.auxSN1TextBox.Size = new System.Drawing.Size(163, 31);
+ this.auxSN1TextBox.TabIndex = 1;
//
- // label1
+ // auxSN1Label
//
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(18, 40);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(159, 23);
- this.label1.TabIndex = 0;
- this.label1.Text = "Seriennummer:";
+ this.auxSN1Label.AutoSize = true;
+ this.auxSN1Label.Location = new System.Drawing.Point(21, 86);
+ this.auxSN1Label.Name = "auxSN1Label";
+ this.auxSN1Label.Size = new System.Drawing.Size(193, 23);
+ this.auxSN1Label.TabIndex = 0;
+ this.auxSN1Label.Text = "Aux. WM Serial Nr.";
//
// groupBox2
//
- this.groupBox2.Controls.Add(this.auxStateTextBox);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Controls.Add(this.auxSnTextBox);
- this.groupBox2.Controls.Add(this.label4);
+ this.groupBox2.Controls.Add(this.auxSN2TextBox);
+ this.groupBox2.Controls.Add(this.auxSN2Label);
+ this.groupBox2.Controls.Add(this.mainSN2TextBox);
+ this.groupBox2.Controls.Add(this.mainSN2Label);
this.groupBox2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.groupBox2.ForeColor = System.Drawing.Color.Black;
- this.groupBox2.Location = new System.Drawing.Point(28, 135);
+ this.groupBox2.Location = new System.Drawing.Point(28, 175);
this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(376, 92);
+ this.groupBox2.Size = new System.Drawing.Size(464, 137);
this.groupBox2.TabIndex = 2;
this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Nebenzähler";
+ this.groupBox2.Text = "Water Meter 2";
//
- // auxStateTextBox
+ // auxSN2TextBox
//
- this.auxStateTextBox.Location = new System.Drawing.Point(183, 54);
- this.auxStateTextBox.Name = "auxStateTextBox";
- this.auxStateTextBox.Size = new System.Drawing.Size(163, 31);
- this.auxStateTextBox.TabIndex = 3;
- this.auxStateTextBox.Visible = false;
+ this.auxSN2TextBox.Location = new System.Drawing.Point(262, 83);
+ this.auxSN2TextBox.Name = "auxSN2TextBox";
+ this.auxSN2TextBox.Size = new System.Drawing.Size(163, 31);
+ this.auxSN2TextBox.TabIndex = 1;
//
- // label3
+ // auxSN2Label
//
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(18, 57);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(74, 23);
- this.label3.TabIndex = 2;
- this.label3.Text = "Stand:";
- this.label3.Visible = false;
+ this.auxSN2Label.AutoSize = true;
+ this.auxSN2Label.Location = new System.Drawing.Point(21, 86);
+ this.auxSN2Label.Name = "auxSN2Label";
+ this.auxSN2Label.Size = new System.Drawing.Size(193, 23);
+ this.auxSN2Label.TabIndex = 0;
+ this.auxSN2Label.Text = "Aux. WM Serial Nr.";
//
- // auxSnTextBox
+ // mainSN2TextBox
//
- this.auxSnTextBox.Location = new System.Drawing.Point(183, 37);
- this.auxSnTextBox.Name = "auxSnTextBox";
- this.auxSnTextBox.Size = new System.Drawing.Size(163, 31);
- this.auxSnTextBox.TabIndex = 1;
+ this.mainSN2TextBox.Location = new System.Drawing.Point(262, 37);
+ this.mainSN2TextBox.Name = "mainSN2TextBox";
+ this.mainSN2TextBox.Size = new System.Drawing.Size(163, 31);
+ this.mainSN2TextBox.TabIndex = 1;
//
- // label4
+ // mainSN2Label
//
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(18, 40);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(159, 23);
- this.label4.TabIndex = 0;
- this.label4.Text = "Seriennummer:";
+ this.mainSN2Label.AutoSize = true;
+ this.mainSN2Label.Location = new System.Drawing.Point(21, 40);
+ this.mainSN2Label.Name = "mainSN2Label";
+ this.mainSN2Label.Size = new System.Drawing.Size(195, 23);
+ this.mainSN2Label.TabIndex = 0;
+ this.mainSN2Label.Text = "Main WM Serial Nr.";
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.auxSN3TextBox);
+ this.groupBox3.Controls.Add(this.auxSN3Label);
+ this.groupBox3.Controls.Add(this.mainSN3TextBox);
+ this.groupBox3.Controls.Add(this.mainSN3Label);
+ this.groupBox3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.groupBox3.ForeColor = System.Drawing.Color.Black;
+ this.groupBox3.Location = new System.Drawing.Point(28, 330);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(464, 137);
+ this.groupBox3.TabIndex = 3;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = "Water Meter 3";
+ //
+ // auxSN3TextBox
+ //
+ this.auxSN3TextBox.Location = new System.Drawing.Point(262, 83);
+ this.auxSN3TextBox.Name = "auxSN3TextBox";
+ this.auxSN3TextBox.Size = new System.Drawing.Size(163, 31);
+ this.auxSN3TextBox.TabIndex = 1;
+ //
+ // auxSN3Label
+ //
+ this.auxSN3Label.AutoSize = true;
+ this.auxSN3Label.Location = new System.Drawing.Point(21, 86);
+ this.auxSN3Label.Name = "auxSN3Label";
+ this.auxSN3Label.Size = new System.Drawing.Size(193, 23);
+ this.auxSN3Label.TabIndex = 0;
+ this.auxSN3Label.Text = "Aux. WM Serial Nr.";
+ //
+ // mainSN3TextBox
+ //
+ this.mainSN3TextBox.Location = new System.Drawing.Point(262, 37);
+ this.mainSN3TextBox.Name = "mainSN3TextBox";
+ this.mainSN3TextBox.Size = new System.Drawing.Size(163, 31);
+ this.mainSN3TextBox.TabIndex = 1;
+ //
+ // mainSN3Label
+ //
+ this.mainSN3Label.AutoSize = true;
+ this.mainSN3Label.Location = new System.Drawing.Point(21, 40);
+ this.mainSN3Label.Name = "mainSN3Label";
+ this.mainSN3Label.Size = new System.Drawing.Size(195, 23);
+ this.mainSN3Label.TabIndex = 0;
+ this.mainSN3Label.Text = "Main WM Serial Nr.";
//
// CycleBeginningForm
//
@@ -159,7 +208,8 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoSize = true;
this.BackColor = System.Drawing.Color.DarkGoldenrod;
- this.ClientSize = new System.Drawing.Size(569, 255);
+ this.ClientSize = new System.Drawing.Size(653, 492);
+ this.Controls.Add(this.groupBox3);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Controls.Add(this.okButton);
@@ -172,6 +222,8 @@
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
this.ResumeLayout(false);
}
@@ -180,14 +232,19 @@
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox mainStateTextBox;
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.TextBox mainSnTextBox;
+ private System.Windows.Forms.Label mainSN1Label;
+ private System.Windows.Forms.TextBox mainSN1TextBox;
+ private System.Windows.Forms.TextBox auxSN1TextBox;
+ private System.Windows.Forms.Label auxSN1Label;
private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.TextBox auxStateTextBox;
- private System.Windows.Forms.Label label3;
- private System.Windows.Forms.TextBox auxSnTextBox;
- private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.TextBox auxSN2TextBox;
+ private System.Windows.Forms.Label auxSN2Label;
+ private System.Windows.Forms.TextBox mainSN2TextBox;
+ private System.Windows.Forms.Label mainSN2Label;
+ private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.TextBox auxSN3TextBox;
+ private System.Windows.Forms.Label auxSN3Label;
+ private System.Windows.Forms.TextBox mainSN3TextBox;
+ private System.Windows.Forms.Label mainSN3Label;
}
}
\ No newline at end of file
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.cs b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.cs
index 0e95d5c51..bc7d754a3 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.cs
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.cs
@@ -1,15 +1,14 @@
using System;
using System.Windows.Forms;
+using TBF.Resources;
namespace TBF.BenchControl.DataEntry.Munich
{
public partial class CycleBeginningForm : Form, GenericDevices.IHasCompleted
{
// To be retrieved after the form closes
- public string MainSNText;
- public string AuxSNText;
- public string MainStateText;
- public string AuxStateText;
+ public string[] MainSNText;
+ public string[] AuxSNText;
// Set to 'true' when the form closes
public bool Completed { get { return completed; } }
@@ -18,16 +17,48 @@ namespace TBF.BenchControl.DataEntry.Munich
public CycleBeginningForm()
{
InitializeComponent();
- completed = false;
- // TODO: localize strings
+
+ MainSNText = new string[Program.WMsCount / 2];
+ AuxSNText = new string[Program.WMsCount / 2];
+ completed = false;
+
+ if (Program.WMsCount / 2 < 2) Height = 200;
+ else if (Program.WMsCount / 2 < 3) Height = 355;
+
+ Localize();
+ }
+
+ void Localize()
+ {
+ Text = Strings.Data;
+ groupBox1.Text = Strings.Water_Meter + " 1";
+ mainSN1Label.Text = Strings.Main_WM_SerialNr;
+ auxSN1Label.Text = Strings.Aux_WM_SerialNr;
+ groupBox2.Text = Strings.Water_Meter + " 2";
+ mainSN2Label.Text = Strings.Main_WM_SerialNr;
+ auxSN2Label.Text = Strings.Aux_WM_SerialNr;
+ groupBox3.Text = Strings.Water_Meter + " 3";
+ mainSN3Label.Text = Strings.Main_WM_SerialNr;
+ auxSN3Label.Text = Strings.Aux_WM_SerialNr;
+ okButton.Text = Strings.OkBtnText;
}
private void okButton_Click(object sender, EventArgs e)
{
- MainSNText = mainSnTextBox.Text;
- AuxSNText = auxSnTextBox.Text;
- MainStateText = mainStateTextBox.Text;
- AuxStateText = auxStateTextBox.Text;
+ MainSNText[0] = mainSN1TextBox.Text;
+ AuxSNText[0] = auxSN1TextBox.Text;
+
+ if (Program.WMsCount / 2 >= 2)
+ {
+ MainSNText[1] = mainSN2TextBox.Text;
+ AuxSNText[1] = auxSN2TextBox.Text;
+ }
+
+ if (Program.WMsCount / 2 >= 3)
+ {
+ MainSNText[2] = mainSN3TextBox.Text;
+ AuxSNText[2] = auxSN3TextBox.Text;
+ }
completed = true;
Close();
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.resx b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.resx
index 1af7de150..714731c15 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.resx
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleBeginningForm.resx
@@ -117,4 +117,52 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
\ No newline at end of file
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.Designer.cs b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.Designer.cs
index eeaae8116..2f9b8c79f 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.Designer.cs
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.Designer.cs
@@ -28,236 +28,413 @@
///
private void InitializeComponent()
{
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.auxStateTextBox = new System.Windows.Forms.TextBox();
- this.label3 = new System.Windows.Forms.Label();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.mainStateTextBox = new System.Windows.Forms.TextBox();
- this.label2 = new System.Windows.Forms.Label();
- this.okButton = new System.Windows.Forms.Button();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.radioButton3 = new System.Windows.Forms.RadioButton();
- this.radioButton2 = new System.Windows.Forms.RadioButton();
- this.radioButton1 = new System.Windows.Forms.RadioButton();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.label4 = new System.Windows.Forms.Label();
- this.qFallTextBox = new System.Windows.Forms.TextBox();
- this.label1 = new System.Windows.Forms.Label();
- this.qRiseTextBox = new System.Windows.Forms.TextBox();
- this.groupBox2.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.SuspendLayout();
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.auxStateTextBox);
- this.groupBox2.Controls.Add(this.label3);
- this.groupBox2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.groupBox2.ForeColor = System.Drawing.Color.Black;
- this.groupBox2.Location = new System.Drawing.Point(25, 123);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(362, 81);
- this.groupBox2.TabIndex = 4;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Nebenzähler";
- //
- // auxStateTextBox
- //
- this.auxStateTextBox.Location = new System.Drawing.Point(183, 31);
- this.auxStateTextBox.Name = "auxStateTextBox";
- this.auxStateTextBox.Size = new System.Drawing.Size(163, 31);
- this.auxStateTextBox.TabIndex = 3;
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.Location = new System.Drawing.Point(18, 34);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(74, 23);
- this.label3.TabIndex = 2;
- this.label3.Text = "Stand:";
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.mainStateTextBox);
- this.groupBox1.Controls.Add(this.label2);
- this.groupBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.groupBox1.ForeColor = System.Drawing.Color.Black;
- this.groupBox1.Location = new System.Drawing.Point(25, 23);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(362, 81);
- this.groupBox1.TabIndex = 3;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Hauptzähler";
- //
- // mainStateTextBox
- //
- this.mainStateTextBox.Location = new System.Drawing.Point(183, 31);
- this.mainStateTextBox.Name = "mainStateTextBox";
- this.mainStateTextBox.Size = new System.Drawing.Size(163, 31);
- this.mainStateTextBox.TabIndex = 3;
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(18, 34);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(74, 23);
- this.label2.TabIndex = 2;
- this.label2.Text = "Stand:";
- //
- // okButton
- //
- this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.okButton.ForeColor = System.Drawing.Color.Black;
- this.okButton.Location = new System.Drawing.Point(425, 33);
- this.okButton.Name = "okButton";
- this.okButton.Size = new System.Drawing.Size(98, 63);
- this.okButton.TabIndex = 5;
- this.okButton.Text = "OK";
- this.okButton.UseVisualStyleBackColor = true;
- this.okButton.Click += new System.EventHandler(this.okButton_Click);
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.radioButton3);
- this.groupBox3.Controls.Add(this.radioButton2);
- this.groupBox3.Controls.Add(this.radioButton1);
- this.groupBox3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.groupBox3.Location = new System.Drawing.Point(25, 223);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(362, 142);
- this.groupBox3.TabIndex = 6;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "Protokoll";
- //
- // radioButton3
- //
- this.radioButton3.AutoSize = true;
- this.radioButton3.Location = new System.Drawing.Point(34, 100);
- this.radioButton3.Name = "radioButton3";
- this.radioButton3.Size = new System.Drawing.Size(152, 27);
- this.radioButton3.TabIndex = 2;
- this.radioButton3.Text = "radioButton3";
- this.radioButton3.UseVisualStyleBackColor = true;
- //
- // radioButton2
- //
- this.radioButton2.AutoSize = true;
- this.radioButton2.Location = new System.Drawing.Point(34, 67);
- this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(152, 27);
- this.radioButton2.TabIndex = 1;
- this.radioButton2.Text = "radioButton2";
- this.radioButton2.UseVisualStyleBackColor = true;
- //
- // radioButton1
- //
- this.radioButton1.AutoSize = true;
- this.radioButton1.Checked = true;
- this.radioButton1.Location = new System.Drawing.Point(34, 34);
- this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(152, 27);
- this.radioButton1.TabIndex = 0;
- this.radioButton1.TabStop = true;
- this.radioButton1.Text = "radioButton1";
- this.radioButton1.UseVisualStyleBackColor = true;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.label4);
- this.groupBox4.Controls.Add(this.qFallTextBox);
- this.groupBox4.Controls.Add(this.label1);
- this.groupBox4.Controls.Add(this.qRiseTextBox);
- this.groupBox4.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
- this.groupBox4.Location = new System.Drawing.Point(25, 383);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(361, 125);
- this.groupBox4.TabIndex = 7;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "Umschaltpunkte";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(18, 79);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(64, 23);
- this.label4.TabIndex = 7;
- this.label4.Text = "Qfall:";
- //
- // qFallTextBox
- //
- this.qFallTextBox.Location = new System.Drawing.Point(183, 77);
- this.qFallTextBox.Name = "qFallTextBox";
- this.qFallTextBox.Size = new System.Drawing.Size(163, 31);
- this.qFallTextBox.TabIndex = 6;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(18, 37);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(80, 23);
- this.label1.TabIndex = 5;
- this.label1.Text = "Qsteig:";
- //
- // qRiseTextBox
- //
- this.qRiseTextBox.Location = new System.Drawing.Point(183, 34);
- this.qRiseTextBox.Name = "qRiseTextBox";
- this.qRiseTextBox.Size = new System.Drawing.Size(163, 31);
- this.qRiseTextBox.TabIndex = 4;
- //
- // CycleEndForm
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.Color.DarkGoldenrod;
- this.ClientSize = new System.Drawing.Size(559, 530);
- this.Controls.Add(this.groupBox4);
- this.Controls.Add(this.groupBox3);
- this.Controls.Add(this.okButton);
- this.Controls.Add(this.groupBox2);
- this.Controls.Add(this.groupBox1);
- this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
- this.Name = "CycleEndForm";
- this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
- this.Text = "Daten";
- this.TopMost = true;
- this.Load += new System.EventHandler(this.CycleEndForm_Load);
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.groupBox3.ResumeLayout(false);
- this.groupBox3.PerformLayout();
- this.groupBox4.ResumeLayout(false);
- this.groupBox4.PerformLayout();
- this.ResumeLayout(false);
+ this.mainState1TextBox = new System.Windows.Forms.TextBox();
+ this.mainState1Label = new System.Windows.Forms.Label();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.qFall1Label = new System.Windows.Forms.Label();
+ this.qFall1TextBox = new System.Windows.Forms.TextBox();
+ this.qRise1Label = new System.Windows.Forms.Label();
+ this.qRise1TextBox = new System.Windows.Forms.TextBox();
+ this.auxState1TextBox = new System.Windows.Forms.TextBox();
+ this.auxState1Label = new System.Windows.Forms.Label();
+ this.okButton = new System.Windows.Forms.Button();
+ this.protocolGroupBox = new System.Windows.Forms.GroupBox();
+ this.radioButton3 = new System.Windows.Forms.RadioButton();
+ this.radioButton2 = new System.Windows.Forms.RadioButton();
+ this.radioButton1 = new System.Windows.Forms.RadioButton();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.qFall2Label = new System.Windows.Forms.Label();
+ this.qFall2TextBox = new System.Windows.Forms.TextBox();
+ this.qRise2Label = new System.Windows.Forms.Label();
+ this.qRise2TextBox = new System.Windows.Forms.TextBox();
+ this.mainState2TextBox = new System.Windows.Forms.TextBox();
+ this.mainState2Label = new System.Windows.Forms.Label();
+ this.auxState2TextBox = new System.Windows.Forms.TextBox();
+ this.auxState2Label = new System.Windows.Forms.Label();
+ this.groupBox3 = new System.Windows.Forms.GroupBox();
+ this.qFall3Label = new System.Windows.Forms.Label();
+ this.qFall3TextBox = new System.Windows.Forms.TextBox();
+ this.qRise3Label = new System.Windows.Forms.Label();
+ this.qRise3TextBox = new System.Windows.Forms.TextBox();
+ this.mainState3TextBox = new System.Windows.Forms.TextBox();
+ this.mainState3Label = new System.Windows.Forms.Label();
+ this.auxState3TextBox = new System.Windows.Forms.TextBox();
+ this.auxState3Label = new System.Windows.Forms.Label();
+ this.groupBox1.SuspendLayout();
+ this.protocolGroupBox.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ this.groupBox3.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // mainState1TextBox
+ //
+ this.mainState1TextBox.Location = new System.Drawing.Point(211, 42);
+ this.mainState1TextBox.Name = "mainState1TextBox";
+ this.mainState1TextBox.Size = new System.Drawing.Size(135, 31);
+ this.mainState1TextBox.TabIndex = 3;
+ //
+ // mainState1Label
+ //
+ this.mainState1Label.AutoSize = true;
+ this.mainState1Label.Location = new System.Drawing.Point(18, 45);
+ this.mainState1Label.Name = "mainState1Label";
+ this.mainState1Label.Size = new System.Drawing.Size(153, 23);
+ this.mainState1Label.TabIndex = 2;
+ this.mainState1Label.Text = "Main WM State";
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.qFall1Label);
+ this.groupBox1.Controls.Add(this.qFall1TextBox);
+ this.groupBox1.Controls.Add(this.qRise1Label);
+ this.groupBox1.Controls.Add(this.qRise1TextBox);
+ this.groupBox1.Controls.Add(this.mainState1TextBox);
+ this.groupBox1.Controls.Add(this.mainState1Label);
+ this.groupBox1.Controls.Add(this.auxState1TextBox);
+ this.groupBox1.Controls.Add(this.auxState1Label);
+ this.groupBox1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.groupBox1.ForeColor = System.Drawing.Color.Black;
+ this.groupBox1.Location = new System.Drawing.Point(25, 23);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(375, 237);
+ this.groupBox1.TabIndex = 3;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Water Meter 1";
+ //
+ // qFall1Label
+ //
+ this.qFall1Label.AutoSize = true;
+ this.qFall1Label.Location = new System.Drawing.Point(18, 184);
+ this.qFall1Label.Name = "qFall1Label";
+ this.qFall1Label.Size = new System.Drawing.Size(55, 23);
+ this.qFall1Label.TabIndex = 11;
+ this.qFall1Label.Text = "Qfall";
+ //
+ // qFall1TextBox
+ //
+ this.qFall1TextBox.Location = new System.Drawing.Point(211, 177);
+ this.qFall1TextBox.Name = "qFall1TextBox";
+ this.qFall1TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qFall1TextBox.TabIndex = 10;
+ //
+ // qRise1Label
+ //
+ this.qRise1Label.AutoSize = true;
+ this.qRise1Label.Location = new System.Drawing.Point(18, 135);
+ this.qRise1Label.Name = "qRise1Label";
+ this.qRise1Label.Size = new System.Drawing.Size(60, 23);
+ this.qRise1Label.TabIndex = 9;
+ this.qRise1Label.Text = "Qrise";
+ //
+ // qRise1TextBox
+ //
+ this.qRise1TextBox.Location = new System.Drawing.Point(211, 132);
+ this.qRise1TextBox.Name = "qRise1TextBox";
+ this.qRise1TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qRise1TextBox.TabIndex = 8;
+ //
+ // auxState1TextBox
+ //
+ this.auxState1TextBox.Location = new System.Drawing.Point(211, 87);
+ this.auxState1TextBox.Name = "auxState1TextBox";
+ this.auxState1TextBox.Size = new System.Drawing.Size(135, 31);
+ this.auxState1TextBox.TabIndex = 3;
+ //
+ // auxState1Label
+ //
+ this.auxState1Label.AutoSize = true;
+ this.auxState1Label.Location = new System.Drawing.Point(18, 90);
+ this.auxState1Label.Name = "auxState1Label";
+ this.auxState1Label.Size = new System.Drawing.Size(151, 23);
+ this.auxState1Label.TabIndex = 2;
+ this.auxState1Label.Text = "Aux. WM State";
+ //
+ // okButton
+ //
+ this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.okButton.ForeColor = System.Drawing.Color.Black;
+ this.okButton.Location = new System.Drawing.Point(699, 33);
+ this.okButton.Name = "okButton";
+ this.okButton.Size = new System.Drawing.Size(98, 63);
+ this.okButton.TabIndex = 5;
+ this.okButton.Text = "OK";
+ this.okButton.UseVisualStyleBackColor = true;
+ this.okButton.Click += new System.EventHandler(this.okButton_Click);
+ //
+ // protocolGroupBox
+ //
+ this.protocolGroupBox.Controls.Add(this.radioButton3);
+ this.protocolGroupBox.Controls.Add(this.radioButton2);
+ this.protocolGroupBox.Controls.Add(this.radioButton1);
+ this.protocolGroupBox.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.protocolGroupBox.Location = new System.Drawing.Point(422, 118);
+ this.protocolGroupBox.Name = "protocolGroupBox";
+ this.protocolGroupBox.Size = new System.Drawing.Size(375, 142);
+ this.protocolGroupBox.TabIndex = 6;
+ this.protocolGroupBox.TabStop = false;
+ this.protocolGroupBox.Text = "Protocol";
+ //
+ // radioButton3
+ //
+ this.radioButton3.AutoSize = true;
+ this.radioButton3.Location = new System.Drawing.Point(34, 100);
+ this.radioButton3.Name = "radioButton3";
+ this.radioButton3.Size = new System.Drawing.Size(152, 27);
+ this.radioButton3.TabIndex = 2;
+ this.radioButton3.Text = "radioButton3";
+ this.radioButton3.UseVisualStyleBackColor = true;
+ //
+ // radioButton2
+ //
+ this.radioButton2.AutoSize = true;
+ this.radioButton2.Location = new System.Drawing.Point(34, 67);
+ this.radioButton2.Name = "radioButton2";
+ this.radioButton2.Size = new System.Drawing.Size(152, 27);
+ this.radioButton2.TabIndex = 1;
+ this.radioButton2.Text = "radioButton2";
+ this.radioButton2.UseVisualStyleBackColor = true;
+ //
+ // radioButton1
+ //
+ this.radioButton1.AutoSize = true;
+ this.radioButton1.Checked = true;
+ this.radioButton1.Location = new System.Drawing.Point(34, 34);
+ this.radioButton1.Name = "radioButton1";
+ this.radioButton1.Size = new System.Drawing.Size(152, 27);
+ this.radioButton1.TabIndex = 0;
+ this.radioButton1.TabStop = true;
+ this.radioButton1.Text = "radioButton1";
+ this.radioButton1.UseVisualStyleBackColor = true;
+ //
+ // groupBox2
+ //
+ this.groupBox2.Controls.Add(this.qFall2Label);
+ this.groupBox2.Controls.Add(this.qFall2TextBox);
+ this.groupBox2.Controls.Add(this.qRise2Label);
+ this.groupBox2.Controls.Add(this.qRise2TextBox);
+ this.groupBox2.Controls.Add(this.mainState2TextBox);
+ this.groupBox2.Controls.Add(this.mainState2Label);
+ this.groupBox2.Controls.Add(this.auxState2TextBox);
+ this.groupBox2.Controls.Add(this.auxState2Label);
+ this.groupBox2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.groupBox2.ForeColor = System.Drawing.Color.Black;
+ this.groupBox2.Location = new System.Drawing.Point(25, 282);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(375, 237);
+ this.groupBox2.TabIndex = 7;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "Water Meter 2";
+ //
+ // qFall2Label
+ //
+ this.qFall2Label.AutoSize = true;
+ this.qFall2Label.Location = new System.Drawing.Point(18, 184);
+ this.qFall2Label.Name = "qFall2Label";
+ this.qFall2Label.Size = new System.Drawing.Size(55, 23);
+ this.qFall2Label.TabIndex = 11;
+ this.qFall2Label.Text = "Qfall";
+ //
+ // qFall2TextBox
+ //
+ this.qFall2TextBox.Location = new System.Drawing.Point(211, 177);
+ this.qFall2TextBox.Name = "qFall2TextBox";
+ this.qFall2TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qFall2TextBox.TabIndex = 10;
+ //
+ // qRise2Label
+ //
+ this.qRise2Label.AutoSize = true;
+ this.qRise2Label.Location = new System.Drawing.Point(18, 135);
+ this.qRise2Label.Name = "qRise2Label";
+ this.qRise2Label.Size = new System.Drawing.Size(60, 23);
+ this.qRise2Label.TabIndex = 9;
+ this.qRise2Label.Text = "Qrise";
+ //
+ // qRise2TextBox
+ //
+ this.qRise2TextBox.Location = new System.Drawing.Point(211, 132);
+ this.qRise2TextBox.Name = "qRise2TextBox";
+ this.qRise2TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qRise2TextBox.TabIndex = 8;
+ //
+ // mainState2TextBox
+ //
+ this.mainState2TextBox.Location = new System.Drawing.Point(211, 42);
+ this.mainState2TextBox.Name = "mainState2TextBox";
+ this.mainState2TextBox.Size = new System.Drawing.Size(135, 31);
+ this.mainState2TextBox.TabIndex = 3;
+ //
+ // mainState2Label
+ //
+ this.mainState2Label.AutoSize = true;
+ this.mainState2Label.Location = new System.Drawing.Point(17, 45);
+ this.mainState2Label.Name = "mainState2Label";
+ this.mainState2Label.Size = new System.Drawing.Size(153, 23);
+ this.mainState2Label.TabIndex = 2;
+ this.mainState2Label.Text = "Main WM State";
+ //
+ // auxState2TextBox
+ //
+ this.auxState2TextBox.Location = new System.Drawing.Point(211, 87);
+ this.auxState2TextBox.Name = "auxState2TextBox";
+ this.auxState2TextBox.Size = new System.Drawing.Size(135, 31);
+ this.auxState2TextBox.TabIndex = 3;
+ //
+ // auxState2Label
+ //
+ this.auxState2Label.AutoSize = true;
+ this.auxState2Label.Location = new System.Drawing.Point(18, 90);
+ this.auxState2Label.Name = "auxState2Label";
+ this.auxState2Label.Size = new System.Drawing.Size(151, 23);
+ this.auxState2Label.TabIndex = 2;
+ this.auxState2Label.Text = "Aux. WM State";
+ //
+ // groupBox3
+ //
+ this.groupBox3.Controls.Add(this.qFall3Label);
+ this.groupBox3.Controls.Add(this.qFall3TextBox);
+ this.groupBox3.Controls.Add(this.qRise3Label);
+ this.groupBox3.Controls.Add(this.qRise3TextBox);
+ this.groupBox3.Controls.Add(this.mainState3TextBox);
+ this.groupBox3.Controls.Add(this.mainState3Label);
+ this.groupBox3.Controls.Add(this.auxState3TextBox);
+ this.groupBox3.Controls.Add(this.auxState3Label);
+ this.groupBox3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.groupBox3.ForeColor = System.Drawing.Color.Black;
+ this.groupBox3.Location = new System.Drawing.Point(422, 282);
+ this.groupBox3.Name = "groupBox3";
+ this.groupBox3.Size = new System.Drawing.Size(375, 237);
+ this.groupBox3.TabIndex = 8;
+ this.groupBox3.TabStop = false;
+ this.groupBox3.Text = "Water Meter 3";
+ //
+ // qFall3Label
+ //
+ this.qFall3Label.AutoSize = true;
+ this.qFall3Label.Location = new System.Drawing.Point(18, 184);
+ this.qFall3Label.Name = "qFall3Label";
+ this.qFall3Label.Size = new System.Drawing.Size(55, 23);
+ this.qFall3Label.TabIndex = 11;
+ this.qFall3Label.Text = "Qfall";
+ //
+ // qFall3TextBox
+ //
+ this.qFall3TextBox.Location = new System.Drawing.Point(211, 177);
+ this.qFall3TextBox.Name = "qFall3TextBox";
+ this.qFall3TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qFall3TextBox.TabIndex = 10;
+ //
+ // qRise3Label
+ //
+ this.qRise3Label.AutoSize = true;
+ this.qRise3Label.Location = new System.Drawing.Point(18, 135);
+ this.qRise3Label.Name = "qRise3Label";
+ this.qRise3Label.Size = new System.Drawing.Size(60, 23);
+ this.qRise3Label.TabIndex = 9;
+ this.qRise3Label.Text = "Qrise";
+ //
+ // qRise3TextBox
+ //
+ this.qRise3TextBox.Location = new System.Drawing.Point(211, 132);
+ this.qRise3TextBox.Name = "qRise3TextBox";
+ this.qRise3TextBox.Size = new System.Drawing.Size(135, 31);
+ this.qRise3TextBox.TabIndex = 8;
+ //
+ // mainState3TextBox
+ //
+ this.mainState3TextBox.Location = new System.Drawing.Point(211, 42);
+ this.mainState3TextBox.Name = "mainState3TextBox";
+ this.mainState3TextBox.Size = new System.Drawing.Size(135, 31);
+ this.mainState3TextBox.TabIndex = 3;
+ //
+ // mainState3Label
+ //
+ this.mainState3Label.AutoSize = true;
+ this.mainState3Label.Location = new System.Drawing.Point(18, 45);
+ this.mainState3Label.Name = "mainState3Label";
+ this.mainState3Label.Size = new System.Drawing.Size(153, 23);
+ this.mainState3Label.TabIndex = 2;
+ this.mainState3Label.Text = "Main WM State";
+ //
+ // auxState3TextBox
+ //
+ this.auxState3TextBox.Location = new System.Drawing.Point(211, 87);
+ this.auxState3TextBox.Name = "auxState3TextBox";
+ this.auxState3TextBox.Size = new System.Drawing.Size(135, 31);
+ this.auxState3TextBox.TabIndex = 3;
+ //
+ // auxState3Label
+ //
+ this.auxState3Label.AutoSize = true;
+ this.auxState3Label.Location = new System.Drawing.Point(18, 90);
+ this.auxState3Label.Name = "auxState3Label";
+ this.auxState3Label.Size = new System.Drawing.Size(151, 23);
+ this.auxState3Label.TabIndex = 2;
+ this.auxState3Label.Text = "Aux. WM State";
+ //
+ // CycleEndForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.DarkGoldenrod;
+ this.ClientSize = new System.Drawing.Size(822, 542);
+ this.Controls.Add(this.groupBox3);
+ this.Controls.Add(this.groupBox2);
+ this.Controls.Add(this.protocolGroupBox);
+ this.Controls.Add(this.okButton);
+ this.Controls.Add(this.groupBox1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Name = "CycleEndForm";
+ this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
+ this.Text = "Daten";
+ this.TopMost = true;
+ this.Load += new System.EventHandler(this.CycleEndForm_Load);
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.protocolGroupBox.ResumeLayout(false);
+ this.protocolGroupBox.PerformLayout();
+ this.groupBox2.ResumeLayout(false);
+ this.groupBox2.PerformLayout();
+ this.groupBox3.ResumeLayout(false);
+ this.groupBox3.PerformLayout();
+ this.ResumeLayout(false);
}
#endregion
- private System.Windows.Forms.GroupBox groupBox2;
- private System.Windows.Forms.TextBox auxStateTextBox;
- private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox mainState1TextBox;
+ private System.Windows.Forms.Label mainState1Label;
private System.Windows.Forms.GroupBox groupBox1;
- private System.Windows.Forms.TextBox mainStateTextBox;
- private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox auxState1TextBox;
+ private System.Windows.Forms.Label auxState1Label;
private System.Windows.Forms.Button okButton;
- private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.GroupBox protocolGroupBox;
private System.Windows.Forms.RadioButton radioButton3;
private System.Windows.Forms.RadioButton radioButton2;
private System.Windows.Forms.RadioButton radioButton1;
- private System.Windows.Forms.GroupBox groupBox4;
- private System.Windows.Forms.Label label4;
- private System.Windows.Forms.TextBox qFallTextBox;
- private System.Windows.Forms.Label label1;
- private System.Windows.Forms.TextBox qRiseTextBox;
+ private System.Windows.Forms.Label qFall1Label;
+ private System.Windows.Forms.TextBox qFall1TextBox;
+ private System.Windows.Forms.Label qRise1Label;
+ private System.Windows.Forms.TextBox qRise1TextBox;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.Label qFall2Label;
+ private System.Windows.Forms.TextBox qFall2TextBox;
+ private System.Windows.Forms.Label qRise2Label;
+ private System.Windows.Forms.TextBox qRise2TextBox;
+ private System.Windows.Forms.TextBox mainState2TextBox;
+ private System.Windows.Forms.Label mainState2Label;
+ private System.Windows.Forms.TextBox auxState2TextBox;
+ private System.Windows.Forms.Label auxState2Label;
+ private System.Windows.Forms.GroupBox groupBox3;
+ private System.Windows.Forms.Label qFall3Label;
+ private System.Windows.Forms.TextBox qFall3TextBox;
+ private System.Windows.Forms.Label qRise3Label;
+ private System.Windows.Forms.TextBox qRise3TextBox;
+ private System.Windows.Forms.TextBox mainState3TextBox;
+ private System.Windows.Forms.Label mainState3Label;
+ private System.Windows.Forms.TextBox auxState3TextBox;
+ private System.Windows.Forms.Label auxState3Label;
}
}
\ No newline at end of file
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.cs b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.cs
index 2e9c0801f..a74713ae5 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.cs
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.cs
@@ -1,5 +1,6 @@
using System;
using System.Windows.Forms;
+using TBF.Resources;
namespace TBF.BenchControl.DataEntry.Munich
{
@@ -11,8 +12,10 @@ namespace TBF.BenchControl.DataEntry.Munich
public string ProtocolName3;
// To be retrieved after the form closes
- public string MainStateText;
- public string AuxStateText;
+ public string[] MainStateText;
+ public string[] AuxStateText;
+ public float[] QRise;
+ public float[] QFall;
public string ProtocolTitle;
// Set to 'true' when the form closes
@@ -22,8 +25,37 @@ namespace TBF.BenchControl.DataEntry.Munich
public CycleEndForm()
{
InitializeComponent();
- completed = false;
- // TODO: localize strings
+
+ MainStateText = new string[Program.WMsCount / 2];
+ AuxStateText = new string[Program.WMsCount / 2];
+ QRise = new float[Program.WMsCount / 2];
+ QFall = new float[Program.WMsCount / 2];
+ completed = false;
+
+ Localize();
+ }
+
+ void Localize()
+ {
+ Text = Strings.Data;
+ protocolGroupBox.Text = Strings.Protocol;
+ groupBox1.Text = Strings.Water_Meter + " 1";
+ mainState1Label.Text = Strings.Main_Water_Meter_State;
+ auxState1Label.Text = Strings.Aux_Water_Meter_State;
+ qRise1Label.Text = Strings.Qrise;
+ qFall1Label.Text = Strings.Qfall;
+
+ groupBox2.Text = Strings.Water_Meter + " 2";
+ mainState2Label.Text = Strings.Main_Water_Meter_State;
+ auxState2Label.Text = Strings.Aux_Water_Meter_State;
+ qRise2Label.Text = Strings.Qrise;
+ qFall2Label.Text = Strings.Qfall;
+
+ groupBox3.Text = Strings.Water_Meter + " 3";
+ mainState3Label.Text = Strings.Main_Water_Meter_State;
+ auxState3Label.Text = Strings.Aux_Water_Meter_State;
+ qRise3Label.Text = Strings.Qrise;
+ qFall3Label.Text = Strings.Qfall;
}
private void CycleEndForm_Load(object sender, EventArgs e)
@@ -31,25 +63,67 @@ namespace TBF.BenchControl.DataEntry.Munich
radioButton1.Text = ProtocolName1;
radioButton2.Text = ProtocolName2;
radioButton3.Text = ProtocolName3;
- qRiseTextBox.Text = Sequences.SequenceBase.Qrise.ToString("F3");
- qFallTextBox.Text = Sequences.SequenceBase.Qfall.ToString("F3");
+
+ qRise1TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qrise, 3);
+ qFall1TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qfall, 3);
+
+ if (Program.WMsCount / 2 >= 2)
+ {
+ qRise2TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qrise, 3);
+ qFall2TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qfall, 3);
+ }
+ else
+ {
+ groupBox2.Visible = false;
+ Height = 305;
+ }
+
+ if (Program.WMsCount / 2 >= 3)
+ {
+ qRise3TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qrise, 3);
+ qFall3TextBox.Text = Utils.FloatToStr(Sequences.SequenceBase.Qfall, 3);
+ }
+ else
+ {
+ groupBox3.Visible = false;
+ }
}
private void okButton_Click(object sender, EventArgs e)
{
- MainStateText = mainStateTextBox.Text;
- AuxStateText = auxStateTextBox.Text;
+ float ftmp;
+ bool allOK = true;
- float umsch;
- if (Utils.TryParseUFloat(qRiseTextBox.Text, out umsch)) Sequences.SequenceBase.Qrise = umsch;
- if (Utils.TryParseUFloat(qFallTextBox.Text, out umsch)) Sequences.SequenceBase.Qfall = umsch;
+ MainStateText[0] = mainState1TextBox.Text;
+ AuxStateText[0] = auxState1TextBox.Text;
+ if (Utils.TryParseUFloat(qRise1TextBox.Text, out ftmp)) { QRise[0] = ftmp; } else { allOK = false; }
+ if (Utils.TryParseUFloat(qFall1TextBox.Text, out ftmp)) { QFall[0] = ftmp; } else { allOK = false; }
- if (radioButton1.Checked) ProtocolTitle = ProtocolName1;
+ if (Program.WMsCount / 2 >= 2)
+ {
+ MainStateText[1] = mainState2TextBox.Text;
+ AuxStateText[1] = auxState2TextBox.Text;
+ if (Utils.TryParseUFloat(qRise2TextBox.Text, out ftmp)) { QRise[1] = ftmp; } else { allOK = false; }
+ if (Utils.TryParseUFloat(qFall2TextBox.Text, out ftmp)) { QFall[1] = ftmp; } else { allOK = false; }
+ }
+
+ if (Program.WMsCount / 2 >= 3)
+ {
+ MainStateText[2] = mainState3TextBox.Text;
+ AuxStateText[2] = auxState3TextBox.Text;
+ if (Utils.TryParseUFloat(qRise3TextBox.Text, out ftmp)) { QRise[2] = ftmp; } else { allOK = false; }
+ if (Utils.TryParseUFloat(qFall3TextBox.Text, out ftmp)) { QFall[2] = ftmp; } else { allOK = false; }
+ }
+
+ if (radioButton1.Checked) ProtocolTitle = ProtocolName1;
else if (radioButton2.Checked) ProtocolTitle = ProtocolName2;
else if (radioButton3.Checked) ProtocolTitle = ProtocolName3;
- completed = true;
- Close();
+ if (allOK)
+ {
+ completed = true;
+ Close();
+ }
}
}
}
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.resx b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.resx
index 1af7de150..e2e65bced 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.resx
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/CycleEndForm.resx
@@ -117,4 +117,103 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
\ No newline at end of file
diff --git a/TestBenchFramework/BenchControl/DataEntry/Munich/EntryForm.cs b/TestBenchFramework/BenchControl/DataEntry/Munich/EntryForm.cs
index 18715f75a..55d55e68b 100644
--- a/TestBenchFramework/BenchControl/DataEntry/Munich/EntryForm.cs
+++ b/TestBenchFramework/BenchControl/DataEntry/Munich/EntryForm.cs
@@ -16,12 +16,6 @@ namespace TBF.BenchControl.DataEntry.Munich
///
/// Properties set by the Begin and the End form
///
- public string MainBeginStateText { get { return mainBeginStateText; } }
- string mainBeginStateText;
-
- public string AuxBeginStateText { get { return auxBeginStateText; } }
- string auxBeginStateText;
-
public string ProtocolTitle { get { return protocolTitle; } }
string protocolTitle;
@@ -32,11 +26,11 @@ namespace TBF.BenchControl.DataEntry.Munich
public float WMState(int wmNr) { return 0; }
- System.Windows.Forms.Form modelessDlg;
+ System.Windows.Forms.Form mdlessDlg;
bool resultSaved;
- IList waterMeters;
+ IList wMeters;
public enum CurrentOp
{
@@ -61,7 +55,7 @@ namespace TBF.BenchControl.DataEntry.Munich
{
if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
currentOp = CurrentOp.ShowFormAtCycleBeginning;
- this.waterMeters = waterMeters;
+ this.wMeters = waterMeters;
return this;
}
@@ -70,7 +64,7 @@ namespace TBF.BenchControl.DataEntry.Munich
{
if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
currentOp = CurrentOp.ShowFormAtCycleEnd;
- this.waterMeters = waterMeters;
+ this.wMeters = waterMeters;
return this;
}
@@ -90,8 +84,8 @@ namespace TBF.BenchControl.DataEntry.Munich
///
void OpenBeginningDlg(EntryForm myRef)
{
- myRef.modelessDlg = new CycleBeginningForm();
- modelessDlg.Show();
+ myRef.mdlessDlg = new CycleBeginningForm();
+ mdlessDlg.Show();
}
///
void OpenEndDlg(EntryForm myRef)
@@ -100,8 +94,8 @@ namespace TBF.BenchControl.DataEntry.Munich
endForm.ProtocolName1 = entryFormCfg.ProtocolTitle1;
endForm.ProtocolName2 = entryFormCfg.ProtocolTitle2;
endForm.ProtocolName3 = entryFormCfg.ProtocolTitle3;
- myRef.modelessDlg = endForm;
- modelessDlg.Show();
+ myRef.mdlessDlg = endForm;
+ mdlessDlg.Show();
}
/// Start this operation
@@ -123,37 +117,31 @@ namespace TBF.BenchControl.DataEntry.Munich
/// Event.ResultsPrinted
public Event Run()
{
- if (!(modelessDlg as IHasCompleted).Completed)
+ if (!(mdlessDlg as IHasCompleted).Completed)
{
return Event.None; /// Return 'None' when form was not closed yet
}
if (!resultSaved) /// This is to save the result only once
{
- if (modelessDlg is CycleBeginningForm)
+ if (mdlessDlg is CycleBeginningForm)
{
- if (waterMeters.Count >= 1 && waterMeters[0] != null)
- {
- mainBeginStateText = (modelessDlg as CycleBeginningForm).MainStateText;
- waterMeters[0].SerialNr = (modelessDlg as CycleBeginningForm).MainSNText;
- }
- if (waterMeters.Count >= 2 && waterMeters[1] != null)
- {
- auxBeginStateText = (modelessDlg as CycleBeginningForm).AuxStateText;
- waterMeters[1].SerialNr = (modelessDlg as CycleBeginningForm).AuxSNText;
- }
+ if (wMeters.Count >= 2 && wMeters[0] != null) wMeters[0].SerialNr = (mdlessDlg as CycleBeginningForm).MainSNText[0];
+ if (wMeters.Count >= 2 && wMeters[1] != null) wMeters[1].SerialNr = (mdlessDlg as CycleBeginningForm).AuxSNText[0];
+ if (wMeters.Count >= 4 && wMeters[2] != null) wMeters[2].SerialNr = (mdlessDlg as CycleBeginningForm).MainSNText[1];
+ if (wMeters.Count >= 4 && wMeters[3] != null) wMeters[3].SerialNr = (mdlessDlg as CycleBeginningForm).AuxSNText[1];
+ if (wMeters.Count >= 6 && wMeters[4] != null) wMeters[4].SerialNr = (mdlessDlg as CycleBeginningForm).MainSNText[2];
+ if (wMeters.Count >= 6 && wMeters[5] != null) wMeters[5].SerialNr = (mdlessDlg as CycleBeginningForm).AuxSNText[2];
}
else
{
- if (waterMeters.Count >= 1 && waterMeters[0] != null)
- {
- waterMeters[0].EndState = (modelessDlg as CycleEndForm).MainStateText;
- }
- if (waterMeters.Count >= 2 && waterMeters[1] != null)
- {
- waterMeters[1].EndState = (modelessDlg as CycleEndForm).AuxStateText;
- }
- protocolTitle = (modelessDlg as CycleEndForm).ProtocolTitle;
+ if (wMeters.Count >= 2 && wMeters[0] != null) wMeters[0].EndState = (mdlessDlg as CycleEndForm).MainStateText[0];
+ if (wMeters.Count >= 2 && wMeters[1] != null) wMeters[1].EndState = (mdlessDlg as CycleEndForm).AuxStateText[0];
+ if (wMeters.Count >= 4 && wMeters[2] != null) wMeters[2].EndState = (mdlessDlg as CycleEndForm).MainStateText[1];
+ if (wMeters.Count >= 4 && wMeters[3] != null) wMeters[3].EndState = (mdlessDlg as CycleEndForm).AuxStateText[1];
+ if (wMeters.Count >= 6 && wMeters[4] != null) wMeters[4].EndState = (mdlessDlg as CycleEndForm).MainStateText[2];
+ if (wMeters.Count >= 6 && wMeters[5] != null) wMeters[5].EndState = (mdlessDlg as CycleEndForm).AuxStateText[2];
+ protocolTitle = (mdlessDlg as CycleEndForm).ProtocolTitle;
}
resultSaved = true;
}
@@ -164,7 +152,7 @@ namespace TBF.BenchControl.DataEntry.Munich
/// Stop this operation
public void Stop()
{
- modelessDlg = null;
+ mdlessDlg = null;
currentOp = CurrentOp.None;
}
diff --git a/TestBenchFramework/BenchControl/ResultsPrinters/Basic/BasicPrintDocument.cs b/TestBenchFramework/BenchControl/ResultsPrinters/Basic/BasicPrintDocument.cs
index b4d4d2233..9d641cd8d 100644
--- a/TestBenchFramework/BenchControl/ResultsPrinters/Basic/BasicPrintDocument.cs
+++ b/TestBenchFramework/BenchControl/ResultsPrinters/Basic/BasicPrintDocument.cs
@@ -17,14 +17,20 @@ namespace TBF.BenchControl.ResultsPrinters.Basic
}
Font font;
- ///
+ ///
/// Data to print
- ///
+ ///
BenchControl.BenchId.Component benchId;
IList waterMeters;
IList results;
string title;
+ ///
+ /// Items to print
+ ///
+ readonly IList rsltItems_Printer_SingleWM;
+ readonly IList rsltItems_Printer_CombinedWM;
+
///
/// Constructor
///
@@ -38,6 +44,8 @@ namespace TBF.BenchControl.ResultsPrinters.Basic
this.waterMeters = waterMeters;
this.results = results;
this.title = title;
+ rsltItems_Printer_SingleWM = Forms.ResultItemSpec.FromStrArray(Program.LocalSettings.RsltItems_Printer_SingleWM);
+ rsltItems_Printer_CombinedWM = Forms.ResultItemSpec.FromStrArray(Program.LocalSettings.RsltItems_Printer_CombinedWM);
}
///
diff --git a/TestBenchFramework/Resources/Strings.Designer.cs b/TestBenchFramework/Resources/Strings.Designer.cs
index efe5a151d..e37af8259 100644
--- a/TestBenchFramework/Resources/Strings.Designer.cs
+++ b/TestBenchFramework/Resources/Strings.Designer.cs
@@ -141,6 +141,33 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Aux Water Meter.
+ ///
+ internal static string Aux_Water_Meter {
+ get {
+ return ResourceManager.GetString("Aux_Water_Meter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Aux. WM State.
+ ///
+ internal static string Aux_Water_Meter_State {
+ get {
+ return ResourceManager.GetString("Aux_Water_Meter_State", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Aux. WM Serial Nr..
+ ///
+ internal static string Aux_WM_SerialNr {
+ get {
+ return ResourceManager.GetString("Aux_WM_SerialNr", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Available results:.
///
@@ -411,6 +438,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Data.
+ ///
+ internal static string Data {
+ get {
+ return ResourceManager.GetString("Data", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Database type.
///
@@ -591,6 +627,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to End State.
+ ///
+ internal static string End_State {
+ get {
+ return ResourceManager.GetString("End_State", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Enter password.
///
@@ -852,6 +897,33 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Main Water Meter.
+ ///
+ internal static string Main_Water_Meter {
+ get {
+ return ResourceManager.GetString("Main_Water_Meter", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Main WM State.
+ ///
+ internal static string Main_Water_Meter_State {
+ get {
+ return ResourceManager.GetString("Main_Water_Meter_State", resourceCulture);
+ }
+ }
+
+ ///
+ /// Looks up a localized string similar to Main WM Serial Nr..
+ ///
+ internal static string Main_WM_SerialNr {
+ get {
+ return ResourceManager.GetString("Main_WM_SerialNr", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Maintenance Specialist.
///
@@ -1392,6 +1464,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Protocol.
+ ///
+ internal static string Protocol {
+ get {
+ return ResourceManager.GetString("Protocol", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Pulses per liter.
///
@@ -1482,6 +1563,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Qfall.
+ ///
+ internal static string Qfall {
+ get {
+ return ResourceManager.GetString("Qfall", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Qn.
///
@@ -1491,6 +1581,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Qrise.
+ ///
+ internal static string Qrise {
+ get {
+ return ResourceManager.GetString("Qrise", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Question.
///
@@ -1707,6 +1806,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Serial Number.
+ ///
+ internal static string Serial_Number {
+ get {
+ return ResourceManager.GetString("Serial_Number", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Set flow.
///
@@ -1788,6 +1896,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to State.
+ ///
+ internal static string State {
+ get {
+ return ResourceManager.GetString("State", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to Stop the pump.
///
@@ -1851,6 +1968,15 @@ namespace TBF.Resources {
}
}
+ ///
+ /// Looks up a localized string similar to Switching Points.
+ ///
+ internal static string Switching_Points {
+ get {
+ return ResourceManager.GetString("Switching_Points", resourceCulture);
+ }
+ }
+
///
/// Looks up a localized string similar to T div..
///
diff --git a/TestBenchFramework/Resources/Strings.de.resx b/TestBenchFramework/Resources/Strings.de.resx
index cf843ac96..ec4b1687c 100644
--- a/TestBenchFramework/Resources/Strings.de.resx
+++ b/TestBenchFramework/Resources/Strings.de.resx
@@ -786,4 +786,46 @@
Teil
+
+ Nebenzähler
+
+
+ Eindstand
+
+
+ Hauptzähler
+
+
+ Protokoll
+
+
+ Qfall
+
+
+ Qsteig
+
+
+ Seriennummer
+
+
+ Stand
+
+
+ Umschaltpunkte
+
+
+ Daten
+
+
+ Nebenzählerstand
+
+
+ Hauptzählerstand
+
+
+ Nebenzählerseriennummer
+
+
+ Hauptzählerseriennummer
+
\ No newline at end of file
diff --git a/TestBenchFramework/Resources/Strings.resx b/TestBenchFramework/Resources/Strings.resx
index f59b67db9..5225334fa 100644
--- a/TestBenchFramework/Resources/Strings.resx
+++ b/TestBenchFramework/Resources/Strings.resx
@@ -901,4 +901,46 @@
Single
+
+ Aux Water Meter
+
+
+ Aux. WM State
+
+
+ Data
+
+
+ End State
+
+
+ Main Water Meter
+
+
+ Main WM State
+
+
+ Protocol
+
+
+ Qfall
+
+
+ Qrise
+
+
+ Serial Number
+
+
+ State
+
+
+ Switching Points
+
+
+ Aux. WM Serial Nr.
+
+
+ Main WM Serial Nr.
+
\ No newline at end of file
diff --git a/TestBenchFramework/Utils.cs b/TestBenchFramework/Utils.cs
index 99987a880..d1ff0a870 100644
--- a/TestBenchFramework/Utils.cs
+++ b/TestBenchFramework/Utils.cs
@@ -78,8 +78,7 @@ namespace TBF
string[] vOpen = entity.ValvesOpen.Split(new char[] { ';' });
foreach (var vName in vOpen)
{
- valvesOpen.Add((BenchControl.GenericDevices.IValve)BenchControl
- .TbfComponents.FindComponent(vName));
+ valvesOpen.Add((BenchControl.GenericDevices.IValve)BenchControl.TbfComponents.FindComponent(vName));
}
}
return valvesOpen;
@@ -98,8 +97,7 @@ namespace TBF
string[] vClose = entity.ValvesClose.Split(new char[] { ';' });
foreach (var vName in vClose)
{
- valvesClose.Add((BenchControl.GenericDevices.IValve)BenchControl
- .TbfComponents.FindComponent(vName));
+ valvesClose.Add((BenchControl.GenericDevices.IValve)BenchControl.TbfComponents.FindComponent(vName));
}
}
return valvesClose;
@@ -166,10 +164,10 @@ namespace TBF
}
///
- /// Converts a float number to a string with the specified number of valid digits
+ /// Converts float number to a string with the specified number of valid digits
///
/// Float value to be converted to a string
- /// # of valid digits: 4, 3, or 2 (otherwise full precision number is printed)
+ /// Number of valid digits: 4, 3, or 2 (otherwise a full precision number is printed)
/// String representation of the float number
public static string FloatToStr(float value, int validDigits)
{