diff --git a/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.Designer.cs b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.Designer.cs
new file mode 100644
index 000000000..796c6d0f9
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.Designer.cs
@@ -0,0 +1,794 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+namespace TBF.BenchControl.DataEntry.Single
+{
+ partial class CycleBeginningForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CycleBeginningForm));
+ this.okButton = new System.Windows.Forms.Button();
+ this.orderGroupBox = new System.Windows.Forms.GroupBox();
+ this.orderComboBox = new System.Windows.Forms.ComboBox();
+ this.clearButton = new System.Windows.Forms.Button();
+ this.label1 = new System.Windows.Forms.Label();
+ this.comboBox1 = new System.Windows.Forms.ComboBox();
+ this.checkBox1 = new System.Windows.Forms.CheckBox();
+ this.checkBox2 = new System.Windows.Forms.CheckBox();
+ this.comboBox2 = new System.Windows.Forms.ComboBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.checkBox3 = new System.Windows.Forms.CheckBox();
+ this.comboBox3 = new System.Windows.Forms.ComboBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.checkBox4 = new System.Windows.Forms.CheckBox();
+ this.comboBox4 = new System.Windows.Forms.ComboBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.checkBox5 = new System.Windows.Forms.CheckBox();
+ this.comboBox5 = new System.Windows.Forms.ComboBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.checkBox6 = new System.Windows.Forms.CheckBox();
+ this.comboBox6 = new System.Windows.Forms.ComboBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.checkBox7 = new System.Windows.Forms.CheckBox();
+ this.comboBox7 = new System.Windows.Forms.ComboBox();
+ this.label7 = new System.Windows.Forms.Label();
+ this.checkBox8 = new System.Windows.Forms.CheckBox();
+ this.comboBox8 = new System.Windows.Forms.ComboBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.checkBox9 = new System.Windows.Forms.CheckBox();
+ this.comboBox9 = new System.Windows.Forms.ComboBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.checkBox10 = new System.Windows.Forms.CheckBox();
+ this.comboBox10 = new System.Windows.Forms.ComboBox();
+ this.label10 = new System.Windows.Forms.Label();
+ this.checkBox11 = new System.Windows.Forms.CheckBox();
+ this.comboBox11 = new System.Windows.Forms.ComboBox();
+ this.label11 = new System.Windows.Forms.Label();
+ this.checkBox12 = new System.Windows.Forms.CheckBox();
+ this.comboBox12 = new System.Windows.Forms.ComboBox();
+ this.label12 = new System.Windows.Forms.Label();
+ this.checkBox13 = new System.Windows.Forms.CheckBox();
+ this.comboBox13 = new System.Windows.Forms.ComboBox();
+ this.label13 = new System.Windows.Forms.Label();
+ this.checkBox14 = new System.Windows.Forms.CheckBox();
+ this.comboBox14 = new System.Windows.Forms.ComboBox();
+ this.label14 = new System.Windows.Forms.Label();
+ this.checkBox15 = new System.Windows.Forms.CheckBox();
+ this.comboBox15 = new System.Windows.Forms.ComboBox();
+ this.label15 = new System.Windows.Forms.Label();
+ this.checkBox16 = new System.Windows.Forms.CheckBox();
+ this.comboBox16 = new System.Windows.Forms.ComboBox();
+ this.label16 = new System.Windows.Forms.Label();
+ this.checkBox17 = new System.Windows.Forms.CheckBox();
+ this.comboBox17 = new System.Windows.Forms.ComboBox();
+ this.label17 = new System.Windows.Forms.Label();
+ this.checkBox18 = new System.Windows.Forms.CheckBox();
+ this.comboBox18 = new System.Windows.Forms.ComboBox();
+ this.label18 = new System.Windows.Forms.Label();
+ this.checkBox19 = new System.Windows.Forms.CheckBox();
+ this.comboBox19 = new System.Windows.Forms.ComboBox();
+ this.label19 = new System.Windows.Forms.Label();
+ this.checkBox20 = new System.Windows.Forms.CheckBox();
+ this.comboBox20 = new System.Windows.Forms.ComboBox();
+ this.label20 = new System.Windows.Forms.Label();
+ this.checkBox21 = new System.Windows.Forms.CheckBox();
+ this.comboBox21 = new System.Windows.Forms.ComboBox();
+ this.label21 = new System.Windows.Forms.Label();
+ this.checkBox22 = new System.Windows.Forms.CheckBox();
+ this.comboBox22 = new System.Windows.Forms.ComboBox();
+ this.label22 = new System.Windows.Forms.Label();
+ this.checkBox23 = new System.Windows.Forms.CheckBox();
+ this.comboBox23 = new System.Windows.Forms.ComboBox();
+ this.label23 = new System.Windows.Forms.Label();
+ this.checkBox24 = new System.Windows.Forms.CheckBox();
+ this.comboBox24 = new System.Windows.Forms.ComboBox();
+ this.label24 = new System.Windows.Forms.Label();
+ this.orderGroupBox.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // okButton
+ //
+ resources.ApplyResources(this.okButton, "okButton");
+ this.okButton.ForeColor = System.Drawing.Color.Black;
+ this.okButton.Name = "okButton";
+ this.okButton.UseVisualStyleBackColor = true;
+ this.okButton.Click += new System.EventHandler(this.okButton_Click);
+ //
+ // orderGroupBox
+ //
+ this.orderGroupBox.Controls.Add(this.orderComboBox);
+ resources.ApplyResources(this.orderGroupBox, "orderGroupBox");
+ this.orderGroupBox.ForeColor = System.Drawing.Color.Black;
+ this.orderGroupBox.Name = "orderGroupBox";
+ this.orderGroupBox.TabStop = false;
+ //
+ // orderComboBox
+ //
+ this.orderComboBox.FormattingEnabled = true;
+ resources.ApplyResources(this.orderComboBox, "orderComboBox");
+ this.orderComboBox.Name = "orderComboBox";
+ //
+ // clearButton
+ //
+ resources.ApplyResources(this.clearButton, "clearButton");
+ this.clearButton.ForeColor = System.Drawing.Color.Black;
+ this.clearButton.Name = "clearButton";
+ this.clearButton.UseVisualStyleBackColor = true;
+ this.clearButton.Click += new System.EventHandler(this.clearButton_Click);
+ //
+ // label1
+ //
+ resources.ApplyResources(this.label1, "label1");
+ this.label1.Name = "label1";
+ //
+ // comboBox1
+ //
+ resources.ApplyResources(this.comboBox1, "comboBox1");
+ this.comboBox1.FormattingEnabled = true;
+ this.comboBox1.Name = "comboBox1";
+ this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
+ this.comboBox1.TextChanged += new System.EventHandler(this.comboBox1_TextChanged);
+ this.comboBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox1_KeyPress);
+ //
+ // checkBox1
+ //
+ resources.ApplyResources(this.checkBox1, "checkBox1");
+ this.checkBox1.Name = "checkBox1";
+ this.checkBox1.UseVisualStyleBackColor = true;
+ //
+ // checkBox2
+ //
+ resources.ApplyResources(this.checkBox2, "checkBox2");
+ this.checkBox2.Name = "checkBox2";
+ this.checkBox2.UseVisualStyleBackColor = true;
+ //
+ // comboBox2
+ //
+ resources.ApplyResources(this.comboBox2, "comboBox2");
+ this.comboBox2.FormattingEnabled = true;
+ this.comboBox2.Name = "comboBox2";
+ this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
+ this.comboBox2.TextChanged += new System.EventHandler(this.comboBox2_TextChanged);
+ this.comboBox2.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox2_KeyPress);
+ //
+ // label2
+ //
+ resources.ApplyResources(this.label2, "label2");
+ this.label2.Name = "label2";
+ //
+ // checkBox3
+ //
+ resources.ApplyResources(this.checkBox3, "checkBox3");
+ this.checkBox3.Name = "checkBox3";
+ this.checkBox3.UseVisualStyleBackColor = true;
+ //
+ // comboBox3
+ //
+ resources.ApplyResources(this.comboBox3, "comboBox3");
+ this.comboBox3.FormattingEnabled = true;
+ this.comboBox3.Name = "comboBox3";
+ this.comboBox3.SelectedIndexChanged += new System.EventHandler(this.comboBox3_SelectedIndexChanged);
+ this.comboBox3.TextChanged += new System.EventHandler(this.comboBox3_TextChanged);
+ this.comboBox3.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox3_KeyPress);
+ //
+ // label3
+ //
+ resources.ApplyResources(this.label3, "label3");
+ this.label3.Name = "label3";
+ //
+ // checkBox4
+ //
+ resources.ApplyResources(this.checkBox4, "checkBox4");
+ this.checkBox4.Name = "checkBox4";
+ this.checkBox4.UseVisualStyleBackColor = true;
+ //
+ // comboBox4
+ //
+ resources.ApplyResources(this.comboBox4, "comboBox4");
+ this.comboBox4.FormattingEnabled = true;
+ this.comboBox4.Name = "comboBox4";
+ this.comboBox4.SelectedIndexChanged += new System.EventHandler(this.comboBox4_SelectedIndexChanged);
+ this.comboBox4.TextChanged += new System.EventHandler(this.comboBox4_TextChanged);
+ this.comboBox4.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox4_KeyPress);
+ //
+ // label4
+ //
+ resources.ApplyResources(this.label4, "label4");
+ this.label4.Name = "label4";
+ //
+ // checkBox5
+ //
+ resources.ApplyResources(this.checkBox5, "checkBox5");
+ this.checkBox5.Name = "checkBox5";
+ this.checkBox5.UseVisualStyleBackColor = true;
+ //
+ // comboBox5
+ //
+ resources.ApplyResources(this.comboBox5, "comboBox5");
+ this.comboBox5.FormattingEnabled = true;
+ this.comboBox5.Name = "comboBox5";
+ this.comboBox5.SelectedIndexChanged += new System.EventHandler(this.comboBox5_SelectedIndexChanged);
+ this.comboBox5.TextChanged += new System.EventHandler(this.comboBox5_TextChanged);
+ this.comboBox5.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox5_KeyPress);
+ //
+ // label5
+ //
+ resources.ApplyResources(this.label5, "label5");
+ this.label5.Name = "label5";
+ //
+ // checkBox6
+ //
+ resources.ApplyResources(this.checkBox6, "checkBox6");
+ this.checkBox6.Name = "checkBox6";
+ this.checkBox6.UseVisualStyleBackColor = true;
+ //
+ // comboBox6
+ //
+ resources.ApplyResources(this.comboBox6, "comboBox6");
+ this.comboBox6.FormattingEnabled = true;
+ this.comboBox6.Name = "comboBox6";
+ this.comboBox6.SelectedIndexChanged += new System.EventHandler(this.comboBox6_SelectedIndexChanged);
+ this.comboBox6.TextChanged += new System.EventHandler(this.comboBox6_TextChanged);
+ this.comboBox6.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox6_KeyPress);
+ //
+ // label6
+ //
+ resources.ApplyResources(this.label6, "label6");
+ this.label6.Name = "label6";
+ //
+ // checkBox7
+ //
+ resources.ApplyResources(this.checkBox7, "checkBox7");
+ this.checkBox7.Name = "checkBox7";
+ this.checkBox7.UseVisualStyleBackColor = true;
+ //
+ // comboBox7
+ //
+ resources.ApplyResources(this.comboBox7, "comboBox7");
+ this.comboBox7.FormattingEnabled = true;
+ this.comboBox7.Name = "comboBox7";
+ this.comboBox7.SelectedIndexChanged += new System.EventHandler(this.comboBox7_SelectedIndexChanged);
+ this.comboBox7.TextChanged += new System.EventHandler(this.comboBox7_TextChanged);
+ this.comboBox7.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox7_KeyPress);
+ //
+ // label7
+ //
+ resources.ApplyResources(this.label7, "label7");
+ this.label7.Name = "label7";
+ //
+ // checkBox8
+ //
+ resources.ApplyResources(this.checkBox8, "checkBox8");
+ this.checkBox8.Name = "checkBox8";
+ this.checkBox8.UseVisualStyleBackColor = true;
+ //
+ // comboBox8
+ //
+ resources.ApplyResources(this.comboBox8, "comboBox8");
+ this.comboBox8.FormattingEnabled = true;
+ this.comboBox8.Name = "comboBox8";
+ this.comboBox8.SelectedIndexChanged += new System.EventHandler(this.comboBox8_SelectedIndexChanged);
+ this.comboBox8.TextChanged += new System.EventHandler(this.comboBox8_TextChanged);
+ this.comboBox8.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox8_KeyPress);
+ //
+ // label8
+ //
+ resources.ApplyResources(this.label8, "label8");
+ this.label8.Name = "label8";
+ //
+ // checkBox9
+ //
+ resources.ApplyResources(this.checkBox9, "checkBox9");
+ this.checkBox9.Name = "checkBox9";
+ this.checkBox9.UseVisualStyleBackColor = true;
+ //
+ // comboBox9
+ //
+ resources.ApplyResources(this.comboBox9, "comboBox9");
+ this.comboBox9.FormattingEnabled = true;
+ this.comboBox9.Name = "comboBox9";
+ this.comboBox9.SelectedIndexChanged += new System.EventHandler(this.comboBox9_SelectedIndexChanged);
+ this.comboBox9.TextChanged += new System.EventHandler(this.comboBox9_TextChanged);
+ this.comboBox9.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox9_KeyPress);
+ //
+ // label9
+ //
+ resources.ApplyResources(this.label9, "label9");
+ this.label9.Name = "label9";
+ //
+ // checkBox10
+ //
+ resources.ApplyResources(this.checkBox10, "checkBox10");
+ this.checkBox10.Name = "checkBox10";
+ this.checkBox10.UseVisualStyleBackColor = true;
+ //
+ // comboBox10
+ //
+ resources.ApplyResources(this.comboBox10, "comboBox10");
+ this.comboBox10.FormattingEnabled = true;
+ this.comboBox10.Name = "comboBox10";
+ this.comboBox10.SelectedIndexChanged += new System.EventHandler(this.comboBox10_SelectedIndexChanged);
+ this.comboBox10.TextChanged += new System.EventHandler(this.comboBox10_TextChanged);
+ this.comboBox10.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox10_KeyPress);
+ //
+ // label10
+ //
+ resources.ApplyResources(this.label10, "label10");
+ this.label10.Name = "label10";
+ //
+ // checkBox11
+ //
+ resources.ApplyResources(this.checkBox11, "checkBox11");
+ this.checkBox11.Name = "checkBox11";
+ this.checkBox11.UseVisualStyleBackColor = true;
+ //
+ // comboBox11
+ //
+ resources.ApplyResources(this.comboBox11, "comboBox11");
+ this.comboBox11.FormattingEnabled = true;
+ this.comboBox11.Name = "comboBox11";
+ this.comboBox11.SelectedIndexChanged += new System.EventHandler(this.comboBox11_SelectedIndexChanged);
+ this.comboBox11.TextChanged += new System.EventHandler(this.comboBox11_TextChanged);
+ this.comboBox11.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox11_KeyPress);
+ //
+ // label11
+ //
+ resources.ApplyResources(this.label11, "label11");
+ this.label11.Name = "label11";
+ //
+ // checkBox12
+ //
+ resources.ApplyResources(this.checkBox12, "checkBox12");
+ this.checkBox12.Name = "checkBox12";
+ this.checkBox12.UseVisualStyleBackColor = true;
+ //
+ // comboBox12
+ //
+ resources.ApplyResources(this.comboBox12, "comboBox12");
+ this.comboBox12.FormattingEnabled = true;
+ this.comboBox12.Name = "comboBox12";
+ this.comboBox12.SelectedIndexChanged += new System.EventHandler(this.comboBox12_SelectedIndexChanged);
+ this.comboBox12.TextChanged += new System.EventHandler(this.comboBox12_TextChanged);
+ this.comboBox12.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox12_KeyPress);
+ //
+ // label12
+ //
+ resources.ApplyResources(this.label12, "label12");
+ this.label12.Name = "label12";
+ //
+ // checkBox13
+ //
+ resources.ApplyResources(this.checkBox13, "checkBox13");
+ this.checkBox13.Name = "checkBox13";
+ this.checkBox13.UseVisualStyleBackColor = true;
+ //
+ // comboBox13
+ //
+ resources.ApplyResources(this.comboBox13, "comboBox13");
+ this.comboBox13.FormattingEnabled = true;
+ this.comboBox13.Name = "comboBox13";
+ this.comboBox13.SelectedIndexChanged += new System.EventHandler(this.comboBox13_SelectedIndexChanged);
+ this.comboBox13.TextChanged += new System.EventHandler(this.comboBox13_TextChanged);
+ this.comboBox13.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox13_KeyPress);
+ //
+ // label13
+ //
+ resources.ApplyResources(this.label13, "label13");
+ this.label13.Name = "label13";
+ //
+ // checkBox14
+ //
+ resources.ApplyResources(this.checkBox14, "checkBox14");
+ this.checkBox14.Name = "checkBox14";
+ this.checkBox14.UseVisualStyleBackColor = true;
+ //
+ // comboBox14
+ //
+ resources.ApplyResources(this.comboBox14, "comboBox14");
+ this.comboBox14.FormattingEnabled = true;
+ this.comboBox14.Name = "comboBox14";
+ this.comboBox14.SelectedIndexChanged += new System.EventHandler(this.comboBox14_SelectedIndexChanged);
+ this.comboBox14.TextChanged += new System.EventHandler(this.comboBox14_TextChanged);
+ this.comboBox14.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox14_KeyPress);
+ //
+ // label14
+ //
+ resources.ApplyResources(this.label14, "label14");
+ this.label14.Name = "label14";
+ //
+ // checkBox15
+ //
+ resources.ApplyResources(this.checkBox15, "checkBox15");
+ this.checkBox15.Name = "checkBox15";
+ this.checkBox15.UseVisualStyleBackColor = true;
+ //
+ // comboBox15
+ //
+ resources.ApplyResources(this.comboBox15, "comboBox15");
+ this.comboBox15.FormattingEnabled = true;
+ this.comboBox15.Name = "comboBox15";
+ this.comboBox15.SelectedIndexChanged += new System.EventHandler(this.comboBox15_SelectedIndexChanged);
+ this.comboBox15.TextChanged += new System.EventHandler(this.comboBox15_TextChanged);
+ this.comboBox15.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox15_KeyPress);
+ //
+ // label15
+ //
+ resources.ApplyResources(this.label15, "label15");
+ this.label15.Name = "label15";
+ //
+ // checkBox16
+ //
+ resources.ApplyResources(this.checkBox16, "checkBox16");
+ this.checkBox16.Name = "checkBox16";
+ this.checkBox16.UseVisualStyleBackColor = true;
+ //
+ // comboBox16
+ //
+ resources.ApplyResources(this.comboBox16, "comboBox16");
+ this.comboBox16.FormattingEnabled = true;
+ this.comboBox16.Name = "comboBox16";
+ this.comboBox16.SelectedIndexChanged += new System.EventHandler(this.comboBox16_SelectedIndexChanged);
+ this.comboBox16.TextChanged += new System.EventHandler(this.comboBox16_TextChanged);
+ this.comboBox16.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox16_KeyPress);
+ //
+ // label16
+ //
+ resources.ApplyResources(this.label16, "label16");
+ this.label16.Name = "label16";
+ //
+ // checkBox17
+ //
+ resources.ApplyResources(this.checkBox17, "checkBox17");
+ this.checkBox17.Name = "checkBox17";
+ this.checkBox17.UseVisualStyleBackColor = true;
+ //
+ // comboBox17
+ //
+ resources.ApplyResources(this.comboBox17, "comboBox17");
+ this.comboBox17.FormattingEnabled = true;
+ this.comboBox17.Name = "comboBox17";
+ this.comboBox17.SelectedIndexChanged += new System.EventHandler(this.comboBox17_SelectedIndexChanged);
+ this.comboBox17.TextChanged += new System.EventHandler(this.comboBox17_TextChanged);
+ this.comboBox17.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox17_KeyPress);
+ //
+ // label17
+ //
+ resources.ApplyResources(this.label17, "label17");
+ this.label17.Name = "label17";
+ //
+ // checkBox18
+ //
+ resources.ApplyResources(this.checkBox18, "checkBox18");
+ this.checkBox18.Name = "checkBox18";
+ this.checkBox18.UseVisualStyleBackColor = true;
+ //
+ // comboBox18
+ //
+ resources.ApplyResources(this.comboBox18, "comboBox18");
+ this.comboBox18.FormattingEnabled = true;
+ this.comboBox18.Name = "comboBox18";
+ this.comboBox18.SelectedIndexChanged += new System.EventHandler(this.comboBox18_SelectedIndexChanged);
+ this.comboBox18.TextChanged += new System.EventHandler(this.comboBox18_TextChanged);
+ this.comboBox18.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox18_KeyPress);
+ //
+ // label18
+ //
+ resources.ApplyResources(this.label18, "label18");
+ this.label18.Name = "label18";
+ //
+ // checkBox19
+ //
+ resources.ApplyResources(this.checkBox19, "checkBox19");
+ this.checkBox19.Name = "checkBox19";
+ this.checkBox19.UseVisualStyleBackColor = true;
+ //
+ // comboBox19
+ //
+ resources.ApplyResources(this.comboBox19, "comboBox19");
+ this.comboBox19.FormattingEnabled = true;
+ this.comboBox19.Name = "comboBox19";
+ this.comboBox19.SelectedIndexChanged += new System.EventHandler(this.comboBox19_SelectedIndexChanged);
+ this.comboBox19.TextChanged += new System.EventHandler(this.comboBox19_TextChanged);
+ this.comboBox19.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox19_KeyPress);
+ //
+ // label19
+ //
+ resources.ApplyResources(this.label19, "label19");
+ this.label19.Name = "label19";
+ //
+ // checkBox20
+ //
+ resources.ApplyResources(this.checkBox20, "checkBox20");
+ this.checkBox20.Name = "checkBox20";
+ this.checkBox20.UseVisualStyleBackColor = true;
+ //
+ // comboBox20
+ //
+ resources.ApplyResources(this.comboBox20, "comboBox20");
+ this.comboBox20.FormattingEnabled = true;
+ this.comboBox20.Name = "comboBox20";
+ this.comboBox20.SelectedIndexChanged += new System.EventHandler(this.comboBox20_SelectedIndexChanged);
+ this.comboBox20.TextChanged += new System.EventHandler(this.comboBox20_TextChanged);
+ this.comboBox20.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox20_KeyPress);
+ //
+ // label20
+ //
+ resources.ApplyResources(this.label20, "label20");
+ this.label20.Name = "label20";
+ //
+ // checkBox21
+ //
+ resources.ApplyResources(this.checkBox21, "checkBox21");
+ this.checkBox21.Name = "checkBox21";
+ this.checkBox21.UseVisualStyleBackColor = true;
+ //
+ // comboBox21
+ //
+ resources.ApplyResources(this.comboBox21, "comboBox21");
+ this.comboBox21.FormattingEnabled = true;
+ this.comboBox21.Name = "comboBox21";
+ this.comboBox21.SelectedIndexChanged += new System.EventHandler(this.comboBox21_SelectedIndexChanged);
+ this.comboBox21.TextChanged += new System.EventHandler(this.comboBox21_TextChanged);
+ this.comboBox21.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox21_KeyPress);
+ //
+ // label21
+ //
+ resources.ApplyResources(this.label21, "label21");
+ this.label21.Name = "label21";
+ //
+ // checkBox22
+ //
+ resources.ApplyResources(this.checkBox22, "checkBox22");
+ this.checkBox22.Name = "checkBox22";
+ this.checkBox22.UseVisualStyleBackColor = true;
+ //
+ // comboBox22
+ //
+ resources.ApplyResources(this.comboBox22, "comboBox22");
+ this.comboBox22.FormattingEnabled = true;
+ this.comboBox22.Name = "comboBox22";
+ this.comboBox22.SelectedIndexChanged += new System.EventHandler(this.comboBox22_SelectedIndexChanged);
+ this.comboBox22.TextChanged += new System.EventHandler(this.comboBox22_TextChanged);
+ this.comboBox22.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox22_KeyPress);
+ //
+ // label22
+ //
+ resources.ApplyResources(this.label22, "label22");
+ this.label22.Name = "label22";
+ //
+ // checkBox23
+ //
+ resources.ApplyResources(this.checkBox23, "checkBox23");
+ this.checkBox23.Name = "checkBox23";
+ this.checkBox23.UseVisualStyleBackColor = true;
+ //
+ // comboBox23
+ //
+ resources.ApplyResources(this.comboBox23, "comboBox23");
+ this.comboBox23.FormattingEnabled = true;
+ this.comboBox23.Name = "comboBox23";
+ this.comboBox23.SelectedIndexChanged += new System.EventHandler(this.comboBox23_SelectedIndexChanged);
+ this.comboBox23.TextChanged += new System.EventHandler(this.comboBox23_TextChanged);
+ this.comboBox23.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox23_KeyPress);
+ //
+ // label23
+ //
+ resources.ApplyResources(this.label23, "label23");
+ this.label23.Name = "label23";
+ //
+ // checkBox24
+ //
+ resources.ApplyResources(this.checkBox24, "checkBox24");
+ this.checkBox24.Name = "checkBox24";
+ this.checkBox24.UseVisualStyleBackColor = true;
+ //
+ // comboBox24
+ //
+ resources.ApplyResources(this.comboBox24, "comboBox24");
+ this.comboBox24.FormattingEnabled = true;
+ this.comboBox24.Name = "comboBox24";
+ this.comboBox24.SelectedIndexChanged += new System.EventHandler(this.comboBox24_SelectedIndexChanged);
+ this.comboBox24.TextChanged += new System.EventHandler(this.comboBox24_TextChanged);
+ this.comboBox24.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.comboBox24_KeyPress);
+ //
+ // label24
+ //
+ resources.ApplyResources(this.label24, "label24");
+ this.label24.Name = "label24";
+ //
+ // CycleBeginningForm
+ //
+ resources.ApplyResources(this, "$this");
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.DarkGoldenrod;
+ this.Controls.Add(this.checkBox24);
+ this.Controls.Add(this.comboBox24);
+ this.Controls.Add(this.label24);
+ this.Controls.Add(this.checkBox23);
+ this.Controls.Add(this.comboBox23);
+ this.Controls.Add(this.label23);
+ this.Controls.Add(this.checkBox22);
+ this.Controls.Add(this.comboBox22);
+ this.Controls.Add(this.label22);
+ this.Controls.Add(this.checkBox21);
+ this.Controls.Add(this.comboBox21);
+ this.Controls.Add(this.label21);
+ this.Controls.Add(this.checkBox20);
+ this.Controls.Add(this.comboBox20);
+ this.Controls.Add(this.label20);
+ this.Controls.Add(this.checkBox19);
+ this.Controls.Add(this.comboBox19);
+ this.Controls.Add(this.label19);
+ this.Controls.Add(this.checkBox18);
+ this.Controls.Add(this.comboBox18);
+ this.Controls.Add(this.label18);
+ this.Controls.Add(this.checkBox17);
+ this.Controls.Add(this.comboBox17);
+ this.Controls.Add(this.label17);
+ this.Controls.Add(this.checkBox16);
+ this.Controls.Add(this.comboBox16);
+ this.Controls.Add(this.label16);
+ this.Controls.Add(this.checkBox15);
+ this.Controls.Add(this.comboBox15);
+ this.Controls.Add(this.label15);
+ this.Controls.Add(this.checkBox14);
+ this.Controls.Add(this.comboBox14);
+ this.Controls.Add(this.label14);
+ this.Controls.Add(this.checkBox13);
+ this.Controls.Add(this.comboBox13);
+ this.Controls.Add(this.label13);
+ this.Controls.Add(this.checkBox12);
+ this.Controls.Add(this.comboBox12);
+ this.Controls.Add(this.label12);
+ this.Controls.Add(this.checkBox11);
+ this.Controls.Add(this.comboBox11);
+ this.Controls.Add(this.label11);
+ this.Controls.Add(this.checkBox10);
+ this.Controls.Add(this.comboBox10);
+ this.Controls.Add(this.label10);
+ this.Controls.Add(this.checkBox9);
+ this.Controls.Add(this.comboBox9);
+ this.Controls.Add(this.label9);
+ this.Controls.Add(this.checkBox8);
+ this.Controls.Add(this.comboBox8);
+ this.Controls.Add(this.label8);
+ this.Controls.Add(this.checkBox7);
+ this.Controls.Add(this.comboBox7);
+ this.Controls.Add(this.label7);
+ this.Controls.Add(this.checkBox6);
+ this.Controls.Add(this.comboBox6);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.checkBox5);
+ this.Controls.Add(this.comboBox5);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.checkBox4);
+ this.Controls.Add(this.comboBox4);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.checkBox3);
+ this.Controls.Add(this.comboBox3);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.checkBox2);
+ this.Controls.Add(this.comboBox2);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.checkBox1);
+ this.Controls.Add(this.comboBox1);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.clearButton);
+ this.Controls.Add(this.orderGroupBox);
+ this.Controls.Add(this.okButton);
+ this.ForeColor = System.Drawing.Color.Black;
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Name = "CycleBeginningForm";
+ this.TopMost = true;
+ this.Load += new System.EventHandler(this.CycleBeginningForm_Load);
+ this.orderGroupBox.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Button okButton;
+ private System.Windows.Forms.GroupBox orderGroupBox;
+ private System.Windows.Forms.ComboBox orderComboBox;
+ private System.Windows.Forms.Button clearButton;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.ComboBox comboBox1;
+ private System.Windows.Forms.CheckBox checkBox1;
+ private System.Windows.Forms.CheckBox checkBox2;
+ private System.Windows.Forms.ComboBox comboBox2;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.CheckBox checkBox3;
+ private System.Windows.Forms.ComboBox comboBox3;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.CheckBox checkBox4;
+ private System.Windows.Forms.ComboBox comboBox4;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.CheckBox checkBox5;
+ private System.Windows.Forms.ComboBox comboBox5;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.CheckBox checkBox6;
+ private System.Windows.Forms.ComboBox comboBox6;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.CheckBox checkBox7;
+ private System.Windows.Forms.ComboBox comboBox7;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.CheckBox checkBox8;
+ private System.Windows.Forms.ComboBox comboBox8;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.CheckBox checkBox9;
+ private System.Windows.Forms.ComboBox comboBox9;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.CheckBox checkBox10;
+ private System.Windows.Forms.ComboBox comboBox10;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.CheckBox checkBox11;
+ private System.Windows.Forms.ComboBox comboBox11;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.CheckBox checkBox12;
+ private System.Windows.Forms.ComboBox comboBox12;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.CheckBox checkBox13;
+ private System.Windows.Forms.ComboBox comboBox13;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.CheckBox checkBox14;
+ private System.Windows.Forms.ComboBox comboBox14;
+ private System.Windows.Forms.Label label14;
+ private System.Windows.Forms.CheckBox checkBox15;
+ private System.Windows.Forms.ComboBox comboBox15;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.CheckBox checkBox16;
+ private System.Windows.Forms.ComboBox comboBox16;
+ private System.Windows.Forms.Label label16;
+ private System.Windows.Forms.CheckBox checkBox17;
+ private System.Windows.Forms.ComboBox comboBox17;
+ private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.CheckBox checkBox18;
+ private System.Windows.Forms.ComboBox comboBox18;
+ private System.Windows.Forms.Label label18;
+ private System.Windows.Forms.CheckBox checkBox19;
+ private System.Windows.Forms.ComboBox comboBox19;
+ private System.Windows.Forms.Label label19;
+ private System.Windows.Forms.CheckBox checkBox20;
+ private System.Windows.Forms.ComboBox comboBox20;
+ private System.Windows.Forms.Label label20;
+ private System.Windows.Forms.CheckBox checkBox21;
+ private System.Windows.Forms.ComboBox comboBox21;
+ private System.Windows.Forms.Label label21;
+ private System.Windows.Forms.CheckBox checkBox22;
+ private System.Windows.Forms.ComboBox comboBox22;
+ private System.Windows.Forms.Label label22;
+ private System.Windows.Forms.CheckBox checkBox23;
+ private System.Windows.Forms.ComboBox comboBox23;
+ private System.Windows.Forms.Label label23;
+ private System.Windows.Forms.CheckBox checkBox24;
+ private System.Windows.Forms.ComboBox comboBox24;
+ private System.Windows.Forms.Label label24;
+ }
+}
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.cs b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.cs
new file mode 100644
index 000000000..4cabacd30
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.cs
@@ -0,0 +1,494 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+using log4net;
+using TBF.Resources;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public partial class CycleBeginningForm : Form, GenericDevices.IHasCompleted
+ {
+ private static readonly ILog log = LogManager.GetLogger(typeof(CycleBeginningForm));
+
+ /// Number of water meters
+ public readonly int WaterMetersCount;
+
+ /// To be retrieved after the form is closed
+ public string PurchaseOrder;
+ public string[] SNText;
+ public bool[] Disabled;
+
+ /// Set to 'true' when the form closes
+ public bool Completed { get { return completed; } }
+ bool completed;
+
+ /// Number of text boxes for serial numbers
+ int textBoxesCount;
+ Label[] labels;
+ ComboBox[] comboBoxes;
+ CheckBox[] checkBoxes;
+ IList enabledComboBoxes;
+
+
+ /// Parameterless constructor for common functionality
+ public CycleBeginningForm()
+ {
+ InitializeComponent();
+ ControlBox = false;
+
+ textBoxesCount = 24;
+ labels = new Label[]
+ {
+ label1, label2, label3, label4, label5, label6, label7, label8, label9, label10,
+ label11, label12, label13, label14, label15, label16, label17, label18, label19, label20,
+ label21, label22, label23, label24,
+ };
+ comboBoxes = new ComboBox[]
+ {
+ comboBox1, comboBox2, comboBox3, comboBox4, comboBox5, comboBox6,
+ comboBox7, comboBox8, comboBox9, comboBox10, comboBox11, comboBox12,
+ comboBox13, comboBox14, comboBox15, comboBox16, comboBox17, comboBox18,
+ comboBox19, comboBox20, comboBox21, comboBox22, comboBox23, comboBox24,
+ };
+ checkBoxes = new CheckBox[]
+ {
+ checkBox1, checkBox2, checkBox3, checkBox4, checkBox5, checkBox6,
+ checkBox7, checkBox8, checkBox9, checkBox10, checkBox11, checkBox12,
+ checkBox13, checkBox14, checkBox15, checkBox16, checkBox17, checkBox18,
+ checkBox19, checkBox20, checkBox21, checkBox22, checkBox23, checkBox24,
+ };
+ enabledComboBoxes = new List();
+
+ completed = false;
+ StartForceCloseHandler();
+ }
+
+ ///
+ /// Constructor
+ ///
+ /// Number of text boxes for serial numbers
+ public CycleBeginningForm(int waterMetersCount)
+ : this()
+ {
+ this.WaterMetersCount = waterMetersCount;
+ SNText = new string[WaterMetersCount];
+ Disabled = new bool[WaterMetersCount];
+
+ ShuffleTextBoxes(Config.Data.WMsCount, Config.Data.LineSize);
+
+ //Height = 147 + WaterMetersCount * 90;
+ }
+
+ ///
+ /// Make sure the layout of labels/text boxes on the screen
+ /// corresponds to the layout of watermeters of the test bench.
+ ///
+ /// Number of watermeters
+ /// Number of watermeters in one line
+ void ShuffleTextBoxes(int wmsCount, int lineSize)
+ {
+ if (wmsCount < textBoxesCount && lineSize > 0)
+ {
+ int nrLines = (wmsCount + lineSize - 1) / lineSize;
+ int gap = (textBoxesCount - wmsCount) / nrLines;
+
+ int dest = 0;
+ for (int l = 0; l < nrLines; l++)
+ {
+ for (int i = 0; i < lineSize; i++)
+ {
+ labels[dest] = labels[l * lineSize + l * gap + i];
+ comboBoxes[dest] = comboBoxes[l * lineSize + l * gap + i];
+ checkBoxes[dest] = checkBoxes[l * lineSize + l * gap + i];
+ dest++;
+ }
+ }
+ textBoxesCount = wmsCount;
+ }
+ }
+
+ private void CycleBeginningForm_Load(object sender, EventArgs e)
+ {
+ Localize();
+
+ PrepareOrderCombo(orderComboBox);
+
+ for (int i = 0; i < textBoxesCount; i++)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == textBoxesCount)
+ {
+ comboBoxes[i].Items.Add((Program.LocalSettings.LastSNTexts[i] == null) ? string.Empty : Program.LocalSettings.LastSNTexts[i]);
+ }
+ labels[i].Visible = comboBoxes[i].Visible = checkBoxes[i].Visible = true;
+ enabledComboBoxes.Add(comboBoxes[i]);
+ }
+ }
+
+ void Localize()
+ {
+ Text = Strings.Data;
+ orderGroupBox.Text = Strings.Purchase_order;
+ for (int i = 0; i < textBoxesCount; i++)
+ {
+ labels[i].Text = Strings.Serial_Number + " " + (i + 1).ToString();
+ }
+ okButton.Text = Strings.OkBtnText;
+ clearButton.Text = Strings.ClearBtnText;
+ }
+
+ ///
+ /// Load Purchase order combo box items from the LocalSettings PurchaseOrderHistory array
+ ///
+ /// Puchase order ComboBox
+ void PrepareOrderCombo(ComboBox orderComboBox)
+ {
+ for (int i = 0; i < Program.LocalSettings.PurchaseOrderHistoryCount; i++)
+ {
+ orderComboBox.Items.Add(Program.LocalSettings.PurchaseOrderHistory[i]);
+ }
+
+ if (orderComboBox.Items.Count > 0)
+ {
+ orderComboBox.Text = orderComboBox.Items[0].ToString();
+ }
+ }
+
+ private void okButton_Click(object sender, EventArgs e)
+ {
+ PurchaseOrder = orderComboBox.Text;
+ Program.LocalSettings.UpdateHistory(orderComboBox.Text,
+ ref Program.LocalSettings.PurchaseOrderHistory
+#if FUZHOU_150 || FUZHOU_300
+ , 20
+#endif
+ );
+
+ Program.LocalSettings.LastSNTexts = SNText;
+
+ for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++)
+ {
+ SNText[i] = comboBoxes[i].Text;
+ Disabled[i] = !checkBoxes[i].Checked;
+ }
+
+ completed = true;
+ Close();
+ }
+
+ ///
+ /// When one combo box is updated using drop-down menu, all combo boxes
+ /// are updated by this function.
+ ///
+ private void UpdateAllCombos()
+ {
+ for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++)
+ {
+ comboBoxes[i].Text = Program.LocalSettings.LastSNTexts[i];
+ checkBoxes[i].Checked = !string.IsNullOrEmpty(comboBoxes[i].Text);
+ }
+ }
+
+ private void clearButton_Click(object sender, EventArgs e)
+ {
+ for (int i = 0; i < Math.Min(WaterMetersCount, textBoxesCount); i++)
+ {
+ comboBoxes[i].Text = string.Empty;
+ checkBoxes[i].Checked = false;
+ }
+ }
+
+
+ private void comboBox1_TextChanged(object sender, EventArgs e) { checkBox1.Checked = true; }
+ private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox1.Text.Equals(comboBox1.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox2_TextChanged(object sender, EventArgs e) { checkBox2.Checked = true; }
+ private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox2.Text.Equals(comboBox2.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox3_TextChanged(object sender, EventArgs e) { checkBox3.Checked = true; }
+ private void comboBox3_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox3.Text.Equals(comboBox3.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox4_TextChanged(object sender, EventArgs e) { checkBox4.Checked = true; }
+ private void comboBox4_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox4.Text.Equals(comboBox4.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox5_TextChanged(object sender, EventArgs e) { checkBox5.Checked = true; }
+ private void comboBox5_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox5.Text.Equals(comboBox5.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox6_TextChanged(object sender, EventArgs e) { checkBox6.Checked = true; }
+ private void comboBox6_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox6.Text.Equals(comboBox6.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox7_TextChanged(object sender, EventArgs e) { checkBox7.Checked = true; }
+ private void comboBox7_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox7.Text.Equals(comboBox7.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox8_TextChanged(object sender, EventArgs e) { checkBox8.Checked = true; }
+ private void comboBox8_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox8.Text.Equals(comboBox8.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox9_TextChanged(object sender, EventArgs e) { checkBox9.Checked = true; }
+ private void comboBox9_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox9.Text.Equals(comboBox9.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox10_TextChanged(object sender, EventArgs e) { checkBox10.Checked = true; }
+ private void comboBox10_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox10.Text.Equals(comboBox10.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox11_TextChanged(object sender, EventArgs e) { checkBox11.Checked = true; }
+ private void comboBox11_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox11.Text.Equals(comboBox11.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox12_TextChanged(object sender, EventArgs e) { checkBox12.Checked = true; }
+ private void comboBox12_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox12.Text.Equals(comboBox12.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox13_TextChanged(object sender, EventArgs e) { checkBox13.Checked = true; }
+ private void comboBox13_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox13.Text.Equals(comboBox13.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox14_TextChanged(object sender, EventArgs e) { checkBox14.Checked = true; }
+ private void comboBox14_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox14.Text.Equals(comboBox14.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox15_TextChanged(object sender, EventArgs e) { checkBox15.Checked = true; }
+ private void comboBox15_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox15.Text.Equals(comboBox15.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox16_TextChanged(object sender, EventArgs e) { checkBox16.Checked = true; }
+ private void comboBox16_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox16.Text.Equals(comboBox16.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox17_TextChanged(object sender, EventArgs e) { checkBox17.Checked = true; }
+ private void comboBox17_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox17.Text.Equals(comboBox17.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox18_TextChanged(object sender, EventArgs e) { checkBox18.Checked = true; }
+ private void comboBox18_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox18.Text.Equals(comboBox18.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox19_TextChanged(object sender, EventArgs e) { checkBox19.Checked = true; }
+ private void comboBox19_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox19.Text.Equals(comboBox19.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox20_TextChanged(object sender, EventArgs e) { checkBox20.Checked = true; }
+ private void comboBox20_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox20.Text.Equals(comboBox20.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox21_TextChanged(object sender, EventArgs e) { checkBox21.Checked = true; }
+ private void comboBox21_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox21.Text.Equals(comboBox21.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox22_TextChanged(object sender, EventArgs e) { checkBox22.Checked = true; }
+ private void comboBox22_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox22.Text.Equals(comboBox22.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox23_TextChanged(object sender, EventArgs e) { checkBox23.Checked = true; }
+ private void comboBox23_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox23.Text.Equals(comboBox23.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ private void comboBox24_TextChanged(object sender, EventArgs e) { checkBox24.Checked = true; }
+ private void comboBox24_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (Program.LocalSettings.LastSNTextsCount == WaterMetersCount)
+ {
+ if (comboBox24.Text.Equals(comboBox24.Items[0])) UpdateAllCombos();
+ }
+ }
+
+ #region Forced close handling
+
+ public void StartForceCloseHandler()
+ {
+ UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args)
+ {
+ if (InvokeRequired) { Invoke(new EventHandler(OnForceClose), sender, args); }
+ else OnForceClose(sender, args);
+ };
+ }
+
+ private void OnForceClose(object sender, EventArgs args)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+
+ #endregion
+
+ ///
+ /// Process a key press within any enabled text boxe
+ ///
+ ///
+ ///
+ /// TextBox control which received the event
+ private void ProcKeyPress(object sender, KeyPressEventArgs e, ComboBox currentFocusOwner)
+ {
+ if (e.KeyChar == '+')
+ {
+ /// Process '+' key ..... Form completed
+ okButton_Click(sender, e);
+ }
+ if (e.KeyChar == '\r')
+ {
+ /// Process key ..... Next text field
+ if (enabledComboBoxes.Count < 2) return; /// There is just one enabled textbox
+
+ for (int i = 0; i < enabledComboBoxes.Count; i++)
+ {
+ if (enabledComboBoxes[i] == currentFocusOwner)
+ {
+ /// Change focus to the next enabled text box
+ enabledComboBoxes[(i + 1) % enabledComboBoxes.Count].Focus();
+ return;
+ }
+ }
+ }
+ }
+
+ private void comboBox1_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox1); }
+ private void comboBox2_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox2); }
+ private void comboBox3_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox3); }
+ private void comboBox4_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox4); }
+ private void comboBox5_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox5); }
+ private void comboBox6_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox6); }
+ private void comboBox7_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox7); }
+ private void comboBox8_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox8); }
+ private void comboBox9_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox9); }
+ private void comboBox10_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox10); }
+ private void comboBox11_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox11); }
+ private void comboBox12_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox12); }
+ private void comboBox13_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox13); }
+ private void comboBox14_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox14); }
+ private void comboBox15_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox15); }
+ private void comboBox16_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox16); }
+ private void comboBox17_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox17); }
+ private void comboBox18_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox18); }
+ private void comboBox19_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox19); }
+ private void comboBox20_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox20); }
+ private void comboBox21_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox21); }
+ private void comboBox22_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox22); }
+ private void comboBox23_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox23); }
+ private void comboBox24_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, comboBox24); }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.resx b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.resx
new file mode 100644
index 000000000..7b686f237
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleBeginningForm.resx
@@ -0,0 +1,2475 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ Verdana, 14.25pt
+
+
+ 729, 26
+
+
+ 112, 63
+
+
+
+ 7
+
+
+ OK
+
+
+ okButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 74
+
+
+ 90, 31
+
+
+ 260, 31
+
+
+ 0
+
+
+ orderComboBox
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ orderGroupBox
+
+
+ 0
+
+
+ Verdana, 14.25pt
+
+
+ 28, 12
+
+
+ 397, 82
+
+
+ 0
+
+
+ Order
+
+
+ orderGroupBox
+
+
+ System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 73
+
+
+ Verdana, 14.25pt
+
+
+
+ NoControl
+
+
+ 582, 26
+
+
+ 112, 63
+
+
+ 8
+
+
+ Clear
+
+
+ clearButton
+
+
+ System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 72
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ 24, 127
+
+
+ 166, 23
+
+
+ 9
+
+
+ Serial Number 1
+
+
+ False
+
+
+ label1
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 71
+
+
+ Verdana, 14.25pt
+
+
+ 225, 124
+
+
+ 163, 31
+
+
+ 10
+
+
+ False
+
+
+ comboBox1
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 70
+
+
+ True
+
+
+ 410, 135
+
+
+ 15, 14
+
+
+ 11
+
+
+ False
+
+
+ checkBox1
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 69
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 179
+
+
+ 15, 14
+
+
+ 14
+
+
+ False
+
+
+ checkBox2
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 66
+
+
+ Verdana, 14.25pt
+
+
+ 225, 168
+
+
+ 163, 31
+
+
+ 13
+
+
+ False
+
+
+ comboBox2
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 67
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 171
+
+
+ 166, 23
+
+
+ 12
+
+
+ Serial Number 2
+
+
+ False
+
+
+ label2
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 68
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 223
+
+
+ 15, 14
+
+
+ 17
+
+
+ False
+
+
+ checkBox3
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 63
+
+
+ Verdana, 14.25pt
+
+
+ 225, 212
+
+
+ 163, 31
+
+
+ 16
+
+
+ False
+
+
+ comboBox3
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 64
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 215
+
+
+ 166, 23
+
+
+ 15
+
+
+ Serial Number 3
+
+
+ False
+
+
+ label3
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 65
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 267
+
+
+ 15, 14
+
+
+ 20
+
+
+ False
+
+
+ checkBox4
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 60
+
+
+ Verdana, 14.25pt
+
+
+ 225, 256
+
+
+ 163, 31
+
+
+ 19
+
+
+ False
+
+
+ comboBox4
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 61
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 259
+
+
+ 166, 23
+
+
+ 18
+
+
+ Serial Number 4
+
+
+ False
+
+
+ label4
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 62
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 311
+
+
+ 15, 14
+
+
+ 23
+
+
+ False
+
+
+ checkBox5
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 57
+
+
+ Verdana, 14.25pt
+
+
+ 225, 300
+
+
+ 163, 31
+
+
+ 22
+
+
+ False
+
+
+ comboBox5
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 58
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 303
+
+
+ 166, 23
+
+
+ 21
+
+
+ Serial Number 5
+
+
+ False
+
+
+ label5
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 59
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 355
+
+
+ 15, 14
+
+
+ 26
+
+
+ False
+
+
+ checkBox6
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 54
+
+
+ Verdana, 14.25pt
+
+
+ 225, 344
+
+
+ 163, 31
+
+
+ 25
+
+
+ False
+
+
+ comboBox6
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 55
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 347
+
+
+ 166, 23
+
+
+ 24
+
+
+ Serial Number 6
+
+
+ False
+
+
+ label6
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 56
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 399
+
+
+ 15, 14
+
+
+ 29
+
+
+ False
+
+
+ checkBox7
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 51
+
+
+ Verdana, 14.25pt
+
+
+ 225, 388
+
+
+ 163, 31
+
+
+ 28
+
+
+ False
+
+
+ comboBox7
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 52
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 391
+
+
+ 166, 23
+
+
+ 27
+
+
+ Serial Number 7
+
+
+ False
+
+
+ label7
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 53
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 443
+
+
+ 15, 14
+
+
+ 32
+
+
+ False
+
+
+ checkBox8
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 48
+
+
+ Verdana, 14.25pt
+
+
+ 225, 432
+
+
+ 163, 31
+
+
+ 31
+
+
+ False
+
+
+ comboBox8
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 49
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 435
+
+
+ 166, 23
+
+
+ 30
+
+
+ Serial Number 8
+
+
+ False
+
+
+ label8
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 50
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 487
+
+
+ 15, 14
+
+
+ 35
+
+
+ False
+
+
+ checkBox9
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 45
+
+
+ Verdana, 14.25pt
+
+
+ 225, 476
+
+
+ 163, 31
+
+
+ 34
+
+
+ False
+
+
+ comboBox9
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 46
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 479
+
+
+ 166, 23
+
+
+ 33
+
+
+ Serial Number 9
+
+
+ False
+
+
+ label9
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 47
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 531
+
+
+ 15, 14
+
+
+ 38
+
+
+ False
+
+
+ checkBox10
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 42
+
+
+ Verdana, 14.25pt
+
+
+ 225, 520
+
+
+ 163, 31
+
+
+ 37
+
+
+ False
+
+
+ comboBox10
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 43
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 523
+
+
+ 178, 23
+
+
+ 36
+
+
+ Serial Number 10
+
+
+ False
+
+
+ label10
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 44
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 575
+
+
+ 15, 14
+
+
+ 41
+
+
+ False
+
+
+ checkBox11
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 39
+
+
+ Verdana, 14.25pt
+
+
+ 225, 564
+
+
+ 163, 31
+
+
+ 40
+
+
+ False
+
+
+ comboBox11
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 40
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 567
+
+
+ 178, 23
+
+
+ 39
+
+
+ Serial Number 11
+
+
+ False
+
+
+ label11
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 41
+
+
+ True
+
+
+ NoControl
+
+
+ 410, 619
+
+
+ 15, 14
+
+
+ 44
+
+
+ False
+
+
+ checkBox12
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 36
+
+
+ Verdana, 14.25pt
+
+
+ 225, 608
+
+
+ 163, 31
+
+
+ 43
+
+
+ False
+
+
+ comboBox12
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 37
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 24, 611
+
+
+ 178, 23
+
+
+ 42
+
+
+ Serial Number 12
+
+
+ False
+
+
+ label12
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 38
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 135
+
+
+ 15, 14
+
+
+ 47
+
+
+ False
+
+
+ checkBox13
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 33
+
+
+ Verdana, 14.25pt
+
+
+ 686, 124
+
+
+ 163, 31
+
+
+ 46
+
+
+ False
+
+
+ comboBox13
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 34
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 127
+
+
+ 178, 23
+
+
+ 45
+
+
+ Serial Number 13
+
+
+ False
+
+
+ label13
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 35
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 179
+
+
+ 15, 14
+
+
+ 50
+
+
+ False
+
+
+ checkBox14
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 30
+
+
+ Verdana, 14.25pt
+
+
+ 686, 168
+
+
+ 163, 31
+
+
+ 49
+
+
+ False
+
+
+ comboBox14
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 31
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 171
+
+
+ 178, 23
+
+
+ 48
+
+
+ Serial Number 14
+
+
+ False
+
+
+ label14
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 32
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 223
+
+
+ 15, 14
+
+
+ 53
+
+
+ False
+
+
+ checkBox15
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 27
+
+
+ Verdana, 14.25pt
+
+
+ 686, 212
+
+
+ 163, 31
+
+
+ 52
+
+
+ False
+
+
+ comboBox15
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 28
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 215
+
+
+ 178, 23
+
+
+ 51
+
+
+ Serial Number 15
+
+
+ False
+
+
+ label15
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 29
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 267
+
+
+ 15, 14
+
+
+ 56
+
+
+ False
+
+
+ checkBox16
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 24
+
+
+ Verdana, 14.25pt
+
+
+ 686, 256
+
+
+ 163, 31
+
+
+ 55
+
+
+ False
+
+
+ comboBox16
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 25
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 259
+
+
+ 178, 23
+
+
+ 54
+
+
+ Serial Number 16
+
+
+ False
+
+
+ label16
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 26
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 311
+
+
+ 15, 14
+
+
+ 59
+
+
+ False
+
+
+ checkBox17
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 21
+
+
+ Verdana, 14.25pt
+
+
+ 686, 300
+
+
+ 163, 31
+
+
+ 58
+
+
+ False
+
+
+ comboBox17
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 22
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 303
+
+
+ 178, 23
+
+
+ 57
+
+
+ Serial Number 17
+
+
+ False
+
+
+ label17
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 23
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 355
+
+
+ 15, 14
+
+
+ 62
+
+
+ False
+
+
+ checkBox18
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 18
+
+
+ Verdana, 14.25pt
+
+
+ 686, 344
+
+
+ 163, 31
+
+
+ 61
+
+
+ False
+
+
+ comboBox18
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 19
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 347
+
+
+ 178, 23
+
+
+ 60
+
+
+ Serial Number 18
+
+
+ False
+
+
+ label18
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 20
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 399
+
+
+ 15, 14
+
+
+ 65
+
+
+ False
+
+
+ checkBox19
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 15
+
+
+ Verdana, 14.25pt
+
+
+ 686, 388
+
+
+ 163, 31
+
+
+ 64
+
+
+ False
+
+
+ comboBox19
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 16
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 391
+
+
+ 178, 23
+
+
+ 63
+
+
+ Serial Number 19
+
+
+ False
+
+
+ label19
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 17
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 443
+
+
+ 15, 14
+
+
+ 68
+
+
+ False
+
+
+ checkBox20
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 12
+
+
+ Verdana, 14.25pt
+
+
+ 686, 432
+
+
+ 163, 31
+
+
+ 67
+
+
+ False
+
+
+ comboBox20
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 13
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 435
+
+
+ 178, 23
+
+
+ 66
+
+
+ Serial Number 20
+
+
+ False
+
+
+ label20
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 14
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 487
+
+
+ 15, 14
+
+
+ 71
+
+
+ False
+
+
+ checkBox21
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 9
+
+
+ Verdana, 14.25pt
+
+
+ 686, 476
+
+
+ 163, 31
+
+
+ 70
+
+
+ False
+
+
+ comboBox21
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 10
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 479
+
+
+ 178, 23
+
+
+ 69
+
+
+ Serial Number 21
+
+
+ False
+
+
+ label21
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 11
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 531
+
+
+ 15, 14
+
+
+ 74
+
+
+ False
+
+
+ checkBox22
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 6
+
+
+ Verdana, 14.25pt
+
+
+ 686, 520
+
+
+ 163, 31
+
+
+ 73
+
+
+ False
+
+
+ comboBox22
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 7
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 523
+
+
+ 178, 23
+
+
+ 72
+
+
+ Serial Number 22
+
+
+ False
+
+
+ label22
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 8
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 575
+
+
+ 15, 14
+
+
+ 77
+
+
+ False
+
+
+ checkBox23
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 3
+
+
+ Verdana, 14.25pt
+
+
+ 686, 564
+
+
+ 163, 31
+
+
+ 76
+
+
+ False
+
+
+ comboBox23
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 4
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 567
+
+
+ 178, 23
+
+
+ 75
+
+
+ Serial Number 23
+
+
+ False
+
+
+ label23
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 5
+
+
+ True
+
+
+ NoControl
+
+
+ 871, 619
+
+
+ 15, 14
+
+
+ 80
+
+
+ False
+
+
+ checkBox24
+
+
+ System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 0
+
+
+ Verdana, 14.25pt
+
+
+ 686, 608
+
+
+ 163, 31
+
+
+ 79
+
+
+ False
+
+
+ comboBox24
+
+
+ System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 1
+
+
+ True
+
+
+ Verdana, 14.25pt
+
+
+ NoControl
+
+
+ 481, 611
+
+
+ 178, 23
+
+
+ 78
+
+
+ Serial Number 24
+
+
+ False
+
+
+ label24
+
+
+ System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 2
+
+
+ True
+
+
+ 6, 13
+
+
+ True
+
+
+ 919, 656
+
+
+ Batch data
+
+
+ CycleBeginningForm
+
+
+ System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/CycleEndForm.Designer.cs b/TBF/BenchControl/DataEntry/Single/CycleEndForm.Designer.cs
new file mode 100644
index 000000000..e63c7a7e1
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleEndForm.Designer.cs
@@ -0,0 +1,652 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+namespace TBF.BenchControl.DataEntry.Single
+{
+ partial class CycleEndForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.textBox2 = new System.Windows.Forms.TextBox();
+ this.label2 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.okButton = new System.Windows.Forms.Button();
+ this.textBox3 = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.textBox4 = new System.Windows.Forms.TextBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.textBox5 = new System.Windows.Forms.TextBox();
+ this.label5 = new System.Windows.Forms.Label();
+ this.textBox6 = new System.Windows.Forms.TextBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.textBox7 = new System.Windows.Forms.TextBox();
+ this.label7 = new System.Windows.Forms.Label();
+ this.textBox8 = new System.Windows.Forms.TextBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.textBox9 = new System.Windows.Forms.TextBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.textBox10 = new System.Windows.Forms.TextBox();
+ this.label10 = new System.Windows.Forms.Label();
+ this.textBox11 = new System.Windows.Forms.TextBox();
+ this.label11 = new System.Windows.Forms.Label();
+ this.textBox12 = new System.Windows.Forms.TextBox();
+ this.label12 = new System.Windows.Forms.Label();
+ this.textBox13 = new System.Windows.Forms.TextBox();
+ this.label13 = new System.Windows.Forms.Label();
+ this.textBox14 = new System.Windows.Forms.TextBox();
+ this.label14 = new System.Windows.Forms.Label();
+ this.textBox15 = new System.Windows.Forms.TextBox();
+ this.label15 = new System.Windows.Forms.Label();
+ this.textBox16 = new System.Windows.Forms.TextBox();
+ this.label16 = new System.Windows.Forms.Label();
+ this.textBox17 = new System.Windows.Forms.TextBox();
+ this.label17 = new System.Windows.Forms.Label();
+ this.textBox18 = new System.Windows.Forms.TextBox();
+ this.label18 = new System.Windows.Forms.Label();
+ this.textBox19 = new System.Windows.Forms.TextBox();
+ this.label19 = new System.Windows.Forms.Label();
+ this.textBox20 = new System.Windows.Forms.TextBox();
+ this.label20 = new System.Windows.Forms.Label();
+ this.textBox21 = new System.Windows.Forms.TextBox();
+ this.label21 = new System.Windows.Forms.Label();
+ this.textBox22 = new System.Windows.Forms.TextBox();
+ this.label22 = new System.Windows.Forms.Label();
+ this.textBox23 = new System.Windows.Forms.TextBox();
+ this.label23 = new System.Windows.Forms.Label();
+ this.textBox24 = new System.Windows.Forms.TextBox();
+ this.label24 = new System.Windows.Forms.Label();
+ this.SuspendLayout();
+ //
+ // textBox2
+ //
+ this.textBox2.Location = new System.Drawing.Point(205, 66);
+ this.textBox2.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox2.Name = "textBox2";
+ this.textBox2.Size = new System.Drawing.Size(169, 27);
+ this.textBox2.TabIndex = 1;
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(38, 71);
+ this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(62, 18);
+ this.label2.TabIndex = 0;
+ this.label2.Text = "Stand:";
+ //
+ // textBox1
+ //
+ this.textBox1.Location = new System.Drawing.Point(205, 30);
+ this.textBox1.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(169, 27);
+ this.textBox1.TabIndex = 1;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(38, 35);
+ this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(62, 18);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "Stand:";
+ //
+ // okButton
+ //
+ this.okButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ 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(832, 30);
+ this.okButton.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.okButton.Name = "okButton";
+ this.okButton.Size = new System.Drawing.Size(90, 60);
+ this.okButton.TabIndex = 7;
+ this.okButton.Text = "OK";
+ this.okButton.UseVisualStyleBackColor = true;
+ this.okButton.Click += new System.EventHandler(this.okButton_Click);
+ //
+ // textBox3
+ //
+ this.textBox3.Location = new System.Drawing.Point(205, 102);
+ this.textBox3.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox3.Name = "textBox3";
+ this.textBox3.Size = new System.Drawing.Size(169, 27);
+ this.textBox3.TabIndex = 1;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(38, 107);
+ this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(62, 18);
+ this.label3.TabIndex = 0;
+ this.label3.Text = "Stand:";
+ //
+ // textBox4
+ //
+ this.textBox4.Location = new System.Drawing.Point(205, 138);
+ this.textBox4.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox4.Name = "textBox4";
+ this.textBox4.Size = new System.Drawing.Size(169, 27);
+ this.textBox4.TabIndex = 1;
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(38, 143);
+ this.label4.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(62, 18);
+ this.label4.TabIndex = 0;
+ this.label4.Text = "Stand:";
+ //
+ // textBox5
+ //
+ this.textBox5.Location = new System.Drawing.Point(205, 174);
+ this.textBox5.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox5.Name = "textBox5";
+ this.textBox5.Size = new System.Drawing.Size(169, 27);
+ this.textBox5.TabIndex = 1;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(38, 179);
+ this.label5.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(62, 18);
+ this.label5.TabIndex = 0;
+ this.label5.Text = "Stand:";
+ //
+ // textBox6
+ //
+ this.textBox6.Location = new System.Drawing.Point(205, 210);
+ this.textBox6.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox6.Name = "textBox6";
+ this.textBox6.Size = new System.Drawing.Size(169, 27);
+ this.textBox6.TabIndex = 1;
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(38, 215);
+ this.label6.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(62, 18);
+ this.label6.TabIndex = 0;
+ this.label6.Text = "Stand:";
+ //
+ // textBox7
+ //
+ this.textBox7.Location = new System.Drawing.Point(205, 246);
+ this.textBox7.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox7.Name = "textBox7";
+ this.textBox7.Size = new System.Drawing.Size(169, 27);
+ this.textBox7.TabIndex = 9;
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(38, 251);
+ this.label7.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(62, 18);
+ this.label7.TabIndex = 8;
+ this.label7.Text = "Stand:";
+ //
+ // textBox8
+ //
+ this.textBox8.Location = new System.Drawing.Point(205, 282);
+ this.textBox8.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox8.Name = "textBox8";
+ this.textBox8.Size = new System.Drawing.Size(169, 27);
+ this.textBox8.TabIndex = 11;
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(38, 287);
+ this.label8.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(62, 18);
+ this.label8.TabIndex = 10;
+ this.label8.Text = "Stand:";
+ //
+ // textBox9
+ //
+ this.textBox9.Location = new System.Drawing.Point(205, 318);
+ this.textBox9.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox9.Name = "textBox9";
+ this.textBox9.Size = new System.Drawing.Size(169, 27);
+ this.textBox9.TabIndex = 13;
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(38, 323);
+ this.label9.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(62, 18);
+ this.label9.TabIndex = 12;
+ this.label9.Text = "Stand:";
+ //
+ // textBox10
+ //
+ this.textBox10.Location = new System.Drawing.Point(205, 354);
+ this.textBox10.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox10.Name = "textBox10";
+ this.textBox10.Size = new System.Drawing.Size(169, 27);
+ this.textBox10.TabIndex = 15;
+ //
+ // label10
+ //
+ this.label10.AutoSize = true;
+ this.label10.Location = new System.Drawing.Point(38, 359);
+ this.label10.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(62, 18);
+ this.label10.TabIndex = 14;
+ this.label10.Text = "Stand:";
+ //
+ // textBox11
+ //
+ this.textBox11.Location = new System.Drawing.Point(205, 390);
+ this.textBox11.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox11.Name = "textBox11";
+ this.textBox11.Size = new System.Drawing.Size(169, 27);
+ this.textBox11.TabIndex = 17;
+ //
+ // label11
+ //
+ this.label11.AutoSize = true;
+ this.label11.Location = new System.Drawing.Point(38, 395);
+ this.label11.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(62, 18);
+ this.label11.TabIndex = 16;
+ this.label11.Text = "Stand:";
+ //
+ // textBox12
+ //
+ this.textBox12.Location = new System.Drawing.Point(205, 426);
+ this.textBox12.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox12.Name = "textBox12";
+ this.textBox12.Size = new System.Drawing.Size(169, 27);
+ this.textBox12.TabIndex = 19;
+ //
+ // label12
+ //
+ this.label12.AutoSize = true;
+ this.label12.Location = new System.Drawing.Point(38, 431);
+ this.label12.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(62, 18);
+ this.label12.TabIndex = 18;
+ this.label12.Text = "Stand:";
+ //
+ // textBox13
+ //
+ this.textBox13.Location = new System.Drawing.Point(623, 30);
+ this.textBox13.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox13.Name = "textBox13";
+ this.textBox13.Size = new System.Drawing.Size(169, 27);
+ this.textBox13.TabIndex = 21;
+ //
+ // label13
+ //
+ this.label13.AutoSize = true;
+ this.label13.Location = new System.Drawing.Point(456, 35);
+ this.label13.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(62, 18);
+ this.label13.TabIndex = 20;
+ this.label13.Text = "Stand:";
+ //
+ // textBox14
+ //
+ this.textBox14.Location = new System.Drawing.Point(623, 66);
+ this.textBox14.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox14.Name = "textBox14";
+ this.textBox14.Size = new System.Drawing.Size(169, 27);
+ this.textBox14.TabIndex = 23;
+ //
+ // label14
+ //
+ this.label14.AutoSize = true;
+ this.label14.Location = new System.Drawing.Point(456, 71);
+ this.label14.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(62, 18);
+ this.label14.TabIndex = 22;
+ this.label14.Text = "Stand:";
+ //
+ // textBox15
+ //
+ this.textBox15.Location = new System.Drawing.Point(623, 102);
+ this.textBox15.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox15.Name = "textBox15";
+ this.textBox15.Size = new System.Drawing.Size(169, 27);
+ this.textBox15.TabIndex = 25;
+ //
+ // label15
+ //
+ this.label15.AutoSize = true;
+ this.label15.Location = new System.Drawing.Point(456, 107);
+ this.label15.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label15.Name = "label15";
+ this.label15.Size = new System.Drawing.Size(62, 18);
+ this.label15.TabIndex = 24;
+ this.label15.Text = "Stand:";
+ //
+ // textBox16
+ //
+ this.textBox16.Location = new System.Drawing.Point(623, 138);
+ this.textBox16.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox16.Name = "textBox16";
+ this.textBox16.Size = new System.Drawing.Size(169, 27);
+ this.textBox16.TabIndex = 27;
+ //
+ // label16
+ //
+ this.label16.AutoSize = true;
+ this.label16.Location = new System.Drawing.Point(456, 143);
+ this.label16.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label16.Name = "label16";
+ this.label16.Size = new System.Drawing.Size(62, 18);
+ this.label16.TabIndex = 26;
+ this.label16.Text = "Stand:";
+ //
+ // textBox17
+ //
+ this.textBox17.Location = new System.Drawing.Point(623, 174);
+ this.textBox17.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox17.Name = "textBox17";
+ this.textBox17.Size = new System.Drawing.Size(169, 27);
+ this.textBox17.TabIndex = 29;
+ //
+ // label17
+ //
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(456, 179);
+ this.label17.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(62, 18);
+ this.label17.TabIndex = 28;
+ this.label17.Text = "Stand:";
+ //
+ // textBox18
+ //
+ this.textBox18.Location = new System.Drawing.Point(623, 210);
+ this.textBox18.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox18.Name = "textBox18";
+ this.textBox18.Size = new System.Drawing.Size(169, 27);
+ this.textBox18.TabIndex = 31;
+ //
+ // label18
+ //
+ this.label18.AutoSize = true;
+ this.label18.Location = new System.Drawing.Point(456, 215);
+ this.label18.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label18.Name = "label18";
+ this.label18.Size = new System.Drawing.Size(62, 18);
+ this.label18.TabIndex = 30;
+ this.label18.Text = "Stand:";
+ //
+ // textBox19
+ //
+ this.textBox19.Location = new System.Drawing.Point(623, 246);
+ this.textBox19.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox19.Name = "textBox19";
+ this.textBox19.Size = new System.Drawing.Size(169, 27);
+ this.textBox19.TabIndex = 33;
+ //
+ // label19
+ //
+ this.label19.AutoSize = true;
+ this.label19.Location = new System.Drawing.Point(456, 251);
+ this.label19.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label19.Name = "label19";
+ this.label19.Size = new System.Drawing.Size(62, 18);
+ this.label19.TabIndex = 32;
+ this.label19.Text = "Stand:";
+ //
+ // textBox20
+ //
+ this.textBox20.Location = new System.Drawing.Point(623, 282);
+ this.textBox20.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox20.Name = "textBox20";
+ this.textBox20.Size = new System.Drawing.Size(169, 27);
+ this.textBox20.TabIndex = 35;
+ //
+ // label20
+ //
+ this.label20.AutoSize = true;
+ this.label20.Location = new System.Drawing.Point(456, 287);
+ this.label20.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label20.Name = "label20";
+ this.label20.Size = new System.Drawing.Size(62, 18);
+ this.label20.TabIndex = 34;
+ this.label20.Text = "Stand:";
+ //
+ // textBox21
+ //
+ this.textBox21.Location = new System.Drawing.Point(623, 318);
+ this.textBox21.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox21.Name = "textBox21";
+ this.textBox21.Size = new System.Drawing.Size(169, 27);
+ this.textBox21.TabIndex = 37;
+ //
+ // label21
+ //
+ this.label21.AutoSize = true;
+ this.label21.Location = new System.Drawing.Point(456, 323);
+ this.label21.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label21.Name = "label21";
+ this.label21.Size = new System.Drawing.Size(62, 18);
+ this.label21.TabIndex = 36;
+ this.label21.Text = "Stand:";
+ //
+ // textBox22
+ //
+ this.textBox22.Location = new System.Drawing.Point(623, 354);
+ this.textBox22.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox22.Name = "textBox22";
+ this.textBox22.Size = new System.Drawing.Size(169, 27);
+ this.textBox22.TabIndex = 39;
+ //
+ // label22
+ //
+ this.label22.AutoSize = true;
+ this.label22.Location = new System.Drawing.Point(456, 359);
+ this.label22.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label22.Name = "label22";
+ this.label22.Size = new System.Drawing.Size(62, 18);
+ this.label22.TabIndex = 38;
+ this.label22.Text = "Stand:";
+ //
+ // textBox23
+ //
+ this.textBox23.Location = new System.Drawing.Point(623, 390);
+ this.textBox23.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox23.Name = "textBox23";
+ this.textBox23.Size = new System.Drawing.Size(169, 27);
+ this.textBox23.TabIndex = 41;
+ //
+ // label23
+ //
+ this.label23.AutoSize = true;
+ this.label23.Location = new System.Drawing.Point(456, 395);
+ this.label23.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label23.Name = "label23";
+ this.label23.Size = new System.Drawing.Size(62, 18);
+ this.label23.TabIndex = 40;
+ this.label23.Text = "Stand:";
+ //
+ // textBox24
+ //
+ this.textBox24.Location = new System.Drawing.Point(623, 426);
+ this.textBox24.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ this.textBox24.Name = "textBox24";
+ this.textBox24.Size = new System.Drawing.Size(169, 27);
+ this.textBox24.TabIndex = 43;
+ //
+ // label24
+ //
+ this.label24.AutoSize = true;
+ this.label24.Location = new System.Drawing.Point(456, 431);
+ this.label24.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
+ this.label24.Name = "label24";
+ this.label24.Size = new System.Drawing.Size(62, 18);
+ this.label24.TabIndex = 42;
+ this.label24.Text = "Stand:";
+ //
+ // CycleEndForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.Color.DarkGoldenrod;
+ this.ClientSize = new System.Drawing.Size(959, 489);
+ this.Controls.Add(this.textBox24);
+ this.Controls.Add(this.label24);
+ this.Controls.Add(this.textBox23);
+ this.Controls.Add(this.label23);
+ this.Controls.Add(this.textBox22);
+ this.Controls.Add(this.label22);
+ this.Controls.Add(this.textBox21);
+ this.Controls.Add(this.label21);
+ this.Controls.Add(this.textBox20);
+ this.Controls.Add(this.label20);
+ this.Controls.Add(this.textBox19);
+ this.Controls.Add(this.label19);
+ this.Controls.Add(this.textBox18);
+ this.Controls.Add(this.label18);
+ this.Controls.Add(this.textBox17);
+ this.Controls.Add(this.label17);
+ this.Controls.Add(this.textBox16);
+ this.Controls.Add(this.label16);
+ this.Controls.Add(this.textBox15);
+ this.Controls.Add(this.label15);
+ this.Controls.Add(this.textBox14);
+ this.Controls.Add(this.label14);
+ this.Controls.Add(this.textBox13);
+ this.Controls.Add(this.label13);
+ this.Controls.Add(this.textBox12);
+ this.Controls.Add(this.label12);
+ this.Controls.Add(this.textBox11);
+ this.Controls.Add(this.label11);
+ this.Controls.Add(this.textBox10);
+ this.Controls.Add(this.label10);
+ this.Controls.Add(this.textBox9);
+ this.Controls.Add(this.label9);
+ this.Controls.Add(this.textBox8);
+ this.Controls.Add(this.label8);
+ this.Controls.Add(this.textBox7);
+ this.Controls.Add(this.label7);
+ this.Controls.Add(this.textBox6);
+ this.Controls.Add(this.label6);
+ this.Controls.Add(this.textBox5);
+ this.Controls.Add(this.label5);
+ this.Controls.Add(this.textBox4);
+ this.Controls.Add(this.label4);
+ this.Controls.Add(this.textBox3);
+ this.Controls.Add(this.label3);
+ this.Controls.Add(this.textBox2);
+ this.Controls.Add(this.label2);
+ this.Controls.Add(this.textBox1);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.okButton);
+ this.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Margin = new System.Windows.Forms.Padding(5, 4, 5, 4);
+ 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.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TextBox textBox2;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Button okButton;
+ private System.Windows.Forms.TextBox textBox3;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox textBox4;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.TextBox textBox5;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.TextBox textBox6;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.TextBox textBox7;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.TextBox textBox8;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.TextBox textBox9;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.TextBox textBox10;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.TextBox textBox11;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.TextBox textBox12;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.TextBox textBox13;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.TextBox textBox14;
+ private System.Windows.Forms.Label label14;
+ private System.Windows.Forms.TextBox textBox15;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.TextBox textBox16;
+ private System.Windows.Forms.Label label16;
+ private System.Windows.Forms.TextBox textBox17;
+ private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.TextBox textBox18;
+ private System.Windows.Forms.Label label18;
+ private System.Windows.Forms.TextBox textBox19;
+ private System.Windows.Forms.Label label19;
+ private System.Windows.Forms.TextBox textBox20;
+ private System.Windows.Forms.Label label20;
+ private System.Windows.Forms.TextBox textBox21;
+ private System.Windows.Forms.Label label21;
+ private System.Windows.Forms.TextBox textBox22;
+ private System.Windows.Forms.Label label22;
+ private System.Windows.Forms.TextBox textBox23;
+ private System.Windows.Forms.Label label23;
+ private System.Windows.Forms.TextBox textBox24;
+ private System.Windows.Forms.Label label24;
+
+ }
+}
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/CycleEndForm.cs b/TBF/BenchControl/DataEntry/Single/CycleEndForm.cs
new file mode 100644
index 000000000..54f341ef5
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleEndForm.cs
@@ -0,0 +1,155 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Windows.Forms;
+using log4net;
+using TBF.Resources;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public partial class CycleEndForm : Form, GenericDevices.IHasCompleted
+ {
+ private static readonly ILog log = LogManager.GetLogger(typeof(CycleEndForm));
+
+ /// Number of text boxes for serial numbers
+ public readonly int WaterMetersCount;
+ readonly int lineSize;
+
+ // To be retrieved after the form closes
+ public string[] EndStateText;
+
+ // Set to 'true' when the form closes
+ public bool Completed { get { return completed; } }
+ bool completed;
+
+ int textBoxesCount;
+ Label[] labels;
+ TextBox[] textBoxes;
+
+
+ ///
+ /// Constructor
+ ///
+ /// Number of text boxes for serial numbers
+ public CycleEndForm()
+ {
+ InitializeComponent();
+ ControlBox = false;
+
+ labels = new Label[]
+ {
+ label1, label2, label3, label4, label5, label6, label7, label8, label9, label10,
+ label11, label12, label13, label14, label15, label16, label17, label18, label19, label20,
+ label21, label22, label23, label24,
+ };
+ textBoxes = new TextBox[]
+ {
+ textBox1, textBox2, textBox3, textBox4, textBox5, textBox6,
+ textBox7, textBox8, textBox9, textBox10, textBox11, textBox12,
+ textBox13, textBox14, textBox15, textBox16, textBox17, textBox18,
+ textBox19, textBox20, textBox21, textBox22, textBox23, textBox24,
+ };
+ textBoxesCount = textBoxes.Length;
+ this.WaterMetersCount = textBoxesCount;
+ this.lineSize = textBoxesCount / 2;
+
+ completed = false;
+ StartForceCloseHandler();
+ }
+
+ /// Parameterless constructor for 3 watermeters
+ public CycleEndForm(int waterMetersCount, int lineSize)
+ : this()
+ {
+ this.WaterMetersCount = waterMetersCount;
+ this.lineSize = lineSize;
+ ShuffleTextBoxes(waterMetersCount, lineSize);
+ EndStateText = new string[WaterMetersCount];
+ }
+
+ ///
+ /// Make sure the layout of labels/text boxes on the screen
+ /// corresponds to the layout of watermeters of the test bench.
+ ///
+ /// Number of watermeters
+ /// Number of watermeters in one line
+ void ShuffleTextBoxes(int wmsCount, int lineSize)
+ {
+ if (wmsCount < textBoxesCount && lineSize > 0)
+ {
+ int nrLines = (wmsCount + lineSize - 1) / lineSize;
+ int gap = (textBoxesCount - wmsCount) / nrLines;
+
+ int dest = 0;
+ for (int l = 0; l < nrLines; l++)
+ {
+ for (int i = 0; i < lineSize; i++)
+ {
+ labels[dest] = labels[l * lineSize + l * gap + i];
+ textBoxes[dest] = textBoxes[l * lineSize + l * gap + i];
+ dest++;
+ }
+ }
+ textBoxesCount = wmsCount;
+ }
+ }
+
+ private void CycleEndForm_Load(object sender, EventArgs e)
+ {
+ Localize();
+
+ Height = 60 + 36 * lineSize;
+
+ for (int i = 0; i < textBoxesCount; i++)
+ {
+ if (i >= WaterMetersCount)
+ {
+ labels[i].Visible = false;
+ textBoxes[i].Visible = false;
+ }
+ }
+ }
+
+ void Localize()
+ {
+ Text = Strings.Data;
+ okButton.Text = Strings.OkBtnText;
+
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ labels[i].Text = string.Format("{0} {1}:", Strings.Water_Meter, (i + 1).ToString());
+ }
+ }
+
+ private void okButton_Click(object sender, EventArgs e)
+ {
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ EndStateText[i] = textBoxes[i].Text;
+ }
+
+ completed = true;
+ Close();
+ }
+
+ #region Forced close handling
+
+ public void StartForceCloseHandler()
+ {
+ UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args)
+ {
+ if (InvokeRequired) { Invoke(new EventHandler(OnForceClose), sender, args); }
+ else OnForceClose(sender, args);
+ };
+ }
+
+ void OnForceClose(object sender, EventArgs args)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+
+ #endregion
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/CycleEndForm.resx b/TBF/BenchControl/DataEntry/Single/CycleEndForm.resx
new file mode 100644
index 000000000..1af7de150
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/CycleEndForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/EntryForm.cs b/TBF/BenchControl/DataEntry/Single/EntryForm.cs
new file mode 100644
index 000000000..08787ede2
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryForm.cs
@@ -0,0 +1,20 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using TBF.BenchControl.GenericDevices;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public class EntryForm : EntryFormNoStartEnd, IHasWMStatesForm
+ {
+ public EntryForm()
+ : base()
+ {
+ }
+
+ public EntryForm(Generic.IComponentCfg cfg)
+ : base(cfg)
+ {
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/EntryFormCfg.cs b/TBF/BenchControl/DataEntry/Single/EntryFormCfg.cs
new file mode 100644
index 000000000..ac28e1f03
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryFormCfg.cs
@@ -0,0 +1,45 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Xml.Serialization;
+using TBF.BenchControl.Generic;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public class EntryFormCfg : ComponentCfgBase, Generic.IComponentCfg
+ {
+ public static XmlSerializer Serializer = XmlSerializer.FromTypes(new[] { typeof(EntryFormCfg) })[0];
+ public override XmlSerializer GetSerializer() { return Serializer; }
+
+ public IComponentCfgCtrl GetControl() { return new EntryFormCfgCtrl(); }
+
+ ///
+ /// Serialized parameters
+ ///
+ public bool EnterSerialNrsAtTheEnd;
+ public bool ShowCycleEndForm;
+
+ /// Private parameterless constructor invoked by all other (public) constructors
+ EntryFormCfg()
+ {
+ Name = "DataEntry-Standard-24";
+ ParentName = string.Empty;
+ EnterSerialNrsAtTheEnd = false;
+ ShowCycleEndForm = false;
+ }
+
+ public EntryFormCfg(IComponentFactory factory)
+ : this()
+ {
+ this.Factory = factory;
+ }
+
+ public string ToString(int i)
+ {
+ return string.Format("Name={0}, EnterSNsAtTheEnd={1}, ShowEndForm={2}", Name, EnterSerialNrsAtTheEnd, ShowCycleEndForm);
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.cs b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.cs
new file mode 100644
index 000000000..ec253070a
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.cs
@@ -0,0 +1,83 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Windows.Forms;
+using Config.Entities;
+using TBF.BenchControl.Generic;
+using TBF.Resources;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public partial class EntryFormCfgCtrl : UserControl, IComponentCfgCtrl
+ {
+ public bool ShowMore { get { return false; } }
+
+ EntryFormCfg config;
+ public IComponentCfg Config
+ {
+ get { return config as IComponentCfg; }
+ set
+ {
+ config = value as EntryFormCfg;
+ Redraw();
+ }
+ }
+
+ public EntryFormCfgCtrl()
+ {
+ InitializeComponent();
+ }
+
+ private void EntryFormCfgCtrl_Load(object sender, EventArgs e)
+ {
+ Localize();
+ Redraw();
+ }
+
+ void Localize()
+ {
+ enterSNsAtTheEndCheckBox.Text = Strings.Enter_SNs_at_the_end;
+ showEndStateFormCheckBox.Text = Strings.Show_cycle_end_form;
+ }
+
+ public void Closing()
+ {
+ }
+
+ void Redraw()
+ {
+ if (config == null) return; /// Control was not loaded, settings were not changed
+ classNameLabel.Text = config.Factory.ClassName;
+ nameTextBox.Text = config.Name;
+ enterSNsAtTheEndCheckBox.Checked = config.EnterSerialNrsAtTheEnd;
+ showEndStateFormCheckBox.Checked = config.ShowCycleEndForm;
+ }
+
+ public void Unlock()
+ {
+ nameTextBox.Enabled = true;
+ enterSNsAtTheEndCheckBox.Enabled = true;
+ showEndStateFormCheckBox.Enabled = true;
+ }
+
+ public CfgUpdateFlags VerifyCfg(ref string message)
+ {
+ CfgUpdateFlags flags = CfgUpdateFlags.None;
+ return flags;
+ }
+
+ public CfgUpdateFlags UpdateCfg()
+ {
+ CfgUpdateFlags flags = CfgUpdateFlags.RestartRqrd;
+
+ if (config == null) return CfgUpdateFlags.Error; /// Control was not loaded, settings were not changed
+
+ config.Name = nameTextBox.Text;
+ config.EnterSerialNrsAtTheEnd = enterSNsAtTheEndCheckBox.Checked;
+ config.ShowCycleEndForm = showEndStateFormCheckBox.Checked;
+
+ return flags;
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.designer.cs b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.designer.cs
new file mode 100644
index 000000000..60d7f3fc3
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.designer.cs
@@ -0,0 +1,114 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+namespace TBF.BenchControl.DataEntry.Single
+{
+ partial class EntryFormCfgCtrl
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Component Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ 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.showEndStateFormCheckBox = new System.Windows.Forms.CheckBox();
+ this.enterSNsAtTheEndCheckBox = new System.Windows.Forms.CheckBox();
+ this.SuspendLayout();
+ //
+ // nameTextBox
+ //
+ this.nameTextBox.Enabled = false;
+ this.nameTextBox.Location = new System.Drawing.Point(99, 57);
+ this.nameTextBox.Name = "nameTextBox";
+ this.nameTextBox.Size = new System.Drawing.Size(130, 20);
+ this.nameTextBox.TabIndex = 2;
+ //
+ // nameLabel
+ //
+ this.nameLabel.AutoSize = true;
+ this.nameLabel.Location = new System.Drawing.Point(35, 60);
+ this.nameLabel.Name = "nameLabel";
+ this.nameLabel.Size = new System.Drawing.Size(35, 13);
+ this.nameLabel.TabIndex = 1;
+ this.nameLabel.Text = "Name";
+ //
+ // classNameLabel
+ //
+ this.classNameLabel.AutoSize = true;
+ this.classNameLabel.Location = new System.Drawing.Point(96, 33);
+ this.classNameLabel.Name = "classNameLabel";
+ this.classNameLabel.Size = new System.Drawing.Size(83, 13);
+ this.classNameLabel.TabIndex = 0;
+ this.classNameLabel.Text = "ComonentName";
+ //
+ // showEndStateFormCheckBox
+ //
+ this.showEndStateFormCheckBox.AutoSize = true;
+ this.showEndStateFormCheckBox.Enabled = false;
+ this.showEndStateFormCheckBox.Location = new System.Drawing.Point(99, 112);
+ this.showEndStateFormCheckBox.Name = "showEndStateFormCheckBox";
+ this.showEndStateFormCheckBox.Size = new System.Drawing.Size(151, 17);
+ this.showEndStateFormCheckBox.TabIndex = 4;
+ this.showEndStateFormCheckBox.Text = "Watermeter end state form";
+ this.showEndStateFormCheckBox.UseVisualStyleBackColor = true;
+ //
+ // enterSNsAtTheEndCheckBox
+ //
+ this.enterSNsAtTheEndCheckBox.AutoSize = true;
+ this.enterSNsAtTheEndCheckBox.Enabled = false;
+ this.enterSNsAtTheEndCheckBox.Location = new System.Drawing.Point(99, 89);
+ this.enterSNsAtTheEndCheckBox.Name = "enterSNsAtTheEndCheckBox";
+ this.enterSNsAtTheEndCheckBox.Size = new System.Drawing.Size(167, 17);
+ this.enterSNsAtTheEndCheckBox.TabIndex = 3;
+ this.enterSNsAtTheEndCheckBox.Text = "Enter serial number at the end";
+ this.enterSNsAtTheEndCheckBox.UseVisualStyleBackColor = true;
+ //
+ // EntryFormCfgCtrl
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.enterSNsAtTheEndCheckBox);
+ this.Controls.Add(this.showEndStateFormCheckBox);
+ this.Controls.Add(this.nameTextBox);
+ this.Controls.Add(this.nameLabel);
+ this.Controls.Add(this.classNameLabel);
+ this.Name = "EntryFormCfgCtrl";
+ this.Size = new System.Drawing.Size(300, 200);
+ this.Load += new System.EventHandler(this.EntryFormCfgCtrl_Load);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.TextBox nameTextBox;
+ private System.Windows.Forms.Label nameLabel;
+ private System.Windows.Forms.Label classNameLabel;
+ private System.Windows.Forms.CheckBox showEndStateFormCheckBox;
+ private System.Windows.Forms.CheckBox enterSNsAtTheEndCheckBox;
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.resx b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.resx
new file mode 100644
index 000000000..1af7de150
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryFormCfgCtrl.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/EntryFormNoStartEnd.cs b/TBF/BenchControl/DataEntry/Single/EntryFormNoStartEnd.cs
new file mode 100644
index 000000000..df258ee72
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/EntryFormNoStartEnd.cs
@@ -0,0 +1,288 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Collections.Generic;
+using log4net;
+using Config.Entities;
+using TBF.BenchControl;
+using TBF.BenchControl.GenericDevices;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public class EntryFormNoStartEnd : ComponentBase, IOperation, IDataEntry, IHasCycleBeginForm, IHasCycleEndForm
+ {
+ private static readonly ILog log = LogManager.GetLogger(typeof(EntryFormNoStartEnd));
+ public override string ToString() { return string.Format("DataEntry.Standard24({0})", Cfg.ToString(1)); }
+
+ public bool UsesCameras() { return false; }
+
+ readonly EntryFormCfg entryFormCfg;
+ IRegisterReader[] regReaders;
+
+ ///
+ /// Properties set by the Begin, End and WMStates form
+ ///
+ string purchaseOrder;
+ public string PurchaseOrder { get { return purchaseOrder; } }
+
+ bool[] disabled; /// This array is shared between forms
+
+ string[] wmCycleEndState;
+ public string WMCycleEndState(int wmNr) { return (wmNr >= 0 && wmNr < wmCycleEndState.Length) ? wmCycleEndState[wmNr] : string.Empty; }
+
+ double[] wmStartState;
+ public double WMStartState(int wmNr) { return (wmNr >= 0 && wmNr < wmStartState.Length) ? wmStartState[wmNr] : 0; }
+
+ double[] wmEndState;
+ public double WMEndState(int wmNr) { return (wmNr >= 0 && wmNr < wmEndState.Length) ? wmEndState[wmNr] : 0; }
+
+ string[] wmStartStateStr;
+
+
+ System.Windows.Forms.Form modelessDlg;
+
+ double refVolume;
+ double errLimLo;
+ double errLimHi;
+
+ bool resultSaved; /// Set in Run() when results are saved
+
+ Results.Entities.WaterMeter[] waterMeters; /// Reference to ...ProcessData.BatchRslts.WaterMeters[]
+
+ public enum CurrentOp
+ {
+ None,
+ ShowFormAtCycleBeginning,
+ ShowFormAtCycleEnd,
+ EnterTestStartStates,
+ EnterTestEndStates,
+ }
+
+ CurrentOp currentOp;
+
+
+ public EntryFormNoStartEnd()
+ {
+ }
+
+ public EntryFormNoStartEnd(Generic.IComponentCfg cfg)
+ : base(cfg)
+ {
+ entryFormCfg = cfg as EntryFormCfg;
+
+ disabled = new bool[Config.Data.WMsCount];
+ wmStartState = new double[Config.Data.WMsCount];
+ wmStartStateStr = new string[Config.Data.WMsCount];
+ wmEndState = new double[Config.Data.WMsCount];
+ wmCycleEndState = new string[Config.Data.WMsCount];
+
+ currentOp = CurrentOp.None;
+ log.Debug(this.ToString());
+ }
+
+ /// Reference to the operation
+ public IOperation ShowCycleBeginFormOp()
+ {
+ if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
+ currentOp = CurrentOp.ShowFormAtCycleBeginning;
+ this.waterMeters = TBF.BenchControl.Sequences.ProcessData.BatchRslts.WaterMeters;
+ return this;
+ }
+
+ /// Reference to the operation
+ public IOperation ShowCycleEndFormOp()
+ {
+ if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
+ currentOp = CurrentOp.ShowFormAtCycleEnd;
+ this.waterMeters = TBF.BenchControl.Sequences.ProcessData.BatchRslts.WaterMeters;
+ return this;
+ }
+
+ /// Reference to the operation
+ public IOperation ShowTestStartFormOp(IRegisterReader[] regReaders)
+ {
+ if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
+ currentOp = CurrentOp.EnterTestStartStates;
+ this.regReaders = regReaders;
+ return this;
+ }
+
+ /// Reference to the operation
+ public IOperation ShowTestEndFormOp(IRegisterReader[] regReaders, double refVolume, double errLimLo, double errLimHi)
+ {
+ if (currentOp != CurrentOp.None) throw new Exception("Sequence error");
+ currentOp = CurrentOp.EnterTestEndStates;
+ this.regReaders = regReaders;
+ this.refVolume = refVolume;
+ this.errLimLo = errLimLo;
+ this.errLimHi = errLimHi;
+ return this;
+ }
+
+ delegate void EntryFormDlgt(EntryFormNoStartEnd myRef);
+ ///
+ void OpenBeginningDlg(EntryFormNoStartEnd myRef)
+ {
+ myRef.modelessDlg = new CycleBeginningForm(Config.Data.WMsCount);
+ modelessDlg.Show();
+ }
+ ///
+ void OpenEndDlg(EntryFormNoStartEnd myRef)
+ {
+ myRef.modelessDlg = new CycleEndForm(Config.Data.WMsCount, Config.Data.LineSize);
+ modelessDlg.Show();
+ }
+ ///
+ void OpenTestStartStatesDlg(EntryFormNoStartEnd myRef)
+ {
+ myRef.modelessDlg = new TestStartEndForm(Config.Data.WMsCount, Config.Data.LineSize, myRef.regReaders, myRef.disabled);
+ modelessDlg.Show();
+ }
+ ///
+ void OpenTestEndStatesDlg(EntryFormNoStartEnd myRef)
+ {
+ myRef.modelessDlg = new TestStartEndForm(Config.Data.WMsCount, Config.Data.LineSize, myRef.regReaders, wmStartStateStr, disabled, refVolume, errLimLo, errLimHi);
+ modelessDlg.Show();
+ }
+
+ /// Start this operation
+ public void Start()
+ {
+ resultSaved = false;
+ switch (currentOp)
+ {
+ case CurrentOp.ShowFormAtCycleBeginning:
+ if (!entryFormCfg.EnterSerialNrsAtTheEnd)
+ {
+ Program.MainWnd.Invoke(new EntryFormDlgt(OpenBeginningDlg), this);
+ }
+ break;
+ case CurrentOp.ShowFormAtCycleEnd:
+ if (entryFormCfg.EnterSerialNrsAtTheEnd)
+ {
+ Program.MainWnd.Invoke(new EntryFormDlgt(OpenBeginningDlg), this);
+ }
+ else if (entryFormCfg.ShowCycleEndForm)
+ {
+ Program.MainWnd.Invoke(new EntryFormDlgt(OpenEndDlg), this);
+ }
+ break;
+ case CurrentOp.EnterTestStartStates:
+ Program.MainWnd.Invoke(new EntryFormDlgt(OpenTestStartStatesDlg), this);
+ break;
+ case CurrentOp.EnterTestEndStates:
+ Program.MainWnd.Invoke(new EntryFormDlgt(OpenTestEndStatesDlg), this);
+ break;
+ }
+ }
+
+ /// Run this operation
+ /// Event.ResultsPrinted
+ public Event Run()
+ {
+ if ((modelessDlg is IHasCompleted) && !(modelessDlg as IHasCompleted).Completed)
+ {
+ return Event.ModelessFormIsOpen;
+ }
+
+ if (!resultSaved) /// This is to save the result only once
+ {
+ if ((!entryFormCfg.EnterSerialNrsAtTheEnd && currentOp == CurrentOp.ShowFormAtCycleBeginning) ||
+ (entryFormCfg.EnterSerialNrsAtTheEnd && currentOp == CurrentOp.ShowFormAtCycleEnd))
+ {
+ CycleBeginningForm dlg = (modelessDlg as CycleBeginningForm);
+ if (dlg != null)
+ {
+ purchaseOrder = dlg.PurchaseOrder;
+
+ for (int i = 0; i < Math.Min(dlg.WaterMetersCount, waterMeters.Length); i++)
+ {
+ if (waterMeters[i] != null)
+ {
+ waterMeters[i].SerialNr = dlg.SNText[i];
+ disabled[i] = waterMeters[i].Disabled = dlg.Disabled[i];
+ }
+ }
+ }
+ }
+ else if (entryFormCfg.ShowCycleEndForm && currentOp == CurrentOp.ShowFormAtCycleEnd)
+ {
+ CycleEndForm dlg = (modelessDlg as CycleEndForm);
+ int count = waterMeters.Length;
+ if ((dlg != null) && (count > dlg.WaterMetersCount)) count = dlg.WaterMetersCount;
+
+ for (int i = 0; i < count; i++)
+ {
+ if (waterMeters[i] != null)
+ {
+ /// In case entryFormCfg.ShowCycleEndForm == false dlg would be null, values would be string.Empty
+ wmCycleEndState[i] = waterMeters[i].EndState = (dlg != null) ? dlg.EndStateText[i] : string.Empty;
+ }
+ }
+ }
+ else if (modelessDlg is TestStartEndForm && currentOp == CurrentOp.EnterTestStartStates)
+ {
+ /// Fixed start test - start
+ TestStartEndForm dlg = (modelessDlg as TestStartEndForm);
+ if (dlg != null)
+ {
+ for (int i = 0; i < dlg.WaterMetersCount; i++)
+ {
+ if (!(((i < disabled.Length) && disabled[i]) || ((i < regReaders.Length) && (regReaders[i] == null))))
+ {
+ wmStartState[i] = dlg.WMStartState[i];
+ wmStartStateStr[i] = dlg.WMStartStateStr[i];
+ }
+ }
+ }
+ }
+ else if (modelessDlg is TestStartEndForm && currentOp == CurrentOp.EnterTestEndStates)
+ {
+ /// Fixed start test - end
+ TestStartEndForm dlg = (modelessDlg as TestStartEndForm);
+ if (dlg != null)
+ {
+ for (int i = 0; i < dlg.WaterMetersCount; i++)
+ {
+ if (!(((i < disabled.Length) && disabled[i]) || ((i < regReaders.Length) && (regReaders[i] == null))))
+ {
+ wmEndState[i] = dlg.WMEndState[i];
+ }
+ }
+ }
+ }
+ resultSaved = true;
+ modelessDlg = null;
+ }
+
+ return Event.ModelessFormClosed; /// Form closed
+ }
+
+ /// Stop this operation
+ public void Stop()
+ {
+ if (modelessDlg is IHasCompleted)
+ {
+ UiBridge.Bridge.OnCloseModelessForm(this, null);
+ modelessDlg = null;
+ }
+ currentOp = CurrentOp.None;
+ }
+
+ ///
+ /// Updates test results with the information collected in watermeters.
+ ///
+ /// Test results to be updated with the information
+ public void UpdateTestResults(Results.BatchResults batchResults)
+ {
+ foreach (var wm in batchResults.WaterMeters)
+ {
+ if ((wm != null) && !wm.Disabled && (PurchaseOrder != null))
+ {
+ wm.PurchaseOrder = PurchaseOrder; /// PurchaseOrder == null if form button OK has not been used => no update
+ }
+ }
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/Factory.cs b/TBF/BenchControl/DataEntry/Single/Factory.cs
new file mode 100644
index 000000000..fb7182f91
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/Factory.cs
@@ -0,0 +1,26 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System.Collections.Generic;
+using TBF.BenchControl.Generic;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public class Factory : IComponentFactory
+ {
+ public string ClassName { get { return "DataEntry.Single"; } }
+
+ public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
+
+ public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
+
+ public IComponent GetComponent(IComponentCfg cfg, IList components) { return new EntryForm(cfg); }
+
+ public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
+
+ public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
+ {
+ return ComponentCfgBase.CreateFromDbEntity(EntryFormCfg.Serializer, component, this);
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/FactoryNoStartEnd.cs b/TBF/BenchControl/DataEntry/Single/FactoryNoStartEnd.cs
new file mode 100644
index 000000000..849f9c549
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/FactoryNoStartEnd.cs
@@ -0,0 +1,26 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System.Collections.Generic;
+using TBF.BenchControl.Generic;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public class FactoryNoStartEnd : IComponentFactory
+ {
+ public string ClassName { get { return "DataEntry.NoStartEnd.Single"; } }
+
+ public void ResetStaticProperties() { EntryFormNoStartEnd.ResetStaticProperties(); }
+
+ public IComponent DummyComponent() { return new EntryFormNoStartEnd(); }
+
+ public IComponent GetComponent(IComponentCfg cfg, IList components) { return new EntryFormNoStartEnd(cfg); }
+
+ public IComponentCfg DefaultConfig() { return new EntryFormCfg(this); }
+
+ public IComponentCfg CmpntCfgFromCmpntEntity(Config.Entities.Component component)
+ {
+ return ComponentCfgBase.CreateFromDbEntity(EntryFormCfg.Serializer, component, this);
+ }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/TestStartEndForm.cs b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.cs
new file mode 100644
index 000000000..5eb874075
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.cs
@@ -0,0 +1,360 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+using System;
+using System.Collections.Generic;
+using System.Windows.Forms;
+using log4net;
+using TBF.BenchControl.GenericDevices;
+using TBF.Resources;
+
+namespace TBF.BenchControl.DataEntry.Single
+{
+ public partial class TestStartEndForm : Form, GenericDevices.IHasCompleted
+ {
+ private static readonly ILog log = LogManager.GetLogger(typeof(TestStartEndForm));
+
+ // Set to 'true' when the form closes
+ public bool Completed { get { return completed; } }
+ bool completed;
+
+ /// Number of text boxes for serial numbers
+ public readonly int WaterMetersCount;
+ readonly IRegisterReader[] regReaders;
+ readonly bool[] disabled;
+
+ // To be retrieved after the form closes
+ public double[] WMStartState;
+
+ // To be retrieved after the form closes
+ public readonly string[] WMStartStateStr;
+
+ // To be retrieved after the form closes
+ public double[] WMEndState;
+
+ bool endStates; /// false=start states, true=end states
+ double refVolume;
+ double warningLimLo; /// limit to display exclamation mark, typically 2x errLimLo
+ double warningLimHi; /// limit to display exclamation mark, typically 2x errLimHi
+ bool fixedErrorLimits; /// false in case of calculated error limits
+
+ Button okButton;
+
+ Label[] labels;
+ TextBox[] startTextBoxes;
+ TextBox[] endTextBoxes;
+ Label[] exclamations;
+ ///
+ IList enabledTextBoxes;
+ IList enabledWmNrs;
+
+ public TestStartEndForm()
+ {
+ }
+
+ ///
+ /// Parameterless constructor initializing common part for start and endstate form
+ ///
+ public TestStartEndForm(int waterMetersCount, int lineSize)
+ {
+ InitializeComponent();
+ ControlBox = false;
+
+ WaterMetersCount = waterMetersCount;
+
+ okButton = new Button()
+ {
+ };
+
+ labels = new Label[waterMetersCount];
+ startTextBoxes = new TextBox[waterMetersCount];
+ endTextBoxes = new TextBox[waterMetersCount];
+ exclamations = new Label[waterMetersCount];
+
+ for (int i = 0; i < waterMetersCount; i++)
+ {
+ labels[i] = new Label();
+ startTextBoxes[i] = new TextBox();
+ endTextBoxes[i] = new TextBox();
+ exclamations[i] = new Label();
+ }
+
+ enabledTextBoxes = new List();
+ enabledWmNrs = new List();
+
+ completed = false;
+ StartForceCloseHandler();
+ }
+
+ ///
+ /// Constructor to fill in start states
+ ///
+ /// Number of water meters
+ /// Information from CycleBeginningForm about availability of water meters
+ public TestStartEndForm(int waterMetersCount, int lineSize, IRegisterReader[] regReaders, bool[] disabled)
+ : this(waterMetersCount, lineSize)
+ {
+ endStates = false;
+
+ this.WaterMetersCount = waterMetersCount;
+ this.regReaders = regReaders;
+ this.disabled = disabled;
+
+ WMStartState = new double[waterMetersCount];
+ WMStartStateStr = new string[waterMetersCount];
+ }
+
+ ///
+ /// Constructor to fill in end states
+ ///
+ /// Number of water meters
+ /// Information entered on test start
+ /// Information from CycleBeginningForm about availability of water meters
+ /// Reference volume, it is used to verify the end state, show/hide exclamation if necessary
+ /// Error limit low, it is used to verify the end state, show/hide exclamation if necessary
+ /// Error limit high, it is used to verify the end state, show/hide exclamation if necessary
+ public TestStartEndForm(int waterMetersCount, int lineSize, IRegisterReader[] regReaders, string[] wmStartStateStr, bool[] disabled,
+ double refVolume, double errLimLo, double errLimHi)
+ : this(waterMetersCount, lineSize)
+ {
+ endStates = true;
+
+ this.WaterMetersCount = waterMetersCount;
+ this.regReaders = regReaders;
+ if (wmStartStateStr == null || wmStartStateStr.Length != waterMetersCount)
+ throw (new Exception("Invalid 'wmStartStateStr' argument"));
+ this.WMStartStateStr = wmStartStateStr;
+ this.disabled = disabled;
+ this.refVolume = refVolume;
+ this.warningLimLo = 2 * errLimLo;
+ this.warningLimHi = 2 * errLimHi;
+ this.fixedErrorLimits = (errLimHi > errLimLo);
+
+ WMEndState = new double[waterMetersCount];
+ }
+
+ private void CycleEndForm_Load(object sender, EventArgs e)
+ {
+ Localize();
+
+ //Height = 115 + 90 * WaterMetersCount;
+
+ int firstWmIx = -1;
+ if (endStates)
+ {
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ if (WMStartStateStr != null && i < WMStartStateStr.Length)
+ {
+ startTextBoxes[i].Text = WMStartStateStr[i];
+ }
+
+ if (((i < disabled.Length) && disabled[i]) || ((i < regReaders.Length) && (regReaders[i] == null)))
+ {
+ endTextBoxes[i].Enabled = false;
+ }
+ else
+ {
+ endTextBoxes[i].Enabled = true;
+ enabledTextBoxes.Add(endTextBoxes[i]);
+ enabledWmNrs.Add(i);
+ if (firstWmIx == -1) firstWmIx = i;
+ }
+ }
+ }
+ else
+ {
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ if (((i < disabled.Length) && disabled[i]) || ((i < regReaders.Length) && (regReaders[i] == null)))
+ {
+ startTextBoxes[i].Enabled = false;
+ }
+ else
+ {
+ startTextBoxes[i].Enabled = true;
+ enabledTextBoxes.Add(startTextBoxes[i]);
+ enabledWmNrs.Add(i);
+ if (firstWmIx == -1) firstWmIx = i;
+ }
+ }
+ }
+
+ if (enabledTextBoxes.Count > 0)
+ {
+ enabledTextBoxes[0].Focus();
+ //largeTextBox.Text = string.Format("{0} {1}: {2}", Strings.Water_Meter, firstWmIx + 1, string.Empty);
+ }
+ }
+
+ void Localize()
+ {
+ Text = Strings.Water_Meter_States;
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ labels[i].Text = string.Format("{0} {1}", Strings.Water_Meter, i + 1);
+ }
+ //startLabel.Text = startLabel2.Text = Strings.Start;
+ //endLabel.Text = endLabel2.Text = Strings.End;
+ okButton.Text = Strings.OkBtnText;
+ }
+
+ private void okButton_Click(object sender, EventArgs eArgs)
+ {
+ try
+ {
+ if (endStates)
+ {
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ if (endTextBoxes[i].Visible && endTextBoxes[i].Enabled)
+ {
+ WMEndState[i] = Utils.ParseUDouble(endTextBoxes[i].Text);
+ }
+ }
+ }
+ else
+ {
+ for (int i = 0; i < WaterMetersCount; i++)
+ {
+ if (startTextBoxes[i].Visible && startTextBoxes[i].Enabled)
+ {
+ WMStartStateStr[i] = startTextBoxes[i].Text;
+ WMStartState[i] = Utils.ParseUDouble(startTextBoxes[i].Text);
+ }
+ }
+ }
+ }
+ catch(Exception e)
+ {
+ log.ErrorFormat("Exception: {0}", e.Message);
+ return;
+ }
+
+ completed = true;
+ Close();
+ }
+
+ #region Forced close handling
+
+ public void StartForceCloseHandler()
+ {
+ UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args)
+ {
+ if (InvokeRequired) { Invoke(new EventHandler(OnForceClose), sender, args); }
+ else OnForceClose(sender, args);
+ };
+ }
+
+ void OnForceClose(object sender, EventArgs args)
+ {
+ DialogResult = DialogResult.Cancel;
+ Close();
+ }
+
+ #endregion
+
+
+ ///
+ /// Calculate the approximate error and verify whether it is within limits.
+ /// Make an exclamation mark visible if out of range.
+ /// Similar event handler is implemented for all endTextBoxes (1..24).
+ ///
+ private void ProcEndTextChanged(object sender, EventArgs e, TextBox endTBox)
+ {
+ int wmIx = -1;
+ for (int i = 0; i < startTextBoxes.Length; i++)
+ {
+ if (endTextBoxes[i] == endTBox)
+ {
+ wmIx = i;
+ break;
+ }
+ }
+
+ double err = 0;
+ try
+ {
+ double endState = Utils.ParseUDouble(endTextBoxes[wmIx].Text);
+ double startState = Utils.ParseUDouble(startTextBoxes[wmIx].Text);
+ err = 100.0 * (endState - startState - refVolume) / refVolume;
+ }
+ catch { err = 1000.0f; };
+
+ bool errorOoR = fixedErrorLimits ? ((err < warningLimLo) || (warningLimHi < err)) : ((err < -6) || (+6 < err));
+ exclamations[wmIx].Visible = errorOoR;
+ //largeExclamationLabel.Visible = errorOoR;
+ //largeTextBox.Text = string.Format("{0} {1}: {2}", Strings.Water_Meter, wmIx + 1, endTextBoxes[wmIx].Text);
+ }
+
+ //private void endTextBox1_TextChanged(object sndr, EventArgs e) { ProcEndTextChanged(sndr, e, endTextBox1); }
+ //private void endTextBox2_TextChanged(object sndr, EventArgs e) { ProcEndTextChanged(sndr, e, endTextBox2); }
+ //private void endTextBox3_TextChanged(object sndr, EventArgs e) { ProcEndTextChanged(sndr, e, endTextBox3); }
+
+ //private void endTextBox1_MouseClick(object sender, MouseEventArgs e) { ProcEndTextChanged(sender, e, endTextBox1); }
+ //private void endTextBox2_MouseClick(object sender, MouseEventArgs e) { ProcEndTextChanged(sender, e, endTextBox2); }
+ //private void endTextBox3_MouseClick(object sender, MouseEventArgs e) { ProcEndTextChanged(sender, e, endTextBox3); }
+
+ ///
+ /// Process a key press within any enabled text boxe
+ ///
+ ///
+ ///
+ /// TextBox control which received the event
+ private void ProcKeyPress(object sender, KeyPressEventArgs e, TextBox currentFocusOwner)
+ {
+ if (e.KeyChar == '+')
+ {
+ /// Process '+' key ..... Form completed
+ okButton_Click(sender, e);
+ }
+
+ if (e.KeyChar == '\r')
+ {
+ /// Process key ..... Next text field
+ if (enabledTextBoxes.Count < 2) return; /// There is just one enabled textbox
+
+ for (int i = 0; i < enabledTextBoxes.Count; i++)
+ {
+ if (enabledTextBoxes[i] == currentFocusOwner)
+ {
+ /// Change focus to the next enabled text box
+ int newTBIdx = (i + 1) % enabledTextBoxes.Count;
+ enabledTextBoxes[newTBIdx].Focus();
+ //largeTextBox.Text = string.Format("{0} {1}: {2}", Strings.Water_Meter, enabledWmNrs[newTBIdx] + 1, enabledTextBoxes[newTBIdx].Text);
+ //largeExclamationLabel.Visible = false;
+ return;
+ }
+ }
+ }
+ }
+
+ //private void startTextBox1_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox1); }
+ //private void startTextBox2_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox2); }
+ //private void startTextBox3_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, startTextBox3); }
+
+ //private void endTextBox1_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox1); }
+ //private void endTextBox2_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox2); }
+ //private void endTextBox3_KeyPress(object sndr, KeyPressEventArgs e) { ProcKeyPress(sndr, e, endTextBox3); }
+
+
+ private void ProcStartTextChanged(object sender, EventArgs e, TextBox startTBox)
+ {
+ int wmIx = -1;
+ for (int i = 0; i < startTextBoxes.Length; i++)
+ {
+ if (startTextBoxes[i] == startTBox) { wmIx = i; break; }
+ }
+ //largeTextBox.Text = string.Format("{0} {1}: {2}", Strings.Water_Meter, wmIx + 1, startTextBoxes[wmIx].Text);
+ //largeExclamationLabel.Visible = false;
+ }
+
+ //private void startTextBox1_TextChanged(object sender, EventArgs e) { ProcStartTextChanged(sender, e, startTextBox1); }
+ //private void startTextBox2_TextChanged(object sender, EventArgs e) { ProcStartTextChanged(sender, e, startTextBox2); }
+ //private void startTextBox3_TextChanged(object sender, EventArgs e) { ProcStartTextChanged(sender, e, startTextBox3); }
+
+ //private void startTextBox1_MouseClick(object sender, MouseEventArgs e) { ProcStartTextChanged(sender, e, startTextBox1); }
+ //private void startTextBox2_MouseClick(object sender, MouseEventArgs e) { ProcStartTextChanged(sender, e, startTextBox2); }
+ //private void startTextBox3_MouseClick(object sender, MouseEventArgs e) { ProcStartTextChanged(sender, e, startTextBox3); }
+ }
+}
diff --git a/TBF/BenchControl/DataEntry/Single/TestStartEndForm.designer.cs b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.designer.cs
new file mode 100644
index 000000000..0b013d814
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.designer.cs
@@ -0,0 +1,81 @@
+///
+/// Copyright (c) 2018 Sensus Slovensko a.s.
+///
+namespace TBF.BenchControl.DataEntry.Single
+{
+ partial class TestStartEndForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.IsSplitterFixed = true;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.BackColor = System.Drawing.Color.DarkGoldenrod;
+ this.splitContainer1.Size = new System.Drawing.Size(270, 237);
+ this.splitContainer1.SplitterDistance = 90;
+ this.splitContainer1.SplitterWidth = 1;
+ this.splitContainer1.TabIndex = 0;
+ //
+ // TestStartEndForm
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.BackColor = System.Drawing.SystemColors.Control;
+ this.ClientSize = new System.Drawing.Size(270, 237);
+ this.Controls.Add(this.splitContainer1);
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
+ this.Name = "TestStartEndForm";
+ this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
+ this.Text = "End States";
+ this.TopMost = true;
+ this.Load += new System.EventHandler(this.CycleEndForm_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.SplitContainer splitContainer1;
+
+
+ }
+}
\ No newline at end of file
diff --git a/TBF/BenchControl/DataEntry/Single/TestStartEndForm.resx b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.resx
new file mode 100644
index 000000000..1af7de150
--- /dev/null
+++ b/TBF/BenchControl/DataEntry/Single/TestStartEndForm.resx
@@ -0,0 +1,120 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/TBF/BenchControl/TbfComponents.cs b/TBF/BenchControl/TbfComponents.cs
index f7ac5eaf8..11092753e 100644
--- a/TBF/BenchControl/TbfComponents.cs
+++ b/TBF/BenchControl/TbfComponents.cs
@@ -26,7 +26,9 @@ namespace TBF.BenchControl
Factories.Add(new DataEntry.Munich3.EntryFormFactory());
Factories.Add(new DataEntry.Munich.EntryFormFactory());
Factories.Add(new DataEntry.iPerl.EntryFormFactory());
- Factories.Add(new DataEntry.Standard6.Factory());
+ Factories.Add(new DataEntry.Single.Factory());
+ Factories.Add(new DataEntry.Single.FactoryNoStartEnd());
+ Factories.Add(new DataEntry.Standard6.Factory());
Factories.Add(new DataEntry.Standard6.FactoryNoStartEnd());
Factories.Add(new DataEntry.Standard12.Factory());
Factories.Add(new DataEntry.Standard12.FactoryNoStartEnd());
diff --git a/TBF/TBF.csproj b/TBF/TBF.csproj
index 4a875b8cb..0d0e0d427 100644
--- a/TBF/TBF.csproj
+++ b/TBF/TBF.csproj
@@ -281,6 +281,35 @@
TestStartEndForm.cs
+
+ Form
+
+
+ CycleBeginningForm.cs
+
+
+ Form
+
+
+ CycleEndForm.cs
+
+
+
+
+ UserControl
+
+
+ EntryFormCfgCtrl.cs
+
+
+
+
+
+ Form
+
+
+ TestStartEndForm.cs
+
Form
@@ -2288,6 +2317,18 @@
EntryFormCfgCtrl.cs
+
+ CycleBeginningForm.cs
+
+
+ CycleEndForm.cs
+
+
+ EntryFormCfgCtrl.cs
+
+
+ TestStartEndForm.cs
+
CycleBeginningForm.cs