From 393c5a292f0d76545734928ffda9e8aed4223afc Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 28 十月 2024 13:26:33 +0800 Subject: [PATCH] 优化流量计、压力表小数位数 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/02-junction/03-other/03-pressmeter/HydroPressmeterListCtrl.Designer.cs | 153 ++++++++++++++++++--------------------------------- 1 files changed, 54 insertions(+), 99 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/02-junction/03-other/03-pressmeter/HydroPressmeterListCtrl.Designer.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/02-junction/03-other/03-pressmeter/HydroPressmeterListCtrl.Designer.cs index 8227738..c8988fa 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/02-junction/03-other/03-pressmeter/HydroPressmeterListCtrl.Designer.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/02-junction/03-other/03-pressmeter/HydroPressmeterListCtrl.Designer.cs @@ -36,17 +36,13 @@ colCode = new DevExpress.XtraGrid.Columns.GridColumn(); colName = new DevExpress.XtraGrid.Columns.GridColumn(); colModelType = new DevExpress.XtraGrid.Columns.GridColumn(); - colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); - colQuality = new DevExpress.XtraGrid.Columns.GridColumn(); - colElev = new DevExpress.XtraGrid.Columns.GridColumn(); - colDemand = new DevExpress.XtraGrid.Columns.GridColumn(); - colDemandPattern = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuPress = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuHead = new DevExpress.XtraGrid.Columns.GridColumn(); - colCalcuDemand = new DevExpress.XtraGrid.Columns.GridColumn(); - colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); colHasDb = new DevExpress.XtraGrid.Columns.GridColumn(); + colElev = new DevExpress.XtraGrid.Columns.GridColumn(); colMinorLoss = new DevExpress.XtraGrid.Columns.GridColumn(); + colCalcuPr = new DevExpress.XtraGrid.Columns.GridColumn(); + colFlagsString = new DevExpress.XtraGrid.Columns.GridColumn(); + colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); + colCurrentPress = new DevExpress.XtraGrid.Columns.GridColumn(); ((ISupportInitialize)gridControl1).BeginInit(); ((ISupportInitialize)hydroPressmeterViewModelBindingSource).BeginInit(); ((ISupportInitialize)gridView1).BeginInit(); @@ -59,7 +55,7 @@ gridControl1.Location = new Point(0, 0); gridControl1.MainView = gridView1; gridControl1.Name = "gridControl1"; - gridControl1.Size = new Size(1386, 597); + gridControl1.Size = new Size(1088, 547); gridControl1.TabIndex = 0; gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { gridView1 }); // @@ -69,7 +65,7 @@ // // gridView1 // - gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colQuality, colElev, colMinorLoss, colDemand, colDemandPattern, colCalcuPress, colCalcuHead, colCalcuDemand, colFlagsString, colDescription }); + gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { colDbLocked, colCode, colName, colModelType, colHasDb, colElev, colMinorLoss, colCurrentPress, colCalcuPr, colFlagsString, colDescription }); gridView1.GridControl = gridControl1; gridView1.Name = "gridView1"; gridView1.OptionsFind.AlwaysVisible = true; @@ -92,7 +88,7 @@ colCode.MinWidth = 100; colCode.Name = "colCode"; colCode.Visible = true; - colCode.VisibleIndex = 1; + colCode.VisibleIndex = 2; colCode.Width = 100; // // colName @@ -102,7 +98,7 @@ colName.MinWidth = 100; colName.Name = "colName"; colName.Visible = true; - colName.VisibleIndex = 2; + colName.VisibleIndex = 1; colName.Width = 100; // // colModelType @@ -115,25 +111,15 @@ colModelType.VisibleIndex = 3; colModelType.Width = 100; // - // colFlagsString + // colHasDb // - colFlagsString.FieldName = "FlagsString"; - colFlagsString.MaxWidth = 200; - colFlagsString.MinWidth = 100; - colFlagsString.Name = "colFlagsString"; - colFlagsString.Visible = true; - colFlagsString.VisibleIndex = 13; - colFlagsString.Width = 100; - // - // colQuality - // - colQuality.FieldName = "Quality"; - colQuality.MaxWidth = 100; - colQuality.MinWidth = 100; - colQuality.Name = "colQuality"; - colQuality.Visible = true; - colQuality.VisibleIndex = 5; - colQuality.Width = 100; + colHasDb.FieldName = "HasDb"; + colHasDb.MaxWidth = 60; + colHasDb.MinWidth = 60; + colHasDb.Name = "colHasDb"; + colHasDb.Visible = true; + colHasDb.VisibleIndex = 8; + colHasDb.Width = 60; // // colElev // @@ -142,58 +128,38 @@ colElev.MinWidth = 100; colElev.Name = "colElev"; colElev.Visible = true; - colElev.VisibleIndex = 6; + colElev.VisibleIndex = 4; colElev.Width = 100; // - // colDemand + // colMinorLoss // - colDemand.FieldName = "Demand"; - colDemand.MaxWidth = 100; - colDemand.MinWidth = 100; - colDemand.Name = "colDemand"; - colDemand.Visible = true; - colDemand.VisibleIndex = 8; - colDemand.Width = 100; + colMinorLoss.FieldName = "MinorLoss"; + colMinorLoss.MaxWidth = 100; + colMinorLoss.MinWidth = 100; + colMinorLoss.Name = "colMinorLoss"; + colMinorLoss.Visible = true; + colMinorLoss.VisibleIndex = 5; + colMinorLoss.Width = 100; // - // colDemandPattern + // colCalcuPr // - colDemandPattern.FieldName = "DemandPattern"; - colDemandPattern.MaxWidth = 100; - colDemandPattern.MinWidth = 100; - colDemandPattern.Name = "colDemandPattern"; - colDemandPattern.Visible = true; - colDemandPattern.VisibleIndex = 9; - colDemandPattern.Width = 100; + colCalcuPr.FieldName = "CalcuPr"; + colCalcuPr.MaxWidth = 100; + colCalcuPr.MinWidth = 100; + colCalcuPr.Name = "colCalcuPr"; + colCalcuPr.Visible = true; + colCalcuPr.VisibleIndex = 7; + colCalcuPr.Width = 100; // - // colCalcuPress + // colFlagsString // - colCalcuPress.FieldName = "CalcuPress"; - colCalcuPress.MaxWidth = 100; - colCalcuPress.MinWidth = 100; - colCalcuPress.Name = "colCalcuPress"; - colCalcuPress.Visible = true; - colCalcuPress.VisibleIndex = 10; - colCalcuPress.Width = 100; - // - // colCalcuHead - // - colCalcuHead.FieldName = "CalcuHead"; - colCalcuHead.MaxWidth = 100; - colCalcuHead.MinWidth = 100; - colCalcuHead.Name = "colCalcuHead"; - colCalcuHead.Visible = true; - colCalcuHead.VisibleIndex = 11; - colCalcuHead.Width = 100; - // - // colCalcuDemand - // - colCalcuDemand.FieldName = "CalcuDemand"; - colCalcuDemand.MaxWidth = 100; - colCalcuDemand.MinWidth = 100; - colCalcuDemand.Name = "colCalcuDemand"; - colCalcuDemand.Visible = true; - colCalcuDemand.VisibleIndex = 12; - colCalcuDemand.Width = 100; + colFlagsString.FieldName = "FlagsString"; + colFlagsString.MaxWidth = 200; + colFlagsString.MinWidth = 100; + colFlagsString.Name = "colFlagsString"; + colFlagsString.Visible = true; + colFlagsString.VisibleIndex = 9; + colFlagsString.Width = 100; // // colDescription // @@ -201,25 +167,18 @@ colDescription.MinWidth = 100; colDescription.Name = "colDescription"; colDescription.Visible = true; - colDescription.VisibleIndex = 14; + colDescription.VisibleIndex = 10; colDescription.Width = 100; // - // colHasDb + // colCurrentPress // - colHasDb.FieldName = "HasDb"; - colHasDb.MaxWidth = 60; - colHasDb.MinWidth = 60; - colHasDb.Name = "colHasDb"; - colHasDb.Visible = true; - colHasDb.VisibleIndex = 4; - colHasDb.Width = 60; - // - // colMinorLoss - // - colMinorLoss.FieldName = "MinorLoss"; - colMinorLoss.Name = "colMinorLoss"; - colMinorLoss.Visible = true; - colMinorLoss.VisibleIndex = 7; + colCurrentPress.FieldName = "CurrentPress"; + colCurrentPress.MaxWidth = 100; + colCurrentPress.MinWidth = 100; + colCurrentPress.Name = "colCurrentPress"; + colCurrentPress.Visible = true; + colCurrentPress.VisibleIndex = 6; + colCurrentPress.Width = 100; // // HydroPressmeterListCtrl // @@ -227,7 +186,7 @@ AutoScaleMode = AutoScaleMode.Font; Controls.Add(gridControl1); Name = "HydroPressmeterListCtrl"; - Size = new Size(1386, 597); + Size = new Size(1088, 547); ((ISupportInitialize)gridControl1).EndInit(); ((ISupportInitialize)hydroPressmeterViewModelBindingSource).EndInit(); ((ISupportInitialize)gridView1).EndInit(); @@ -241,18 +200,14 @@ private DevExpress.XtraGrid.Columns.GridColumn colCode; private DevExpress.XtraGrid.Columns.GridColumn colName; private DevExpress.XtraGrid.Columns.GridColumn colFlagsString; - private DevExpress.XtraGrid.Columns.GridColumn colQuality; private DevExpress.XtraGrid.Columns.GridColumn colElev; - private DevExpress.XtraGrid.Columns.GridColumn colDemand; - private DevExpress.XtraGrid.Columns.GridColumn colDemandPattern; private DevExpress.XtraGrid.Columns.GridColumn colDescription; private BindingSource hydroPressmeterViewModelBindingSource; private DevExpress.XtraGrid.Columns.GridColumn colDbLocked; private DevExpress.XtraGrid.Columns.GridColumn colModelType; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuPress; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuHead; - private DevExpress.XtraGrid.Columns.GridColumn colCalcuDemand; private DevExpress.XtraGrid.Columns.GridColumn colHasDb; private DevExpress.XtraGrid.Columns.GridColumn colMinorLoss; + private DevExpress.XtraGrid.Columns.GridColumn colCalcuPr; + private DevExpress.XtraGrid.Columns.GridColumn colCurrentPress; } } -- Gitblit v1.9.3