From 14cccf079662c052b2e04d30b9d9082ada1272ff Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期五, 23 八月 2024 10:01:16 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 Service/HStation.Service.Revit.Core/02-parter/03-link/00-core/RevitLink.cs |   39 ++++++++-------------------------------
 1 files changed, 8 insertions(+), 31 deletions(-)

diff --git a/Service/HStation.Service.Revit.Core/02-parter/03-link/RevitPipe.cs b/Service/HStation.Service.Revit.Core/02-parter/03-link/00-core/RevitLink.cs
similarity index 62%
rename from Service/HStation.Service.Revit.Core/02-parter/03-link/RevitPipe.cs
rename to Service/HStation.Service.Revit.Core/02-parter/03-link/00-core/RevitLink.cs
index e41885a..f761fa1 100644
--- a/Service/HStation.Service.Revit.Core/02-parter/03-link/RevitPipe.cs
+++ b/Service/HStation.Service.Revit.Core/02-parter/03-link/00-core/RevitLink.cs
@@ -1,19 +1,19 @@
 锘縩amespace HStation.Model
 {
     /// <summary>
-    /// 绠¢亾
+    /// 绠℃
     /// </summary>
-    public class RevitPipe : RevitParter, IRevitPipe
+    public abstract class RevitLink : RevitParter
     {
         /// <summary>
         /// 
         /// </summary>
-        public RevitPipe() { }
+        public RevitLink() { }
 
         /// <summary>
         /// 
         /// </summary>
-        public RevitPipe(RevitPipe rhs) : base(rhs)
+        public RevitLink(RevitLink rhs) : base(rhs)
         {
             this.StartCode = rhs.StartCode;
             this.EndCode = rhs.EndCode;
@@ -22,14 +22,9 @@
             this.EndElev = rhs.EndElev;
             this.StartQuality = rhs.StartQuality;
             this.EndQuality = rhs.EndQuality;
-            this.StartPosition = rhs.StartPosition;
-            this.EndPosition = rhs.EndPosition;
-            this.Diameter = rhs.Diameter;
-            this.Length = rhs.Length;
-            this.Roughness = rhs.Roughness;
-            this.MinorLoss = rhs.MinorLoss;
+            this.StartPosition = new RevitPosition(rhs.StartPosition);
+            this.EndPosition = new RevitPosition(rhs.EndPosition);
         }
-
 
         /// <summary>
         /// 涓婃父鑺傜偣缂栫爜
@@ -37,12 +32,12 @@
         public string StartCode { get; set; }
 
         /// <summary>
-        /// 涓嬫父鑺傜偣缂栫爜
+        /// 涓婃父鑺傜偣缂栫爜
         /// </summary>
         public string EndCode { get; set; }
 
         /// <summary>
-        /// 绠¢亾鐘舵��
+        /// 绠℃鐘舵��
         /// </summary>
         public string LinkStatus { get; set; }
 
@@ -76,25 +71,7 @@
         /// </summary>
         public RevitPosition EndPosition { get; set; }
 
-        /// <summary>
-        /// 鐩村緞(鍐呭緞) mm
-        /// </summary>
-        public double Diameter { get; set; }
 
-        /// <summary>
-        /// 闀垮害
-        /// </summary>
-        public double Length { get; set; }
-
-        /// <summary>
-        /// 绮楃硻绯绘暟
-        /// </summary>
-        public double Roughness { get; set; }
-
-        /// <summary>
-        /// 灞�閮ㄩ樆鍔涚郴鏁�
-        /// </summary>
-        public double MinorLoss { get; set; }
 
     }
 }

--
Gitblit v1.9.3