From b2b2686f9c49e9ce7c27fffaf76347b38f03f0aa Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期三, 15 一月 2025 11:34:20 +0800
Subject: [PATCH] 增加水泵改变监测和调整上下游监测

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/HydroElbowListCtrl.Designer.cs |  217 +++++++++++++++++++++++++-----------------------------
 1 files changed, 101 insertions(+), 116 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/HydroElbowListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/HydroElbowListCtrl.Designer.cs
index 963919c..dfa2540 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/HydroElbowListCtrl.Designer.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/06-visual/06-elbow/HydroElbowListCtrl.Designer.cs
@@ -30,11 +30,11 @@
         {
             components = new Container();
             ComponentResourceManager resources = new ComponentResourceManager(typeof(HydroElbowListCtrl));
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject();
             gridControl1 = new DevExpress.XtraGrid.GridControl();
             hydroElbowViewModelBindingSource = new BindingSource(components);
             gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -42,24 +42,24 @@
             colCode = new DevExpress.XtraGrid.Columns.GridColumn();
             colName = new DevExpress.XtraGrid.Columns.GridColumn();
             colModelType = new DevExpress.XtraGrid.Columns.GridColumn();
-            colHasDb = new DevExpress.XtraGrid.Columns.GridColumn();
             colMaterial = new DevExpress.XtraGrid.Columns.GridColumn();
             colCaliber = new DevExpress.XtraGrid.Columns.GridColumn();
             colBendingAngle = new DevExpress.XtraGrid.Columns.GridColumn();
             colElbowType = new DevExpress.XtraGrid.Columns.GridColumn();
-            colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn();
             colElev = new DevExpress.XtraGrid.Columns.GridColumn();
-            colCalcuPress = new DevExpress.XtraGrid.Columns.GridColumn();
-            colCalcuHead = new DevExpress.XtraGrid.Columns.GridColumn();
+            colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn();
+            colHasDb = new DevExpress.XtraGrid.Columns.GridColumn();
             colFlags = new DevExpress.XtraGrid.Columns.GridColumn();
             colDescription = new DevExpress.XtraGrid.Columns.GridColumn();
+            colCalcuPr = new DevExpress.XtraGrid.Columns.GridColumn();
+            colCalcuMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn();
             colSet = new DevExpress.XtraGrid.Columns.GridColumn();
             repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
             layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
             generalSearchAndSetCtrl1 = new GeneralSearchAndSetCtrl();
-            textEdit3 = new DevExpress.XtraEditors.TextEdit();
-            textEdit2 = new DevExpress.XtraEditors.TextEdit();
-            textEdit1 = new DevExpress.XtraEditors.TextEdit();
+            txtCaliberMax = new DevExpress.XtraEditors.TextEdit();
+            txtCaliberMin = new DevExpress.XtraEditors.TextEdit();
+            txtMaterial = new DevExpress.XtraEditors.TextEdit();
             txtName = new DevExpress.XtraEditors.TextEdit();
             txtModelType = new DevExpress.XtraEditors.TextEdit();
             txtCode = new DevExpress.XtraEditors.TextEdit();
@@ -74,16 +74,15 @@
             layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
             layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
-            colCalcuDemand = new DevExpress.XtraGrid.Columns.GridColumn();
             ((ISupportInitialize)gridControl1).BeginInit();
             ((ISupportInitialize)hydroElbowViewModelBindingSource).BeginInit();
             ((ISupportInitialize)gridView1).BeginInit();
             ((ISupportInitialize)repositoryItemButtonEdit1).BeginInit();
             ((ISupportInitialize)layoutControl1).BeginInit();
             layoutControl1.SuspendLayout();
-            ((ISupportInitialize)textEdit3.Properties).BeginInit();
-            ((ISupportInitialize)textEdit2.Properties).BeginInit();
-            ((ISupportInitialize)textEdit1.Properties).BeginInit();
+            ((ISupportInitialize)txtCaliberMax.Properties).BeginInit();
+            ((ISupportInitialize)txtCaliberMin.Properties).BeginInit();
+            ((ISupportInitialize)txtMaterial.Properties).BeginInit();
             ((ISupportInitialize)txtName.Properties).BeginInit();
             ((ISupportInitialize)txtModelType.Properties).BeginInit();
             ((ISupportInitialize)txtCode.Properties).BeginInit();
@@ -117,7 +116,7 @@
             // 
             // gridView1
             // 
-            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colMaterial, colCaliber, colBendingAngle, colElbowType, colElev, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuPress, colCalcuHead, colCalcuDemand, colSet });
+            gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colMaterial, colCaliber, colBendingAngle, colElbowType, colElev, colMinorLoss, colHasDb, colFlags, colDescription, colCalcuPr, colCalcuMinorLoss, colSet });
             gridView1.GridControl = gridControl1;
             gridView1.Name = "gridView1";
             gridView1.RowCellClick += gridView1_RowCellClick;
