/// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label_S7PlcSimInstNum = new System.Windows.Forms.Label();
     this.groupBox_S7PLCSim = new System.Windows.Forms.GroupBox();
     this.spinEdit_InstNum = new DevExpress.XtraEditors.SpinEdit();
     this.button_Disconnect = new System.Windows.Forms.Button();
     this.button_Connect = new System.Windows.Forms.Button();
     this.errorProvider = new System.Windows.Forms.ErrorProvider();
     this.groupBox_Options = new System.Windows.Forms.GroupBox();
     this.label_WriteRequests = new System.Windows.Forms.Label();
     this.label_WR = new System.Windows.Forms.Label();
     this.label_CycleTime = new System.Windows.Forms.Label();
     this.label_CTime = new System.Windows.Forms.Label();
     this.spinEdit_Slowing = new DevExpress.XtraEditors.SpinEdit();
     this.label_Slowdown = new System.Windows.Forms.Label();
     this.checkBox_CScan = new System.Windows.Forms.CheckBox();
     this.groupBox_Items = new System.Windows.Forms.GroupBox();
     this.label_CountN = new System.Windows.Forms.Label();
     this.label_Count = new System.Windows.Forms.Label();
     this.okCancelButton = new Utils.SpecialControls.OKCancelButton();
     this.groupBox_S7PLCSim.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spinEdit_InstNum.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     this.groupBox_Options.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spinEdit_Slowing.Properties)).BeginInit();
     this.groupBox_Items.SuspendLayout();
     this.SuspendLayout();
     //
     // label_S7PlcSimInstNum
     //
     this.label_S7PlcSimInstNum.AutoSize = true;
     this.label_S7PlcSimInstNum.Location = new System.Drawing.Point(79, 24);
     this.label_S7PlcSimInstNum.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_S7PlcSimInstNum.Name = "label_S7PlcSimInstNum";
     this.label_S7PlcSimInstNum.Size = new System.Drawing.Size(119, 17);
     this.label_S7PlcSimInstNum.TabIndex = 0;
     this.label_S7PlcSimInstNum.Text = "Instance Number:";
     //
     // groupBox_S7PLCSim
     //
     this.groupBox_S7PLCSim.Controls.Add(this.spinEdit_InstNum);
     this.groupBox_S7PLCSim.Controls.Add(this.button_Disconnect);
     this.groupBox_S7PLCSim.Controls.Add(this.button_Connect);
     this.groupBox_S7PLCSim.Controls.Add(this.label_S7PlcSimInstNum);
     this.groupBox_S7PLCSim.Location = new System.Drawing.Point(9, 1);
     this.groupBox_S7PLCSim.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox_S7PLCSim.Name = "groupBox_S7PLCSim";
     this.groupBox_S7PLCSim.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox_S7PLCSim.Size = new System.Drawing.Size(345, 90);
     this.groupBox_S7PLCSim.TabIndex = 0;
     this.groupBox_S7PLCSim.TabStop = false;
     this.groupBox_S7PLCSim.Text = "Instance";
     //
     // spinEdit_InstNum
     //
     this.spinEdit_InstNum.EditValue = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.spinEdit_InstNum.Location = new System.Drawing.Point(207, 19);
     this.spinEdit_InstNum.Margin = new System.Windows.Forms.Padding(4);
     this.spinEdit_InstNum.Name = "spinEdit_InstNum";
     this.spinEdit_InstNum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.spinEdit_InstNum.Properties.IsFloatValue = false;
     this.spinEdit_InstNum.Properties.LookAndFeel.SkinName = "Office 2010 Black";
     this.spinEdit_InstNum.Properties.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D;
     this.spinEdit_InstNum.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.spinEdit_InstNum.Properties.Mask.EditMask = "N00";
     this.spinEdit_InstNum.Properties.MaxValue = new decimal(new int[] {
     8,
     0,
     0,
     0});
     this.spinEdit_InstNum.Properties.MinValue = new decimal(new int[] {
     1,
     0,
     0,
     0});
     this.spinEdit_InstNum.Size = new System.Drawing.Size(59, 24);
     this.spinEdit_InstNum.TabIndex = 0;
     this.spinEdit_InstNum.EditValueChanged += new System.EventHandler(this.spinEdit_InstNum_EditValueChanged);
     //
     // button_Disconnect
     //
     this.button_Disconnect.Location = new System.Drawing.Point(177, 54);
     this.button_Disconnect.Margin = new System.Windows.Forms.Padding(4);
     this.button_Disconnect.Name = "button_Disconnect";
     this.button_Disconnect.Size = new System.Drawing.Size(105, 27);
     this.button_Disconnect.TabIndex = 2;
     this.button_Disconnect.Text = "Disconnect";
     this.button_Disconnect.UseVisualStyleBackColor = true;
     this.button_Disconnect.Click += new System.EventHandler(this.button_Disconnect_Click);
     //
     // button_Connect
     //
     this.button_Connect.Location = new System.Drawing.Point(63, 54);
     this.button_Connect.Margin = new System.Windows.Forms.Padding(4);
     this.button_Connect.Name = "button_Connect";
     this.button_Connect.Size = new System.Drawing.Size(105, 27);
     this.button_Connect.TabIndex = 1;
     this.button_Connect.Text = "Connect";
     this.button_Connect.UseVisualStyleBackColor = true;
     this.button_Connect.Click += new System.EventHandler(this.button_Connect_Click);
     //
     // errorProvider
     //
     this.errorProvider.ContainerControl = this;
     //
     // groupBox_Options
     //
     this.groupBox_Options.Controls.Add(this.label_WriteRequests);
     this.groupBox_Options.Controls.Add(this.label_WR);
     this.groupBox_Options.Controls.Add(this.label_CycleTime);
     this.groupBox_Options.Controls.Add(this.label_CTime);
     this.groupBox_Options.Controls.Add(this.spinEdit_Slowing);
     this.groupBox_Options.Controls.Add(this.label_Slowdown);
     this.groupBox_Options.Controls.Add(this.checkBox_CScan);
     this.groupBox_Options.Location = new System.Drawing.Point(9, 99);
     this.groupBox_Options.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox_Options.Name = "groupBox_Options";
     this.groupBox_Options.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox_Options.Size = new System.Drawing.Size(345, 131);
     this.groupBox_Options.TabIndex = 1;
     this.groupBox_Options.TabStop = false;
     this.groupBox_Options.Text = "Options";
     //
     // label_WriteRequests
     //
     this.label_WriteRequests.AutoSize = true;
     this.label_WriteRequests.Location = new System.Drawing.Point(223, 106);
     this.label_WriteRequests.Name = "label_WriteRequests";
     this.label_WriteRequests.Size = new System.Drawing.Size(16, 17);
     this.label_WriteRequests.TabIndex = 16;
     this.label_WriteRequests.Text = "0";
     this.label_WriteRequests.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label_WR
     //
     this.label_WR.AutoSize = true;
     this.label_WR.Location = new System.Drawing.Point(112, 106);
     this.label_WR.Name = "label_WR";
     this.label_WR.Size = new System.Drawing.Size(104, 17);
     this.label_WR.TabIndex = 15;
     this.label_WR.Text = "Write requests:";
     //
     // label_CycleTime
     //
     this.label_CycleTime.AutoSize = true;
     this.label_CycleTime.Location = new System.Drawing.Point(105, 79);
     this.label_CycleTime.Name = "label_CycleTime";
     this.label_CycleTime.Size = new System.Drawing.Size(111, 17);
     this.label_CycleTime.TabIndex = 14;
     this.label_CycleTime.Text = "Cycle Time [ms]:";
     this.label_CycleTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // label_CTime
     //
     this.label_CTime.AutoSize = true;
     this.label_CTime.Location = new System.Drawing.Point(223, 79);
     this.label_CTime.Name = "label_CTime";
     this.label_CTime.Size = new System.Drawing.Size(16, 17);
     this.label_CTime.TabIndex = 13;
     this.label_CTime.Text = "0";
     this.label_CTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // spinEdit_Slowing
     //
     this.spinEdit_Slowing.EditValue = new decimal(new int[] {
     0,
     0,
     0,
     0});
     this.spinEdit_Slowing.Location = new System.Drawing.Point(166, 47);
     this.spinEdit_Slowing.Margin = new System.Windows.Forms.Padding(4);
     this.spinEdit_Slowing.Name = "spinEdit_Slowing";
     this.spinEdit_Slowing.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
     new DevExpress.XtraEditors.Controls.EditorButton()});
     this.spinEdit_Slowing.Properties.IsFloatValue = false;
     this.spinEdit_Slowing.Properties.LookAndFeel.SkinName = "Office 2010 Black";
     this.spinEdit_Slowing.Properties.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Style3D;
     this.spinEdit_Slowing.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.spinEdit_Slowing.Properties.Mask.EditMask = "N00";
     this.spinEdit_Slowing.Properties.MaxValue = new decimal(new int[] {
     100,
     0,
     0,
     0});
     this.spinEdit_Slowing.Size = new System.Drawing.Size(93, 24);
     this.spinEdit_Slowing.TabIndex = 1;
     this.spinEdit_Slowing.EditValueChanged += new System.EventHandler(this.spinEdit_Slowing_EditValueChanged);
     //
     // label_Slowdown
     //
     this.label_Slowdown.AutoSize = true;
     this.label_Slowdown.Location = new System.Drawing.Point(86, 51);
     this.label_Slowdown.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_Slowdown.Name = "label_Slowdown";
     this.label_Slowdown.Size = new System.Drawing.Size(74, 17);
     this.label_Slowdown.TabIndex = 6;
     this.label_Slowdown.Text = "Slowdown:";
     //
     // checkBox_CScan
     //
     this.checkBox_CScan.AutoSize = true;
     this.checkBox_CScan.Location = new System.Drawing.Point(25, 20);
     this.checkBox_CScan.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.checkBox_CScan.Name = "checkBox_CScan";
     this.checkBox_CScan.Size = new System.Drawing.Size(284, 21);
     this.checkBox_CScan.TabIndex = 0;
     this.checkBox_CScan.Text = "Switch on continuous scan after connect";
     this.checkBox_CScan.UseVisualStyleBackColor = true;
     this.checkBox_CScan.CheckedChanged += new System.EventHandler(this.checkBox_CScan_CheckedChanged);
     //
     // groupBox_Items
     //
     this.groupBox_Items.Controls.Add(this.label_CountN);
     this.groupBox_Items.Controls.Add(this.label_Count);
     this.groupBox_Items.Location = new System.Drawing.Point(9, 236);
     this.groupBox_Items.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox_Items.Name = "groupBox_Items";
     this.groupBox_Items.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.groupBox_Items.Size = new System.Drawing.Size(345, 43);
     this.groupBox_Items.TabIndex = 2;
     this.groupBox_Items.TabStop = false;
     this.groupBox_Items.Text = "Items";
     //
     // label_CountN
     //
     this.label_CountN.AutoSize = true;
     this.label_CountN.Location = new System.Drawing.Point(191, 16);
     this.label_CountN.Name = "label_CountN";
     this.label_CountN.Size = new System.Drawing.Size(16, 17);
     this.label_CountN.TabIndex = 1;
     this.label_CountN.Text = "0";
     //
     // label_Count
     //
     this.label_Count.AutoSize = true;
     this.label_Count.Location = new System.Drawing.Point(136, 16);
     this.label_Count.Name = "label_Count";
     this.label_Count.Size = new System.Drawing.Size(49, 17);
     this.label_Count.TabIndex = 0;
     this.label_Count.Text = "Count:";
     //
     // okCancelButton
     //
     this.okCancelButton.Location = new System.Drawing.Point(87, 286);
     this.okCancelButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.okCancelButton.MaximumSize = new System.Drawing.Size(188, 33);
     this.okCancelButton.MinimumSize = new System.Drawing.Size(188, 33);
     this.okCancelButton.Name = "okCancelButton";
     this.okCancelButton.Size = new System.Drawing.Size(188, 33);
     this.okCancelButton.TabIndex = 3;
     this.okCancelButton.ButtonClick += new System.EventHandler(this.okCancelButton_ButtonClick);
     //
     // ConnectionSetupForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(362, 324);
     this.ControlBox = false;
     this.Controls.Add(this.okCancelButton);
     this.Controls.Add(this.groupBox_Items);
     this.Controls.Add(this.groupBox_Options);
     this.Controls.Add(this.groupBox_S7PLCSim);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview = true;
     this.Margin = new System.Windows.Forms.Padding(4);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "ConnectionSetupForm";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "S7PLCSim Connection";
     this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SetupForm_FormClosed);
     this.Load += new System.EventHandler(this.ConnectionSetupForm_Load);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ConnectionSetupForm_KeyDown);
     this.groupBox_S7PLCSim.ResumeLayout(false);
     this.groupBox_S7PLCSim.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spinEdit_InstNum.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
     this.groupBox_Options.ResumeLayout(false);
     this.groupBox_Options.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.spinEdit_Slowing.Properties)).EndInit();
     this.groupBox_Items.ResumeLayout(false);
     this.groupBox_Items.PerformLayout();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.groupBox_Raw = new System.Windows.Forms.GroupBox();
     this.checkBox_Fault = new System.Windows.Forms.CheckBox();
     this.textBox_FValue = new System.Windows.Forms.TextBox();
     this.label_FValue = new System.Windows.Forms.Label();
     this.itemEditBox_Item = new Utils.SpecialControls.ItemEditBox();
     this.label_Item = new System.Windows.Forms.Label();
     this.label_RMin = new System.Windows.Forms.Label();
     this.label_RMax = new System.Windows.Forms.Label();
     this.textBox_RawMin = new System.Windows.Forms.TextBox();
     this.textBox_RawMax = new System.Windows.Forms.TextBox();
     this.groupBox_Physical = new System.Windows.Forms.GroupBox();
     this.label_Units = new System.Windows.Forms.Label();
     this.label_PMin = new System.Windows.Forms.Label();
     this.label_PMax = new System.Windows.Forms.Label();
     this.textBox_Units = new System.Windows.Forms.TextBox();
     this.textBox_PMin = new System.Windows.Forms.TextBox();
     this.textBox_PMax = new System.Windows.Forms.TextBox();
     this.tabControl_Thrs = new System.Windows.Forms.TabControl();
     this.tabPage_Value = new System.Windows.Forms.TabPage();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.itemEditBox_Thd = new Utils.SpecialControls.ItemEditBox();
     this.button_Modify = new System.Windows.Forms.Button();
     this.button_Delete = new System.Windows.Forms.Button();
     this.button_Add = new System.Windows.Forms.Button();
     this.label_Value = new System.Windows.Forms.Label();
     this.textBox_ThdValue = new System.Windows.Forms.TextBox();
     this.label_OP = new System.Windows.Forms.Label();
     this.comboBox_Operation = new System.Windows.Forms.ComboBox();
     this.label_Item2 = new System.Windows.Forms.Label();
     this.dataGridView_Thd = new System.Windows.Forms.DataGridView();
     this.Operation = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ItemID = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.okCancelButton = new Utils.SpecialControls.OKCancelButton();
     this.groupBox_Raw.SuspendLayout();
     this.groupBox_Physical.SuspendLayout();
     this.tabControl_Thrs.SuspendLayout();
     this.tabPage_Value.SuspendLayout();
     this.tabPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Thd)).BeginInit();
     this.SuspendLayout();
     //
     // groupBox_Raw
     //
     this.groupBox_Raw.Controls.Add(this.checkBox_Fault);
     this.groupBox_Raw.Controls.Add(this.textBox_FValue);
     this.groupBox_Raw.Controls.Add(this.label_FValue);
     this.groupBox_Raw.Controls.Add(this.itemEditBox_Item);
     this.groupBox_Raw.Controls.Add(this.label_Item);
     this.groupBox_Raw.Controls.Add(this.label_RMin);
     this.groupBox_Raw.Controls.Add(this.label_RMax);
     this.groupBox_Raw.Controls.Add(this.textBox_RawMin);
     this.groupBox_Raw.Controls.Add(this.textBox_RawMax);
     this.groupBox_Raw.Location = new System.Drawing.Point(5, 7);
     this.groupBox_Raw.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox_Raw.Name = "groupBox_Raw";
     this.groupBox_Raw.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox_Raw.Size = new System.Drawing.Size(421, 128);
     this.groupBox_Raw.TabIndex = 0;
     this.groupBox_Raw.TabStop = false;
     this.groupBox_Raw.Text = "Raw value";
     //
     // checkBox_Fault
     //
     this.checkBox_Fault.AutoSize = true;
     this.checkBox_Fault.Location = new System.Drawing.Point(53, 96);
     this.checkBox_Fault.Name = "checkBox_Fault";
     this.checkBox_Fault.Size = new System.Drawing.Size(61, 21);
     this.checkBox_Fault.TabIndex = 14;
     this.checkBox_Fault.Text = "Fault";
     this.checkBox_Fault.UseVisualStyleBackColor = true;
     //
     // textBox_FValue
     //
     this.textBox_FValue.Location = new System.Drawing.Point(215, 95);
     this.textBox_FValue.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_FValue.Name = "textBox_FValue";
     this.textBox_FValue.Size = new System.Drawing.Size(152, 22);
     this.textBox_FValue.TabIndex = 13;
     this.textBox_FValue.Text = "32767";
     //
     // label_FValue
     //
     this.label_FValue.AutoSize = true;
     this.label_FValue.Location = new System.Drawing.Point(126, 98);
     this.label_FValue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_FValue.Name = "label_FValue";
     this.label_FValue.Size = new System.Drawing.Size(81, 17);
     this.label_FValue.TabIndex = 12;
     this.label_FValue.Text = "Fault value:";
     //
     // itemEditBox_Item
     //
     this.itemEditBox_Item.ItemName = "";
     this.itemEditBox_Item.ItemRequirements = "Real, Read, Write, Obligatory";
     this.itemEditBox_Item.ItemToolTip = "";
     this.itemEditBox_Item.Location = new System.Drawing.Point(59, 21);
     this.itemEditBox_Item.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.itemEditBox_Item.Name = "itemEditBox_Item";
     this.itemEditBox_Item.Size = new System.Drawing.Size(356, 30);
     this.itemEditBox_Item.TabIndex = 0;
     this.itemEditBox_Item.ButtonClick += new System.EventHandler(this.ItemButtonClick);
     //
     // label_Item
     //
     this.label_Item.AutoSize = true;
     this.label_Item.Location = new System.Drawing.Point(12, 28);
     this.label_Item.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_Item.Name = "label_Item";
     this.label_Item.Size = new System.Drawing.Size(38, 17);
     this.label_Item.TabIndex = 11;
     this.label_Item.Text = "Item:";
     //
     // label_RMin
     //
     this.label_RMin.AutoSize = true;
     this.label_RMin.Location = new System.Drawing.Point(220, 66);
     this.label_RMin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_RMin.Name = "label_RMin";
     this.label_RMin.Size = new System.Drawing.Size(34, 17);
     this.label_RMin.TabIndex = 3;
     this.label_RMin.Text = "Min:";
     //
     // label_RMax
     //
     this.label_RMax.AutoSize = true;
     this.label_RMax.Location = new System.Drawing.Point(12, 66);
     this.label_RMax.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_RMax.Name = "label_RMax";
     this.label_RMax.Size = new System.Drawing.Size(37, 17);
     this.label_RMax.TabIndex = 2;
     this.label_RMax.Text = "Max:";
     //
     // textBox_RawMin
     //
     this.textBox_RawMin.Location = new System.Drawing.Point(260, 63);
     this.textBox_RawMin.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_RawMin.Name = "textBox_RawMin";
     this.textBox_RawMin.Size = new System.Drawing.Size(153, 22);
     this.textBox_RawMin.TabIndex = 2;
     this.textBox_RawMin.Text = "0";
     //
     // textBox_RawMax
     //
     this.textBox_RawMax.Location = new System.Drawing.Point(59, 63);
     this.textBox_RawMax.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_RawMax.Name = "textBox_RawMax";
     this.textBox_RawMax.Size = new System.Drawing.Size(152, 22);
     this.textBox_RawMax.TabIndex = 1;
     this.textBox_RawMax.Text = "27648";
     //
     // groupBox_Physical
     //
     this.groupBox_Physical.Controls.Add(this.label_Units);
     this.groupBox_Physical.Controls.Add(this.label_PMin);
     this.groupBox_Physical.Controls.Add(this.label_PMax);
     this.groupBox_Physical.Controls.Add(this.textBox_Units);
     this.groupBox_Physical.Controls.Add(this.textBox_PMin);
     this.groupBox_Physical.Controls.Add(this.textBox_PMax);
     this.groupBox_Physical.Location = new System.Drawing.Point(5, 143);
     this.groupBox_Physical.Margin = new System.Windows.Forms.Padding(4);
     this.groupBox_Physical.Name = "groupBox_Physical";
     this.groupBox_Physical.Padding = new System.Windows.Forms.Padding(4);
     this.groupBox_Physical.Size = new System.Drawing.Size(421, 94);
     this.groupBox_Physical.TabIndex = 1;
     this.groupBox_Physical.TabStop = false;
     this.groupBox_Physical.Text = "Physical value";
     //
     // label_Units
     //
     this.label_Units.AutoSize = true;
     this.label_Units.Location = new System.Drawing.Point(7, 63);
     this.label_Units.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_Units.Name = "label_Units";
     this.label_Units.Size = new System.Drawing.Size(44, 17);
     this.label_Units.TabIndex = 6;
     this.label_Units.Text = "Units:";
     //
     // label_PMin
     //
     this.label_PMin.AutoSize = true;
     this.label_PMin.Location = new System.Drawing.Point(220, 26);
     this.label_PMin.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_PMin.Name = "label_PMin";
     this.label_PMin.Size = new System.Drawing.Size(34, 17);
     this.label_PMin.TabIndex = 5;
     this.label_PMin.Text = "Min:";
     //
     // label_PMax
     //
     this.label_PMax.AutoSize = true;
     this.label_PMax.Location = new System.Drawing.Point(12, 26);
     this.label_PMax.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_PMax.Name = "label_PMax";
     this.label_PMax.Size = new System.Drawing.Size(37, 17);
     this.label_PMax.TabIndex = 4;
     this.label_PMax.Text = "Max:";
     //
     // textBox_Units
     //
     this.textBox_Units.Location = new System.Drawing.Point(59, 60);
     this.textBox_Units.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_Units.Name = "textBox_Units";
     this.textBox_Units.Size = new System.Drawing.Size(68, 22);
     this.textBox_Units.TabIndex = 2;
     //
     // textBox_PMin
     //
     this.textBox_PMin.Location = new System.Drawing.Point(260, 23);
     this.textBox_PMin.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_PMin.Name = "textBox_PMin";
     this.textBox_PMin.Size = new System.Drawing.Size(153, 22);
     this.textBox_PMin.TabIndex = 1;
     this.textBox_PMin.Text = "0";
     //
     // textBox_PMax
     //
     this.textBox_PMax.Location = new System.Drawing.Point(59, 23);
     this.textBox_PMax.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_PMax.Name = "textBox_PMax";
     this.textBox_PMax.Size = new System.Drawing.Size(152, 22);
     this.textBox_PMax.TabIndex = 0;
     this.textBox_PMax.Text = "100";
     //
     // tabControl_Thrs
     //
     this.tabControl_Thrs.Controls.Add(this.tabPage_Value);
     this.tabControl_Thrs.Controls.Add(this.tabPage2);
     this.tabControl_Thrs.Location = new System.Drawing.Point(3, 2);
     this.tabControl_Thrs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tabControl_Thrs.Name = "tabControl_Thrs";
     this.tabControl_Thrs.SelectedIndex = 0;
     this.tabControl_Thrs.Size = new System.Drawing.Size(444, 272);
     this.tabControl_Thrs.TabIndex = 0;
     //
     // tabPage_Value
     //
     this.tabPage_Value.Controls.Add(this.groupBox_Raw);
     this.tabPage_Value.Controls.Add(this.groupBox_Physical);
     this.tabPage_Value.Location = new System.Drawing.Point(4, 25);
     this.tabPage_Value.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tabPage_Value.Name = "tabPage_Value";
     this.tabPage_Value.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tabPage_Value.Size = new System.Drawing.Size(436, 243);
     this.tabPage_Value.TabIndex = 0;
     this.tabPage_Value.Text = "Value";
     this.tabPage_Value.UseVisualStyleBackColor = true;
     //
     // tabPage2
     //
     this.tabPage2.Controls.Add(this.itemEditBox_Thd);
     this.tabPage2.Controls.Add(this.button_Modify);
     this.tabPage2.Controls.Add(this.button_Delete);
     this.tabPage2.Controls.Add(this.button_Add);
     this.tabPage2.Controls.Add(this.label_Value);
     this.tabPage2.Controls.Add(this.textBox_ThdValue);
     this.tabPage2.Controls.Add(this.label_OP);
     this.tabPage2.Controls.Add(this.comboBox_Operation);
     this.tabPage2.Controls.Add(this.label_Item2);
     this.tabPage2.Controls.Add(this.dataGridView_Thd);
     this.tabPage2.Location = new System.Drawing.Point(4, 25);
     this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tabPage2.Name = "tabPage2";
     this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.tabPage2.Size = new System.Drawing.Size(436, 243);
     this.tabPage2.TabIndex = 1;
     this.tabPage2.Text = "Thresholds";
     this.tabPage2.UseVisualStyleBackColor = true;
     //
     // itemEditBox_Thd
     //
     this.itemEditBox_Thd.ItemName = "";
     this.itemEditBox_Thd.ItemRequirements = "Binary, Write, Obligatory";
     this.itemEditBox_Thd.ItemToolTip = "";
     this.itemEditBox_Thd.Location = new System.Drawing.Point(107, 63);
     this.itemEditBox_Thd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.itemEditBox_Thd.Name = "itemEditBox_Thd";
     this.itemEditBox_Thd.Size = new System.Drawing.Size(299, 30);
     this.itemEditBox_Thd.TabIndex = 2;
     this.itemEditBox_Thd.ButtonClick += new System.EventHandler(this.ItemButtonClick);
     //
     // button_Modify
     //
     this.button_Modify.Location = new System.Drawing.Point(260, 98);
     this.button_Modify.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.button_Modify.Name = "button_Modify";
     this.button_Modify.Size = new System.Drawing.Size(75, 26);
     this.button_Modify.TabIndex = 5;
     this.button_Modify.Text = "Modify";
     this.button_Modify.UseVisualStyleBackColor = true;
     this.button_Modify.Click += new System.EventHandler(this.button_Modify_Click);
     //
     // button_Delete
     //
     this.button_Delete.Location = new System.Drawing.Point(179, 98);
     this.button_Delete.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.button_Delete.Name = "button_Delete";
     this.button_Delete.Size = new System.Drawing.Size(75, 26);
     this.button_Delete.TabIndex = 4;
     this.button_Delete.Text = "Delete";
     this.button_Delete.UseVisualStyleBackColor = true;
     this.button_Delete.Click += new System.EventHandler(this.button_Delete_Click);
     //
     // button_Add
     //
     this.button_Add.Location = new System.Drawing.Point(97, 98);
     this.button_Add.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.button_Add.Name = "button_Add";
     this.button_Add.Size = new System.Drawing.Size(75, 26);
     this.button_Add.TabIndex = 3;
     this.button_Add.Text = "Add";
     this.button_Add.UseVisualStyleBackColor = true;
     this.button_Add.Click += new System.EventHandler(this.button_Add_Click);
     //
     // label_Value
     //
     this.label_Value.AutoSize = true;
     this.label_Value.Location = new System.Drawing.Point(52, 39);
     this.label_Value.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_Value.Name = "label_Value";
     this.label_Value.Size = new System.Drawing.Size(48, 17);
     this.label_Value.TabIndex = 27;
     this.label_Value.Text = "Value:";
     //
     // textBox_ThdValue
     //
     this.textBox_ThdValue.Location = new System.Drawing.Point(107, 36);
     this.textBox_ThdValue.Margin = new System.Windows.Forms.Padding(4);
     this.textBox_ThdValue.Name = "textBox_ThdValue";
     this.textBox_ThdValue.Size = new System.Drawing.Size(157, 22);
     this.textBox_ThdValue.TabIndex = 1;
     this.textBox_ThdValue.Text = "0";
     //
     // label_OP
     //
     this.label_OP.AutoSize = true;
     this.label_OP.Location = new System.Drawing.Point(27, 11);
     this.label_OP.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_OP.Name = "label_OP";
     this.label_OP.Size = new System.Drawing.Size(75, 17);
     this.label_OP.TabIndex = 26;
     this.label_OP.Text = "Operation:";
     //
     // comboBox_Operation
     //
     this.comboBox_Operation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox_Operation.FormattingEnabled = true;
     this.comboBox_Operation.Location = new System.Drawing.Point(107, 6);
     this.comboBox_Operation.Margin = new System.Windows.Forms.Padding(4);
     this.comboBox_Operation.Name = "comboBox_Operation";
     this.comboBox_Operation.Size = new System.Drawing.Size(297, 24);
     this.comboBox_Operation.TabIndex = 0;
     //
     // label_Item2
     //
     this.label_Item2.AutoSize = true;
     this.label_Item2.Location = new System.Drawing.Point(61, 70);
     this.label_Item2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
     this.label_Item2.Name = "label_Item2";
     this.label_Item2.Size = new System.Drawing.Size(38, 17);
     this.label_Item2.TabIndex = 13;
     this.label_Item2.Text = "Item:";
     //
     // dataGridView_Thd
     //
     this.dataGridView_Thd.AllowUserToAddRows = false;
     this.dataGridView_Thd.AllowUserToDeleteRows = false;
     this.dataGridView_Thd.AllowUserToResizeColumns = false;
     this.dataGridView_Thd.AllowUserToResizeRows = false;
     this.dataGridView_Thd.BorderStyle = System.Windows.Forms.BorderStyle.None;
     this.dataGridView_Thd.CausesValidation = false;
     this.dataGridView_Thd.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView_Thd.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.Operation,
     this.Value,
     this.ItemID});
     this.dataGridView_Thd.Location = new System.Drawing.Point(7, 130);
     this.dataGridView_Thd.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.dataGridView_Thd.MultiSelect = false;
     this.dataGridView_Thd.Name = "dataGridView_Thd";
     this.dataGridView_Thd.ReadOnly = true;
     this.dataGridView_Thd.RowHeadersVisible = false;
     this.dataGridView_Thd.RowTemplate.Height = 24;
     this.dataGridView_Thd.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
     this.dataGridView_Thd.ShowCellErrors = false;
     this.dataGridView_Thd.ShowCellToolTips = false;
     this.dataGridView_Thd.ShowEditingIcon = false;
     this.dataGridView_Thd.ShowRowErrors = false;
     this.dataGridView_Thd.Size = new System.Drawing.Size(420, 109);
     this.dataGridView_Thd.TabIndex = 6;
     this.dataGridView_Thd.SelectionChanged += new System.EventHandler(this.dataGridView_Thd_SelectionChanged);
     //
     // Operation
     //
     this.Operation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.Operation.HeaderText = "Operation";
     this.Operation.Name = "Operation";
     this.Operation.ReadOnly = true;
     //
     // Value
     //
     this.Value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
     this.Value.HeaderText = "Value";
     this.Value.Name = "Value";
     this.Value.ReadOnly = true;
     this.Value.Width = 73;
     //
     // ItemID
     //
     this.ItemID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.ItemID.HeaderText = "Item";
     this.ItemID.Name = "ItemID";
     this.ItemID.ReadOnly = true;
     //
     // okCancelButton
     //
     this.okCancelButton.Location = new System.Drawing.Point(131, 279);
     this.okCancelButton.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.okCancelButton.MaximumSize = new System.Drawing.Size(188, 33);
     this.okCancelButton.MinimumSize = new System.Drawing.Size(188, 33);
     this.okCancelButton.Name = "okCancelButton";
     this.okCancelButton.Size = new System.Drawing.Size(188, 33);
     this.okCancelButton.TabIndex = 1;
     this.okCancelButton.ButtonClick += new System.EventHandler(this.okCancelButton_ButtonClick);
     //
     // SetupForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(449, 319);
     this.ControlBox = false;
     this.Controls.Add(this.okCancelButton);
     this.Controls.Add(this.tabControl_Thrs);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
     this.KeyPreview = true;
     this.Margin = new System.Windows.Forms.Padding(4);
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "SetupForm";
     this.ShowIcon = false;
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text = "Sensor.Analog";
     this.Load += new System.EventHandler(this.SetupForm_Load);
     this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.SetupForm_KeyDown);
     this.groupBox_Raw.ResumeLayout(false);
     this.groupBox_Raw.PerformLayout();
     this.groupBox_Physical.ResumeLayout(false);
     this.groupBox_Physical.PerformLayout();
     this.tabControl_Thrs.ResumeLayout(false);
     this.tabPage_Value.ResumeLayout(false);
     this.tabPage2.ResumeLayout(false);
     this.tabPage2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView_Thd)).EndInit();
     this.ResumeLayout(false);
 }