From 2f1cbec203dcff25df7a5c2b51b13ec558f2c3db Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期四, 13 二月 2025 11:15:00 +0800
Subject: [PATCH] 泵状态更新

---
 02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs b/02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs
index 4029134..260ce0f 100644
--- a/02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs
+++ b/02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs
@@ -16,7 +16,10 @@
             this.treeList1.InitialMultiColSettings();
             this.treeList1.SelectImageList = ImageLib.Lib;
             this.productGroupListCtrl1.FocusedChangedEvent += ProductGroupListCtrl1_FocusedChangedEvent;
+           // this.treeList1.RowCellClick += TreeList1_RowCellClick; ;
         }
+
+   
 
         public class CurrentViewModel : Model.Equipment
         {
@@ -435,6 +438,17 @@
             this.pumpInfoGridCtrl1.ExportExcel();
         }
 
+        private void TreeList1_RowCellClick(object sender, DevExpress.XtraTreeList.RowCellClickEventArgs e)
+        {
+            if (e.Button == MouseButtons.Right)
+            {
+                if (e.CellValue != null)
+                {
+                    Clipboard.SetText(e.CellValue.ToString());
+                }
+            }
+        }
+
 
     }
 }

--
Gitblit v1.9.3