From adf7734a40dec76fc31590906eeadd02c782db90 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期五, 08 十一月 2024 21:29:59 +0800
Subject: [PATCH] 优化导入,优化水流动画

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/03-calcu/01-prefix/02-pump/SetHydroPumpCalcuPrefixListCtrl.Designer.cs |  117 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 59 insertions(+), 58 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/03-calcu/01-prefix/02-pump/SetHydroPumpCalcuPrefixListCtrl.Designer.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/03-calcu/01-prefix/02-pump/SetHydroPumpCalcuPrefixListCtrl.Designer.cs
index 6f80315..553fa1f 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/03-calcu/01-prefix/02-pump/SetHydroPumpCalcuPrefixListCtrl.Designer.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/03-calcu/01-prefix/02-pump/SetHydroPumpCalcuPrefixListCtrl.Designer.cs
@@ -33,36 +33,36 @@
             setHydroPumpCalcuPrefixViewModelBindingSource = new BindingSource(components);
             layoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView();
             colName = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
-            layoutViewField_colName = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
             colRunStatus = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
             repImgCmbBox = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
-            layoutViewField_colRunStatus = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
             colCurrentHz = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
-            layoutViewField_colCurrentHz = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
             colIcon = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
             repPicture = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
-            layoutViewField_colIcon = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
             layoutViewCard1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewCard();
+            layoutViewField_colCurrentHz = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
+            layoutViewField_colRunStatus = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
+            layoutViewField_colName = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
+            layoutViewField_colIcon = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();
             ((ISupportInitialize)gridControl1).BeginInit();
             ((ISupportInitialize)setHydroPumpCalcuPrefixViewModelBindingSource).BeginInit();
             ((ISupportInitialize)layoutView1).BeginInit();
-            ((ISupportInitialize)layoutViewField_colName).BeginInit();
             ((ISupportInitialize)repImgCmbBox).BeginInit();
-            ((ISupportInitialize)layoutViewField_colRunStatus).BeginInit();
-            ((ISupportInitialize)layoutViewField_colCurrentHz).BeginInit();
             ((ISupportInitialize)repPicture).BeginInit();
-            ((ISupportInitialize)layoutViewField_colIcon).BeginInit();
             ((ISupportInitialize)layoutViewCard1).BeginInit();
+            ((ISupportInitialize)layoutViewField_colCurrentHz).BeginInit();
+            ((ISupportInitialize)layoutViewField_colRunStatus).BeginInit();
+            ((ISupportInitialize)layoutViewField_colName).BeginInit();
+            ((ISupportInitialize)layoutViewField_colIcon).BeginInit();
             SuspendLayout();
             // 
             // gridControl1
             // 
             gridControl1.DataSource = setHydroPumpCalcuPrefixViewModelBindingSource;
             gridControl1.Dock = DockStyle.Fill;
-            gridControl1.EmbeddedNavigator.Margin = new Padding(2, 2, 2, 2);
+            gridControl1.EmbeddedNavigator.Margin = new Padding(2);
             gridControl1.Location = new Point(0, 0);
             gridControl1.MainView = layoutView1;
-            gridControl1.Margin = new Padding(2, 2, 2, 2);
+            gridControl1.Margin = new Padding(2);
             gridControl1.Name = "gridControl1";
             gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { repPicture, repImgCmbBox });
             gridControl1.Size = new Size(858, 445);
@@ -76,8 +76,9 @@
             // layoutView1
             // 
             layoutView1.BorderStyle = BorderStyles.NoBorder;
-            layoutView1.CardHorzInterval = 6;
-            layoutView1.CardMinSize = new Size(120, 76);
+            layoutView1.CardHorzInterval = 5;
+            layoutView1.CardMinSize = new Size(147, 86);
+            layoutView1.CardVertInterval = 5;
             layoutView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.LayoutViewColumn[] { colName, colRunStatus, colCurrentHz, colIcon });
             layoutView1.DetailHeight = 223;
             layoutView1.GridControl = gridControl1;
