- reconfigured to use Munich component and 5 watermeters
- valve categories used in paths, Category property added to IValve
This commit is contained in:
+187
-163
@@ -28,169 +28,191 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.bitPositionTextBox = new System.Windows.Forms.TextBox();
|
||||
this.bitPositionLabel = new System.Windows.Forms.Label();
|
||||
this.parentNameLabel = new System.Windows.Forms.Label();
|
||||
this.nameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nameLabel = new System.Windows.Forms.Label();
|
||||
this.classNameLabel = new System.Windows.Forms.Label();
|
||||
this.coupledToLabel = new System.Windows.Forms.Label();
|
||||
this.invertCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.parentNameComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.lagOpeningLabel = new System.Windows.Forms.Label();
|
||||
this.lagClosingLabel = new System.Windows.Forms.Label();
|
||||
this.lagOpeningTextBox = new System.Windows.Forms.TextBox();
|
||||
this.lagClosingTextBox = new System.Windows.Forms.TextBox();
|
||||
this.coupledToComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bitPositionTextBox
|
||||
//
|
||||
this.bitPositionTextBox.Enabled = false;
|
||||
this.bitPositionTextBox.Location = new System.Drawing.Point(138, 82);
|
||||
this.bitPositionTextBox.Name = "bitPositionTextBox";
|
||||
this.bitPositionTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.bitPositionTextBox.TabIndex = 6;
|
||||
//
|
||||
// bitPositionLabel
|
||||
//
|
||||
this.bitPositionLabel.AutoSize = true;
|
||||
this.bitPositionLabel.Location = new System.Drawing.Point(22, 85);
|
||||
this.bitPositionLabel.Name = "bitPositionLabel";
|
||||
this.bitPositionLabel.Size = new System.Drawing.Size(59, 13);
|
||||
this.bitPositionLabel.TabIndex = 5;
|
||||
this.bitPositionLabel.Text = "Bit Position";
|
||||
//
|
||||
// parentNameLabel
|
||||
//
|
||||
this.parentNameLabel.AutoSize = true;
|
||||
this.parentNameLabel.Location = new System.Drawing.Point(22, 60);
|
||||
this.parentNameLabel.Name = "parentNameLabel";
|
||||
this.parentNameLabel.Size = new System.Drawing.Size(69, 13);
|
||||
this.parentNameLabel.TabIndex = 3;
|
||||
this.parentNameLabel.Text = "Parent Name";
|
||||
//
|
||||
// nameTextBox
|
||||
//
|
||||
this.nameTextBox.Enabled = false;
|
||||
this.nameTextBox.Location = new System.Drawing.Point(138, 33);
|
||||
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(22, 36);
|
||||
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(136, 13);
|
||||
this.classNameLabel.Name = "classNameLabel";
|
||||
this.classNameLabel.Size = new System.Drawing.Size(83, 13);
|
||||
this.classNameLabel.TabIndex = 0;
|
||||
this.classNameLabel.Text = "ComonentName";
|
||||
//
|
||||
// coupledToLabel
|
||||
//
|
||||
this.coupledToLabel.AutoSize = true;
|
||||
this.coupledToLabel.Location = new System.Drawing.Point(22, 124);
|
||||
this.coupledToLabel.Name = "coupledToLabel";
|
||||
this.coupledToLabel.Size = new System.Drawing.Size(56, 13);
|
||||
this.coupledToLabel.TabIndex = 7;
|
||||
this.coupledToLabel.Text = "Copled To";
|
||||
//
|
||||
// invertCheckBox
|
||||
//
|
||||
this.invertCheckBox.AutoSize = true;
|
||||
this.invertCheckBox.Enabled = false;
|
||||
this.invertCheckBox.Location = new System.Drawing.Point(232, 124);
|
||||
this.invertCheckBox.Name = "invertCheckBox";
|
||||
this.invertCheckBox.Size = new System.Drawing.Size(53, 17);
|
||||
this.invertCheckBox.TabIndex = 9;
|
||||
this.invertCheckBox.Text = "Invert";
|
||||
this.invertCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// parentNameComboBox
|
||||
//
|
||||
this.parentNameComboBox.Enabled = false;
|
||||
this.parentNameComboBox.FormattingEnabled = true;
|
||||
this.parentNameComboBox.Location = new System.Drawing.Point(138, 57);
|
||||
this.parentNameComboBox.Name = "parentNameComboBox";
|
||||
this.parentNameComboBox.Size = new System.Drawing.Size(130, 21);
|
||||
this.parentNameComboBox.TabIndex = 4;
|
||||
//
|
||||
// lagOpeningLabel
|
||||
//
|
||||
this.lagOpeningLabel.AutoSize = true;
|
||||
this.lagOpeningLabel.Location = new System.Drawing.Point(22, 147);
|
||||
this.lagOpeningLabel.Name = "lagOpeningLabel";
|
||||
this.lagOpeningLabel.Size = new System.Drawing.Size(109, 13);
|
||||
this.lagOpeningLabel.TabIndex = 10;
|
||||
this.lagOpeningLabel.Text = "Lag when opening [s]";
|
||||
//
|
||||
// lagClosingLabel
|
||||
//
|
||||
this.lagClosingLabel.AutoSize = true;
|
||||
this.lagClosingLabel.Location = new System.Drawing.Point(22, 171);
|
||||
this.lagClosingLabel.Name = "lagClosingLabel";
|
||||
this.lagClosingLabel.Size = new System.Drawing.Size(104, 13);
|
||||
this.lagClosingLabel.TabIndex = 11;
|
||||
this.lagClosingLabel.Text = "Lag when closing [s]";
|
||||
//
|
||||
// lagOpeningTextBox
|
||||
//
|
||||
this.lagOpeningTextBox.Enabled = false;
|
||||
this.lagOpeningTextBox.Location = new System.Drawing.Point(138, 144);
|
||||
this.lagOpeningTextBox.Name = "lagOpeningTextBox";
|
||||
this.lagOpeningTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.lagOpeningTextBox.TabIndex = 12;
|
||||
//
|
||||
// lagClosingTextBox
|
||||
//
|
||||
this.lagClosingTextBox.Enabled = false;
|
||||
this.lagClosingTextBox.Location = new System.Drawing.Point(138, 168);
|
||||
this.lagClosingTextBox.Name = "lagClosingTextBox";
|
||||
this.lagClosingTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.lagClosingTextBox.TabIndex = 13;
|
||||
//
|
||||
// coupledToComboBox
|
||||
//
|
||||
this.coupledToComboBox.Enabled = false;
|
||||
this.coupledToComboBox.FormattingEnabled = true;
|
||||
this.coupledToComboBox.Location = new System.Drawing.Point(138, 121);
|
||||
this.coupledToComboBox.Name = "coupledToComboBox";
|
||||
this.coupledToComboBox.Size = new System.Drawing.Size(81, 21);
|
||||
this.coupledToComboBox.TabIndex = 14;
|
||||
//
|
||||
// ValveCfgCtrl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.coupledToComboBox);
|
||||
this.Controls.Add(this.lagClosingTextBox);
|
||||
this.Controls.Add(this.lagOpeningTextBox);
|
||||
this.Controls.Add(this.lagClosingLabel);
|
||||
this.Controls.Add(this.lagOpeningLabel);
|
||||
this.Controls.Add(this.parentNameComboBox);
|
||||
this.Controls.Add(this.invertCheckBox);
|
||||
this.Controls.Add(this.coupledToLabel);
|
||||
this.Controls.Add(this.bitPositionTextBox);
|
||||
this.Controls.Add(this.bitPositionLabel);
|
||||
this.Controls.Add(this.parentNameLabel);
|
||||
this.Controls.Add(this.nameTextBox);
|
||||
this.Controls.Add(this.nameLabel);
|
||||
this.Controls.Add(this.classNameLabel);
|
||||
this.Name = "ValveCfgCtrl";
|
||||
this.Size = new System.Drawing.Size(300, 200);
|
||||
this.Load += new System.EventHandler(this.ValveCfgCtrl_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
this.bitPositionTextBox = new System.Windows.Forms.TextBox();
|
||||
this.bitPositionLabel = new System.Windows.Forms.Label();
|
||||
this.parentNameLabel = new System.Windows.Forms.Label();
|
||||
this.nameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.nameLabel = new System.Windows.Forms.Label();
|
||||
this.classNameLabel = new System.Windows.Forms.Label();
|
||||
this.coupledToLabel = new System.Windows.Forms.Label();
|
||||
this.invertCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.parentNameComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.lagOpeningLabel = new System.Windows.Forms.Label();
|
||||
this.lagClosingLabel = new System.Windows.Forms.Label();
|
||||
this.lagOpeningTextBox = new System.Windows.Forms.TextBox();
|
||||
this.lagClosingTextBox = new System.Windows.Forms.TextBox();
|
||||
this.coupledToComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.categoryLabel = new System.Windows.Forms.Label();
|
||||
this.categoryComboBox = new System.Windows.Forms.ComboBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// bitPositionTextBox
|
||||
//
|
||||
this.bitPositionTextBox.Enabled = false;
|
||||
this.bitPositionTextBox.Location = new System.Drawing.Point(138, 77);
|
||||
this.bitPositionTextBox.Name = "bitPositionTextBox";
|
||||
this.bitPositionTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.bitPositionTextBox.TabIndex = 6;
|
||||
//
|
||||
// bitPositionLabel
|
||||
//
|
||||
this.bitPositionLabel.AutoSize = true;
|
||||
this.bitPositionLabel.Location = new System.Drawing.Point(22, 80);
|
||||
this.bitPositionLabel.Name = "bitPositionLabel";
|
||||
this.bitPositionLabel.Size = new System.Drawing.Size(59, 13);
|
||||
this.bitPositionLabel.TabIndex = 5;
|
||||
this.bitPositionLabel.Text = "Bit Position";
|
||||
//
|
||||
// parentNameLabel
|
||||
//
|
||||
this.parentNameLabel.AutoSize = true;
|
||||
this.parentNameLabel.Location = new System.Drawing.Point(22, 55);
|
||||
this.parentNameLabel.Name = "parentNameLabel";
|
||||
this.parentNameLabel.Size = new System.Drawing.Size(69, 13);
|
||||
this.parentNameLabel.TabIndex = 3;
|
||||
this.parentNameLabel.Text = "Parent Name";
|
||||
//
|
||||
// nameTextBox
|
||||
//
|
||||
this.nameTextBox.Enabled = false;
|
||||
this.nameTextBox.Location = new System.Drawing.Point(138, 28);
|
||||
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(22, 31);
|
||||
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(136, 8);
|
||||
this.classNameLabel.Name = "classNameLabel";
|
||||
this.classNameLabel.Size = new System.Drawing.Size(83, 13);
|
||||
this.classNameLabel.TabIndex = 0;
|
||||
this.classNameLabel.Text = "ComonentName";
|
||||
//
|
||||
// coupledToLabel
|
||||
//
|
||||
this.coupledToLabel.AutoSize = true;
|
||||
this.coupledToLabel.Location = new System.Drawing.Point(22, 128);
|
||||
this.coupledToLabel.Name = "coupledToLabel";
|
||||
this.coupledToLabel.Size = new System.Drawing.Size(56, 13);
|
||||
this.coupledToLabel.TabIndex = 9;
|
||||
this.coupledToLabel.Text = "Copled To";
|
||||
//
|
||||
// invertCheckBox
|
||||
//
|
||||
this.invertCheckBox.AutoSize = true;
|
||||
this.invertCheckBox.Enabled = false;
|
||||
this.invertCheckBox.Location = new System.Drawing.Point(232, 128);
|
||||
this.invertCheckBox.Name = "invertCheckBox";
|
||||
this.invertCheckBox.Size = new System.Drawing.Size(53, 17);
|
||||
this.invertCheckBox.TabIndex = 11;
|
||||
this.invertCheckBox.Text = "Invert";
|
||||
this.invertCheckBox.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// parentNameComboBox
|
||||
//
|
||||
this.parentNameComboBox.Enabled = false;
|
||||
this.parentNameComboBox.FormattingEnabled = true;
|
||||
this.parentNameComboBox.Location = new System.Drawing.Point(138, 52);
|
||||
this.parentNameComboBox.Name = "parentNameComboBox";
|
||||
this.parentNameComboBox.Size = new System.Drawing.Size(130, 21);
|
||||
this.parentNameComboBox.TabIndex = 4;
|
||||
//
|
||||
// lagOpeningLabel
|
||||
//
|
||||
this.lagOpeningLabel.AutoSize = true;
|
||||
this.lagOpeningLabel.Location = new System.Drawing.Point(22, 153);
|
||||
this.lagOpeningLabel.Name = "lagOpeningLabel";
|
||||
this.lagOpeningLabel.Size = new System.Drawing.Size(109, 13);
|
||||
this.lagOpeningLabel.TabIndex = 12;
|
||||
this.lagOpeningLabel.Text = "Lag when opening [s]";
|
||||
//
|
||||
// lagClosingLabel
|
||||
//
|
||||
this.lagClosingLabel.AutoSize = true;
|
||||
this.lagClosingLabel.Location = new System.Drawing.Point(22, 177);
|
||||
this.lagClosingLabel.Name = "lagClosingLabel";
|
||||
this.lagClosingLabel.Size = new System.Drawing.Size(104, 13);
|
||||
this.lagClosingLabel.TabIndex = 14;
|
||||
this.lagClosingLabel.Text = "Lag when closing [s]";
|
||||
//
|
||||
// lagOpeningTextBox
|
||||
//
|
||||
this.lagOpeningTextBox.Enabled = false;
|
||||
this.lagOpeningTextBox.Location = new System.Drawing.Point(138, 150);
|
||||
this.lagOpeningTextBox.Name = "lagOpeningTextBox";
|
||||
this.lagOpeningTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.lagOpeningTextBox.TabIndex = 13;
|
||||
//
|
||||
// lagClosingTextBox
|
||||
//
|
||||
this.lagClosingTextBox.Enabled = false;
|
||||
this.lagClosingTextBox.Location = new System.Drawing.Point(138, 174);
|
||||
this.lagClosingTextBox.Name = "lagClosingTextBox";
|
||||
this.lagClosingTextBox.Size = new System.Drawing.Size(81, 20);
|
||||
this.lagClosingTextBox.TabIndex = 15;
|
||||
//
|
||||
// coupledToComboBox
|
||||
//
|
||||
this.coupledToComboBox.Enabled = false;
|
||||
this.coupledToComboBox.FormattingEnabled = true;
|
||||
this.coupledToComboBox.Location = new System.Drawing.Point(138, 125);
|
||||
this.coupledToComboBox.Name = "coupledToComboBox";
|
||||
this.coupledToComboBox.Size = new System.Drawing.Size(81, 21);
|
||||
this.coupledToComboBox.TabIndex = 10;
|
||||
//
|
||||
// categoryLabel
|
||||
//
|
||||
this.categoryLabel.AutoSize = true;
|
||||
this.categoryLabel.Location = new System.Drawing.Point(22, 104);
|
||||
this.categoryLabel.Name = "categoryLabel";
|
||||
this.categoryLabel.Size = new System.Drawing.Size(49, 13);
|
||||
this.categoryLabel.TabIndex = 7;
|
||||
this.categoryLabel.Text = "Category";
|
||||
//
|
||||
// categoryComboBox
|
||||
//
|
||||
this.categoryComboBox.Enabled = false;
|
||||
this.categoryComboBox.FormattingEnabled = true;
|
||||
this.categoryComboBox.Location = new System.Drawing.Point(138, 101);
|
||||
this.categoryComboBox.Name = "categoryComboBox";
|
||||
this.categoryComboBox.Size = new System.Drawing.Size(81, 21);
|
||||
this.categoryComboBox.TabIndex = 8;
|
||||
//
|
||||
// ValveCfgCtrl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.categoryComboBox);
|
||||
this.Controls.Add(this.categoryLabel);
|
||||
this.Controls.Add(this.coupledToComboBox);
|
||||
this.Controls.Add(this.lagClosingTextBox);
|
||||
this.Controls.Add(this.lagOpeningTextBox);
|
||||
this.Controls.Add(this.lagClosingLabel);
|
||||
this.Controls.Add(this.lagOpeningLabel);
|
||||
this.Controls.Add(this.parentNameComboBox);
|
||||
this.Controls.Add(this.invertCheckBox);
|
||||
this.Controls.Add(this.coupledToLabel);
|
||||
this.Controls.Add(this.bitPositionTextBox);
|
||||
this.Controls.Add(this.bitPositionLabel);
|
||||
this.Controls.Add(this.parentNameLabel);
|
||||
this.Controls.Add(this.nameTextBox);
|
||||
this.Controls.Add(this.nameLabel);
|
||||
this.Controls.Add(this.classNameLabel);
|
||||
this.Name = "ValveCfgCtrl";
|
||||
this.Size = new System.Drawing.Size(300, 200);
|
||||
this.Load += new System.EventHandler(this.ValveCfgCtrl_Load);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@@ -210,5 +232,7 @@
|
||||
private System.Windows.Forms.TextBox lagOpeningTextBox;
|
||||
private System.Windows.Forms.TextBox lagClosingTextBox;
|
||||
private System.Windows.Forms.ComboBox coupledToComboBox;
|
||||
private System.Windows.Forms.Label categoryLabel;
|
||||
private System.Windows.Forms.ComboBox categoryComboBox;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user