@@ -163,16 +162,6 @@
             colModelType.VisibleIndex = 3;
             colModelType.Width = 127;
             // 
-            // colHasDb
-            // 
-            colHasDb.FieldName = "HasDb";
-            colHasDb.MaxWidth = 40;
-            colHasDb.MinWidth = 40;
-            colHasDb.Name = "colHasDb";
-            colHasDb.Visible = true;
-            colHasDb.VisibleIndex = 10;
-            colHasDb.Width = 40;
-            // 
             // colMaterial
             // 
             colMaterial.FieldName = "Material";
@@ -213,16 +202,6 @@
             colElbowType.VisibleIndex = 7;
             colElbowType.Width = 100;
             // 
-            // colMinorLoss
-            // 
-            colMinorLoss.FieldName = "MinorLoss";
-            colMinorLoss.MaxWidth = 100;
-            colMinorLoss.MinWidth = 100;
-            colMinorLoss.Name = "colMinorLoss";
-            colMinorLoss.Visible = true;
-            colMinorLoss.VisibleIndex = 9;
-            colMinorLoss.Width = 100;
-            // 
             // colElev
             // 
             colElev.FieldName = "Elev";
@@ -233,31 +212,25 @@
             colElev.VisibleIndex = 8;
             colElev.Width = 80;
             // 
-            // colCalcuPress
+            // colMinorLoss
             // 
-            colCalcuPress.FieldName = "CalcuPress";
-            colCalcuPress.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
-            colCalcuPress.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuPress.ImageOptions.SvgImage");
-            colCalcuPress.ImageOptions.SvgImageSize = new Size(16, 16);
-            colCalcuPress.MaxWidth = 100;
-            colCalcuPress.MinWidth = 100;
-            colCalcuPress.Name = "colCalcuPress";
-            colCalcuPress.Visible = true;
-            colCalcuPress.VisibleIndex = 13;
-            colCalcuPress.Width = 100;
+            colMinorLoss.FieldName = "MinorLoss";
+            colMinorLoss.MaxWidth = 100;
+            colMinorLoss.MinWidth = 100;
+            colMinorLoss.Name = "colMinorLoss";
+            colMinorLoss.Visible = true;
+            colMinorLoss.VisibleIndex = 9;
+            colMinorLoss.Width = 100;
             // 
-            // colCalcuHead
+            // colHasDb
             // 
-            colCalcuHead.FieldName = "CalcuHead";
-            colCalcuHead.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
-            colCalcuHead.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuHead.ImageOptions.SvgImage");
-            colCalcuHead.ImageOptions.SvgImageSize = new Size(16, 16);
-            colCalcuHead.MaxWidth = 100;
-            colCalcuHead.MinWidth = 100;
-            colCalcuHead.Name = "colCalcuHead";
-            colCalcuHead.Visible = true;
-            colCalcuHead.VisibleIndex = 14;
-            colCalcuHead.Width = 100;
+            colHasDb.FieldName = "HasDb";
+            colHasDb.MaxWidth = 40;
+            colHasDb.MinWidth = 40;
+            colHasDb.Name = "colHasDb";
+            colHasDb.Visible = true;
+            colHasDb.VisibleIndex = 10;
+            colHasDb.Width = 40;
             // 
             // colFlags
             // 
@@ -278,6 +251,32 @@
             colDescription.VisibleIndex = 12;
             colDescription.Width = 392;
             // 
+            // colCalcuPr
+            // 
+            colCalcuPr.FieldName = "CalcuPr";
+            colCalcuPr.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
+            colCalcuPr.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuPr.ImageOptions.SvgImage");
+            colCalcuPr.ImageOptions.SvgImageSize = new Size(16, 16);
+            colCalcuPr.MaxWidth = 100;
+            colCalcuPr.MinWidth = 100;
+            colCalcuPr.Name = "colCalcuPr";
+            colCalcuPr.Visible = true;
+            colCalcuPr.VisibleIndex = 13;
+            colCalcuPr.Width = 100;
+            // 
+            // colCalcuMinorLoss
+            // 
+            colCalcuMinorLoss.FieldName = "CalcuMinorLoss";
+            colCalcuMinorLoss.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
+            colCalcuMinorLoss.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuMinorLoss.ImageOptions.SvgImage");
+            colCalcuMinorLoss.ImageOptions.SvgImageSize = new Size(16, 16);
+            colCalcuMinorLoss.MaxWidth = 100;
+            colCalcuMinorLoss.MinWidth = 100;
+            colCalcuMinorLoss.Name = "colCalcuMinorLoss";
+            colCalcuMinorLoss.Visible = true;
+            colCalcuMinorLoss.VisibleIndex = 14;
+            colCalcuMinorLoss.Width = 100;
+            // 
             // colSet
             // 
             colSet.Caption = "璁剧疆";