@@ -86,7 +87,7 @@
             layoutView1.OptionsItemText.AlignMode = DevExpress.XtraGrid.Views.Layout.FieldTextAlignMode.AlignGlobal;
             layoutView1.OptionsItemText.TextToControlDistance = 0;
             layoutView1.OptionsPrint.PrintCardCaption = false;
-            layoutView1.OptionsView.CardArrangeRule = DevExpress.XtraGrid.Views.Layout.LayoutCardArrangeRule.AllowPartialCards;
+            layoutView1.OptionsView.CardsAlignment = DevExpress.XtraGrid.Views.Layout.CardsAlignment.Near;
             layoutView1.OptionsView.ContentAlignment = ContentAlignment.TopLeft;
             layoutView1.OptionsView.ShowCardExpandButton = false;
             layoutView1.OptionsView.ShowCardFieldBorders = true;
@@ -99,7 +100,9 @@
             // colName
             // 
             colName.AppearanceCell.Font = new Font("Tahoma", 11F, FontStyle.Bold, GraphicsUnit.Point);
+            colName.AppearanceCell.ForeColor = Color.FromArgb(0, 122, 204);
             colName.AppearanceCell.Options.UseFont = true;
+            colName.AppearanceCell.Options.UseForeColor = true;
             colName.FieldName = "Name";
             colName.LayoutViewField = layoutViewField_colName;
             colName.MinWidth = 21;
@@ -109,16 +112,6 @@
             colName.OptionsColumn.ReadOnly = true;
             colName.OptionsFilter.AllowFilter = false;
             colName.Width = 78;
-            // 
-            // layoutViewField_colName
-            // 
-            layoutViewField_colName.EditorPreferredWidth = 108;
-            layoutViewField_colName.Location = new Point(0, 0);
-            layoutViewField_colName.Name = "layoutViewField_colName";
-            layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
-            layoutViewField_colName.Size = new Size(114, 22);
-            layoutViewField_colName.TextSize = new Size(0, 0);
-            layoutViewField_colName.TextVisible = false;
             // 
             // colRunStatus
             // 
@@ -141,19 +134,8 @@
             repImgCmbBox.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
             repImgCmbBox.Name = "repImgCmbBox";
             // 
-            // layoutViewField_colRunStatus
-            // 
-            layoutViewField_colRunStatus.EditorPreferredWidth = 53;
-            layoutViewField_colRunStatus.Location = new Point(0, 22);
-            layoutViewField_colRunStatus.Name = "layoutViewField_colRunStatus";
-            layoutViewField_colRunStatus.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
-            layoutViewField_colRunStatus.Size = new Size(114, 26);
-            layoutViewField_colRunStatus.TextSize = new Size(52, 14);
-            // 
             // colCurrentHz
             // 
-            colCurrentHz.AppearanceCell.ForeColor = DevExpress.LookAndFeel.DXSkinColors.ForeColors.Question;
-            colCurrentHz.AppearanceCell.Options.UseForeColor = true;
             colCurrentHz.AppearanceCell.Options.UseTextOptions = true;
             colCurrentHz.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near;
             colCurrentHz.FieldName = "CurrentHz";
@@ -163,15 +145,6 @@
             colCurrentHz.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
             colCurrentHz.OptionsFilter.AllowFilter = false;
             colCurrentHz.Width = 78;
-            // 
-            // layoutViewField_colCurrentHz
-            // 
-            layoutViewField_colCurrentHz.EditorPreferredWidth = 53;
-            layoutViewField_colCurrentHz.Location = new Point(0, 48);
-            layoutViewField_colCurrentHz.Name = "layoutViewField_colCurrentHz";
-            layoutViewField_colCurrentHz.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
-            layoutViewField_colCurrentHz.Size = new Size(114, 26);
-            layoutViewField_colCurrentHz.TextSize = new Size(52, 14);
             // 
             // colIcon
             // 
@@ -187,17 +160,6 @@
             // 
             repPicture.Name = "repPicture";
             // 
