From 0a1bf56909464e938a68c29b26ab88ff51380fad Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期三, 08 一月 2025 13:56:17 +0800
Subject: [PATCH] 能效分析水力图表 装置点显示文字

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectViewModel.cs |  100 +++++---------------------------------------------
 1 files changed, 10 insertions(+), 90 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectViewModel.cs
index b60b030..01193ab 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/02-project/01-import/00-core/ImportXhsProjectViewModel.cs
@@ -1,4 +1,6 @@
-锘縩amespace HStation.WinFrmUI
+锘縰sing Yw.Vmo;
+
+namespace HStation.WinFrmUI
 {
     /// <summary>
     /// 椤圭洰瀵煎叆view model
@@ -15,15 +17,6 @@
         /// </summary>
         public ImportXhsProjectViewModel(HStation.Vmo.XhsProjectExtensionsVmo project)
         {
-            this.ProjectID = project.ID;
-            this.NO = project.NO;
-            this.Name = project.Name;
-            this.Address = project.Address;
-            this.Customer = project.Customer;
-            this.Flags = project.Flags;
-            this.TagName = project.TagName;
-            this.Description = project.Description;
-            this.ProjectSiteID = project.SiteList?.FirstOrDefault()?.ID;
             this.Project = project;
         }
 
@@ -32,8 +25,6 @@
         /// </summary>
         public ImportXhsProjectViewModel(HStation.Vmo.XhsProjectExtensionsVmo project, Yw.Vmo.MapInfoVmo mapInfo) : this(project)
         {
-            this.MapInfoID = mapInfo.ID;
-            this.Location = Yw.Model.Map.Marker.ToModel(mapInfo.Position);
             this.MapInfo = mapInfo;
         }
 
@@ -61,51 +52,6 @@
         #region 绗簩姝ュ綍鍏ラ」鐩俊鎭�
 
         /// <summary>
-        /// 椤圭洰id
-        /// </summary>
-        public long? ProjectID { get; set; }
-
-        /// <summary>
-        /// 缂栧彿
-        /// </summary>
-        public string NO { get; set; }
-
-        /// <summary>
-        /// 鍚嶇О
-        /// </summary>
-        public string Name { get; set; }
-
-        /// <summary>
-        /// 璇︾粏鍦板潃
-        /// </summary>
-        public string Address { get; set; }
-
-        /// <summary>
-        /// 瀹㈡埛
-        /// </summary>
-        public string Customer { get; set; }
-
-        /// <summary>
-        /// 鏍囩
-        /// </summary>
-        public List<string> Flags { get; set; }
-
-        /// <summary>
-        /// 鏍囧織
-        /// </summary>
-        public string TagName { get; set; }
-
-        /// <summary>
-        /// 璇存槑
-        /// </summary>
-        public string Description { get; set; }
-
-        /// <summary>
-        /// 椤圭洰绔檌d
-        /// </summary>
-        public long? ProjectSiteID { get; set; }
-
-        /// <summary>
         /// 椤圭洰
         /// </summary>
         public HStation.Vmo.XhsProjectExtensionsVmo Project { get; set; }
@@ -113,16 +59,6 @@
         #endregion
 
         #region 绗笁姝ヨ缃湴鍥句綅缃�
-
-        /// <summary>
-        /// 浣嶇疆
-        /// </summary>
-        public Yw.Model.Map.Marker Location { get; set; }
-
-        /// <summary>
-        /// 鍦板浘淇℃伅id
-        /// </summary>
-        public long? MapInfoID { get; set; }
 
         /// <summary>
         /// 浣嶇疆淇℃伅
@@ -134,19 +70,19 @@
         #region 绗洓姝ヨ嚜鍔ㄧ敓鎴愰」鐩�
 
         /// <summary>
-        /// 
+        /// Revit淇℃伅
         /// </summary>
         public HStation.Model.RevitModel RevitModel { get; set; }
 
         /// <summary>
-        /// 姘村姏妯″瀷id
+        /// 姘村姏淇℃伅
         /// </summary>
-        public long? HydroID { get; set; }
+        public Yw.Model.HydroModelInfo HydroInfo { get; set; }
 
         /// <summary>
-        /// 姘村姏妯″瀷鍏宠仈id
+        /// 姘村姏鍏宠仈
         /// </summary>
-        public long? HydroRelationID { get; set; }
+        public HydroModelRelationVmo HydroRelation { get; set; }
 
         /// <summary>
         /// bimface鏂囦欢
@@ -154,25 +90,9 @@
         public Yw.Vmo.BimfaceFileVmo BimfaceFile { get; set; }
 
         /// <summary>
-        /// bimfaceid
+        /// bimface鍏宠仈
         /// </summary>
-        public long? BimfaceId { get; set; }
-
-        /// <summary>
-        /// bimface 鏂囦欢id
-        /// </summary>
-        public long? BimfaceFileID { get; set; }
-
-        /// <summary>
-        /// bimface 鏂囦欢鍏宠仈id
-        /// </summary>
-        public long? BimfaceFileRelationID { get; set; }
-
-        /// <summary>
-        /// Bimface 杞崲鎴愬姛
-        /// </summary>
-        public bool BimfaceConverted { get; set; }
-
+        public Yw.Vmo.BimfaceFileRelationVmo BimfaceRelation { get; set; }
 
         #endregion
 

--
Gitblit v1.9.3