@@ -287,14 +286,14 @@
             colSet.MinWidth = 60;
             colSet.Name = "colSet";
             colSet.Visible = true;
-            colSet.VisibleIndex = 16;
+            colSet.VisibleIndex = 15;
             colSet.Width = 60;
             // 
             // repositoryItemButtonEdit1
             // 
             repositoryItemButtonEdit1.AutoHeight = false;
-            editorButtonImageOptions1.SvgImageSize = new Size(20, 20);
-            repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
+            editorButtonImageOptions2.SvgImageSize = new Size(20, 20);
+            repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) });
             repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
             repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
             // 
@@ -302,9 +301,9 @@
             // 
             layoutControl1.Controls.Add(generalSearchAndSetCtrl1);
             layoutControl1.Controls.Add(gridControl1);
-            layoutControl1.Controls.Add(textEdit3);
-            layoutControl1.Controls.Add(textEdit2);
-            layoutControl1.Controls.Add(textEdit1);
+            layoutControl1.Controls.Add(txtCaliberMax);
+            layoutControl1.Controls.Add(txtCaliberMin);
+            layoutControl1.Controls.Add(txtMaterial);
             layoutControl1.Controls.Add(txtName);
             layoutControl1.Controls.Add(txtModelType);
             layoutControl1.Controls.Add(txtCode);
@@ -325,37 +324,37 @@
             generalSearchAndSetCtrl1.Size = new Size(539, 24);
             generalSearchAndSetCtrl1.TabIndex = 11;
             // 
-            // textEdit3
+            // txtCaliberMax
             // 
-            textEdit3.Location = new Point(728, 16);
-            textEdit3.Name = "textEdit3";
-            textEdit3.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
-            textEdit3.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
-            textEdit3.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
-            textEdit3.Properties.NullValuePrompt = "mm";
-            textEdit3.Size = new Size(50, 20);
-            textEdit3.StyleController = layoutControl1;
-            textEdit3.TabIndex = 10;
+            txtCaliberMax.Location = new Point(728, 16);
+            txtCaliberMax.Name = "txtCaliberMax";
+            txtCaliberMax.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
+            txtCaliberMax.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            txtCaliberMax.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            txtCaliberMax.Properties.NullValuePrompt = "mm";
+            txtCaliberMax.Size = new Size(50, 20);
+            txtCaliberMax.StyleController = layoutControl1;
+            txtCaliberMax.TabIndex = 10;
             // 
-            // textEdit2
+            // txtCaliberMin
             // 
-            textEdit2.Location = new Point(654, 16);
-            textEdit2.Name = "textEdit2";
-            textEdit2.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
-            textEdit2.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
-            textEdit2.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
-            textEdit2.Properties.NullValuePrompt = "mm";
-            textEdit2.Size = new Size(50, 20);
-            textEdit2.StyleController = layoutControl1;
-            textEdit2.TabIndex = 9;
+            txtCaliberMin.Location = new Point(654, 16);
+            txtCaliberMin.Name = "txtCaliberMin";
+            txtCaliberMin.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
+            txtCaliberMin.Properties.MaskSettings.Set("MaskManagerType", typeof(DevExpress.Data.Mask.NumericMaskManager));
+            txtCaliberMin.Properties.MaskSettings.Set("MaskManagerSignature", "allowNull=False");
+            txtCaliberMin.Properties.NullValuePrompt = "mm";
+            txtCaliberMin.Size = new Size(50, 20);
+            txtCaliberMin.StyleController = layoutControl1;
+            txtCaliberMin.TabIndex = 9;
             // 
-            // textEdit1
+            // txtMaterial
             // 
-            textEdit1.Location = new Point(504, 16);
-            textEdit1.Name = "textEdit1";
-            textEdit1.Size = new Size(106, 20);
-            textEdit1.StyleController = layoutControl1;
-            textEdit1.TabIndex = 8;
+            txtMaterial.Location = new Point(504, 16);
+            txtMaterial.Name = "txtMaterial";
+            txtMaterial.Size = new Size(106, 20);
+            txtMaterial.StyleController = layoutControl1;
+            txtMaterial.TabIndex = 8;
             // 
             // txtName
             // 
@@ -444,7 +443,7 @@
             // layoutControlItem8
             // 
             layoutControlItem8.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
-            layoutControlItem8.Control = textEdit1;
+            layoutControlItem8.Control = txtMaterial;
             layoutControlItem8.Location = new Point(450, 0);
             layoutControlItem8.MaxSize = new Size(150, 0);
             layoutControlItem8.MinSize = new Size(150, 24);