-            // layoutViewField_colIcon
-            // 
-            layoutViewField_colIcon.EditorPreferredWidth = 14;
-            layoutViewField_colIcon.Location = new Point(0, 0);
-            layoutViewField_colIcon.Name = "layoutViewField_colIcon";
-            layoutViewField_colIcon.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
-            layoutViewField_colIcon.Size = new Size(240, 108);
-            layoutViewField_colIcon.StartNewLine = true;
-            layoutViewField_colIcon.TextSize = new Size(0, 0);
-            layoutViewField_colIcon.TextVisible = false;
-            // 
             // layoutViewCard1
             // 
             layoutViewCard1.CustomizationFormText = "TemplateCard";
@@ -212,6 +174,45 @@
             layoutViewCard1.TextLocation = DevExpress.Utils.Locations.Default;
             layoutViewCard1.TextVisible = false;
             // 
+            // layoutViewField_colCurrentHz
+            // 
+            layoutViewField_colCurrentHz.EditorPreferredWidth = 81;
+            layoutViewField_colCurrentHz.Location = new Point(0, 52);
+            layoutViewField_colCurrentHz.Name = "layoutViewField_colCurrentHz";
+            layoutViewField_colCurrentHz.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
+            layoutViewField_colCurrentHz.Size = new Size(151, 28);
+            layoutViewField_colCurrentHz.TextSize = new Size(52, 14);
+            // 
+            // layoutViewField_colRunStatus
+            // 
+            layoutViewField_colRunStatus.EditorPreferredWidth = 81;
+            layoutViewField_colRunStatus.Location = new Point(0, 26);
+            layoutViewField_colRunStatus.Name = "layoutViewField_colRunStatus";
+            layoutViewField_colRunStatus.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
+            layoutViewField_colRunStatus.Size = new Size(151, 26);
+            layoutViewField_colRunStatus.TextSize = new Size(52, 14);
+            // 
+            // layoutViewField_colName
+            // 
+            layoutViewField_colName.EditorPreferredWidth = 133;
+            layoutViewField_colName.Location = new Point(0, 0);
+            layoutViewField_colName.Name = "layoutViewField_colName";
+            layoutViewField_colName.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
+            layoutViewField_colName.Size = new Size(151, 26);
+            layoutViewField_colName.TextSize = new Size(0, 0);
+            layoutViewField_colName.TextVisible = false;
+            // 
+            // layoutViewField_colIcon
+            // 
+            layoutViewField_colIcon.EditorPreferredWidth = 14;
+            layoutViewField_colIcon.Location = new Point(0, 0);
+            layoutViewField_colIcon.Name = "layoutViewField_colIcon";
+            layoutViewField_colIcon.Padding = new DevExpress.XtraLayout.Utils.Padding(3, 3, 3, 3);
+            layoutViewField_colIcon.Size = new Size(141, 78);
+            layoutViewField_colIcon.StartNewLine = true;
+            layoutViewField_colIcon.TextSize = new Size(0, 0);
+            layoutViewField_colIcon.TextVisible = false;
+            // 
             // SetHydroPumpCalcuPrefixListCtrl
             // 
             Appearance.BackColor = Color.White;
@@ -224,13 +225,13 @@
             ((ISupportInitialize)gridControl1).EndInit();
             ((ISupportInitialize)setHydroPumpCalcuPrefixViewModelBindingSource).EndInit();
             ((ISupportInitialize)layoutView1).EndInit();
-            ((ISupportInitialize)layoutViewField_colName).EndInit();
             ((ISupportInitialize)repImgCmbBox).EndInit();
-            ((ISupportInitialize)layoutViewField_colRunStatus).EndInit();
-            ((ISupportInitialize)layoutViewField_colCurrentHz).EndInit();
             ((ISupportInitialize)repPicture).EndInit();
-            ((ISupportInitialize)layoutViewField_colIcon).EndInit();
             ((ISupportInitialize)layoutViewCard1).EndInit();
+            ((ISupportInitialize)layoutViewField_colCurrentHz).EndInit();
+            ((ISupportInitialize)layoutViewField_colRunStatus).EndInit();
+            ((ISupportInitialize)layoutViewField_colName).EndInit();
+            ((ISupportInitialize)layoutViewField_colIcon).EndInit();
             ResumeLayout(false);
         }
 

--
Gitblit v1.9.3