@@ -457,7 +456,7 @@
             // layoutControlItem9
             // 
             layoutControlItem9.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
-            layoutControlItem9.Control = textEdit2;
+            layoutControlItem9.Control = txtCaliberMin;
             layoutControlItem9.Location = new Point(600, 0);
             layoutControlItem9.MaxSize = new Size(94, 0);
             layoutControlItem9.MinSize = new Size(94, 24);
@@ -485,7 +484,7 @@
             // layoutControlItem10
             // 
             layoutControlItem10.ContentVertAlignment = DevExpress.Utils.VertAlignment.Center;
-            layoutControlItem10.Control = textEdit3;
+            layoutControlItem10.Control = txtCaliberMax;
             layoutControlItem10.Location = new Point(714, 0);
             layoutControlItem10.MaxSize = new Size(54, 0);
             layoutControlItem10.MinSize = new Size(54, 24);
@@ -515,19 +514,6 @@
             layoutControlItem11.TextSize = new Size(0, 0);
             layoutControlItem11.TextVisible = false;
             // 
-            // colCalcuDemand
-            // 
-            colCalcuDemand.FieldName = "CalcuDemand";
-            colCalcuDemand.Fixed = DevExpress.XtraGrid.Columns.FixedStyle.Right;
-            colCalcuDemand.ImageOptions.SvgImage = (DevExpress.Utils.Svg.SvgImage)resources.GetObject("colCalcuDemand.ImageOptions.SvgImage");
-            colCalcuDemand.ImageOptions.SvgImageSize = new Size(16, 16);
-            colCalcuDemand.MaxWidth = 110;
-            colCalcuDemand.MinWidth = 110;
-            colCalcuDemand.Name = "colCalcuDemand";
-            colCalcuDemand.Visible = true;
-            colCalcuDemand.VisibleIndex = 15;
-            colCalcuDemand.Width = 110;
-            // 
             // HydroElbowListCtrl
             // 
             AutoScaleDimensions = new SizeF(7F, 14F);
@@ -541,9 +527,9 @@
             ((ISupportInitialize)repositoryItemButtonEdit1).EndInit();
             ((ISupportInitialize)layoutControl1).EndInit();
             layoutControl1.ResumeLayout(false);
-            ((ISupportInitialize)textEdit3.Properties).EndInit();
-            ((ISupportInitialize)textEdit2.Properties).EndInit();
-            ((ISupportInitialize)textEdit1.Properties).EndInit();
+            ((ISupportInitialize)txtCaliberMax.Properties).EndInit();
+            ((ISupportInitialize)txtCaliberMin.Properties).EndInit();
+            ((ISupportInitialize)txtMaterial.Properties).EndInit();
             ((ISupportInitialize)txtName.Properties).EndInit();
             ((ISupportInitialize)txtModelType.Properties).EndInit();
             ((ISupportInitialize)txtCode.Properties).EndInit();
@@ -575,15 +561,13 @@
         private DevExpress.XtraGrid.Columns.GridColumn colCaliber;
         private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss;
         private DevExpress.XtraGrid.Columns.GridColumn colModelType;
-        private DevExpress.XtraGrid.Columns.GridColumn colCalcuPress;
-        private DevExpress.XtraGrid.Columns.GridColumn colCalcuHead;
         private DevExpress.XtraGrid.Columns.GridColumn colHasDb;
         private DevExpress.XtraGrid.Columns.GridColumn colBendingAngle;
         private DevExpress.XtraGrid.Columns.GridColumn colElbowType;
         private DevExpress.XtraLayout.LayoutControl layoutControl1;
-        private DevExpress.XtraEditors.TextEdit textEdit3;
-        private DevExpress.XtraEditors.TextEdit textEdit2;
-        private DevExpress.XtraEditors.TextEdit textEdit1;
+        private DevExpress.XtraEditors.TextEdit txtCaliberMax;
+        private DevExpress.XtraEditors.TextEdit txtCaliberMin;
+        private DevExpress.XtraEditors.TextEdit txtMaterial;
         private DevExpress.XtraEditors.TextEdit txtName;
         private DevExpress.XtraEditors.TextEdit txtModelType;
         private DevExpress.XtraEditors.TextEdit txtCode;
@@ -602,6 +586,7 @@
         private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
         private GeneralSearchAndSetCtrl generalSearchAndSetCtrl1;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
-        private DevExpress.XtraGrid.Columns.GridColumn colCalcuDemand;
+        private DevExpress.XtraGrid.Columns.GridColumn colCalcuMinorLoss;
+        private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr;
     }
 }

--
Gitblit v1.9.3