lixiaojun
2024-07-15 49bca0faca96aa1149ff6c6194102dfe3de8db87
revit model修改
已修改14个文件
已添加12个文件
301 ■■■■ 文件已修改
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/DesignTimeBuild/.dtbcache.v2 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/014d5a11-faca-4ac5-9d14-5ce7f0e26a2a.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/25a81df2-3f7c-43c6-9772-c9e17f40ea77.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/64fce286-107f-44a3-a673-a1b3cd29fa5e.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/c437499f-cb1f-499c-952f-d32a878fdc38.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/d4f224a4-8f12-49d2-ae30-3e7402969a57.vsidx 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.futdcache.v2 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.suo 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/00-core/Valve.cs 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/00-core/RevitBoundingBox.cs 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/00-core/RevitPosition.cs 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitLinker.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitNode.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitParter.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitEmitter.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitJunction.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitTank.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitEmitter.cs 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitJunction.cs 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitReservoir.cs 30 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitTank.cs 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitPipe.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitPump.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitValve.cs 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/GlobalUsings.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/HStation.Service.Revit.Core.csproj 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/DesignTimeBuild/.dtbcache.v2
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/014d5a11-faca-4ac5-9d14-5ce7f0e26a2a.vsidx
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/25a81df2-3f7c-43c6-9772-c9e17f40ea77.vsidx
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/64fce286-107f-44a3-a673-a1b3cd29fa5e.vsidx
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/c437499f-cb1f-499c-952f-d32a878fdc38.vsidx
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/d4f224a4-8f12-49d2-ae30-3e7402969a57.vsidx
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.futdcache.v2
Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.suo
Binary files differ
Service/HStation.Service.Revit.Core/00-core/Valve.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
namespace Yw.Hydro
{
    /// <summary>
    /// é˜€é—¨
    /// </summary>
    public class Valve
    {
        /// <summary>
        /// å‡åŽ‹é˜€ åŽ‹å¼ºï¼Œm(psi)
        /// </summary>
        public const string PRV = "PRV";
        /// <summary>
        /// ç¨³åŽ‹é˜€ åŽ‹å¼ºï¼Œm(psi)
        /// </summary>
        public const string PSV = "PSV";
        /// <summary>
        /// åŽ‹åŠ›åˆ¶åŠ¨é˜€ åŽ‹å¼ºï¼Œm(psi)
        /// </summary>
        public const string PBV = "PBV";
        /// <summary>
        /// æµé‡æŽ§åˆ¶é˜€ æµé‡(流量单位)
        /// </summary>
        public const string FCV = "FCV";
        /// <summary>
        /// èŠ‚æµæŽ§åˆ¶é˜€ æŸå¤±ç³»æ•°
        /// </summary>
        public const string TCV = "TCV";
        /// <summary>
        /// å¸¸è§„阀门 æ°´å¤´æŸå¤±æ›²çº¿ID
        /// </summary>
        public const string GPV = "GPV";
    }
}
Service/HStation.Service.Revit.Core/02-parter/00-core/RevitBoundingBox.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
namespace HStation.Model
{
    /// <summary>
    ///
    /// </summary>
    public class RevitBoundingBox
    {
        /// <summary>
        ///
        /// </summary>
        public RevitPosition Min { get; set; }
        /// <summary>
        ///
        /// </summary>
        public RevitPosition Max { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/00-core/RevitPosition.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
namespace HStation.Model
{
    /// <summary>
    /// ä½ç½®
    /// </summary>
    public class RevitPosition
    {
        /// <summary>
        /// X
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z
        /// </summary>
        public double Z { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitLinker.cs
@@ -8,12 +8,12 @@
        /// <summary>
        /// å¼€å§‹èŠ‚ç‚¹ç¼–ç 
        /// </summary>
        string StartNode { get; set; }
        string StartCode { get; set; }
        /// <summary>
        /// ç»“束节点编码
        /// </summary>
        string EndNode { get; set; }
        string EndCode { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitNode.cs
@@ -5,25 +5,10 @@
    /// </summary>
    public interface IRevitNode : IRevitParter
    {
        /// <summary>
        /// æ ‡é«˜
        /// </summary>
        double Elev { get; set; }
        /// <summary>
        /// X坐标
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z坐标
        /// </summary>
        public double Z { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/01-interface/00-core/IRevitParter.cs
@@ -5,6 +5,7 @@
    /// </summary>
    public interface IRevitParter
    {
        /// <summary>
        /// åž‹å·
        /// </summary>
@@ -14,5 +15,10 @@
        /// å±žæ€§å€¼åˆ—表
        /// </summary>
        List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitEmitter.cs
@@ -7,16 +7,6 @@
    {
        /// <summary>
        /// éœ€æ°´é‡
        /// </summary>
        double Demand { get; set; }
        /// <summary>
        /// æ¨¡å¼
        /// </summary>
        string Pattern { get; set; }
        /// <summary>
        /// æµé‡ç³»æ•°
        /// </summary>
        double FlowCoefficient { get; set; }
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitJunction.cs
@@ -7,6 +7,11 @@
    {
        /// <summary>
        /// æ ‡é«˜
        /// </summary>
        double Elev { get; set; }
        /// <summary>
        /// éœ€æ°´é‡
        /// </summary>
        double Demand { get; set; }
Service/HStation.Service.Revit.Core/02-parter/01-interface/01-node/IRevitTank.cs
@@ -5,6 +5,10 @@
    /// </summary>
    public interface IRevitTank : IRevitNode
    {
        /// <summary>
        /// æ± åº•标高
        /// </summary>
        double Elev { get; set; }
        /// <summary>
        /// åˆå§‹æ°´ä½
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitEmitter.cs
@@ -16,36 +16,16 @@
        public RevitEmitter(RevitEmitter rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.Elev = rhs.Elev;
            this.Demand = rhs.Demand;
            this.Pattern = rhs.Pattern;
            this.FlowCoefficient = rhs.FlowCoefficient;
            this.EmitterType = rhs.EmitterType;
            this.X = rhs.X;
            this.Y = rhs.Y;
            this.Z = rhs.Z;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
        /// <summary>
        /// åž‹å·
        /// </summary>
        public string ModelType { get; set; }
        /// <summary>
        /// æ ‡é«˜
        /// </summary>
        public double Elev { get; set; }
        /// <summary>
        /// éœ€æ°´é‡
        /// </summary>
        public double Demand { get; set; }
        /// <summary>
        /// éœ€æ°´æ¨¡å¼
        /// </summary>
        public string Pattern { get; set; }
        /// <summary>
        /// æµé‡ç³»æ•°
@@ -58,25 +38,13 @@
        public string EmitterType { get; set; }
        /// <summary>
        /// X坐标
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z坐标
        /// </summary>
        public double Z { get; set; }
        /// <summary>
        /// å±žæ€§å€¼åˆ—表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitJunction.cs
@@ -19,10 +19,8 @@
            this.Elev = rhs.Elev;
            this.Demand = rhs.Demand;
            this.Pattern = rhs.Pattern;
            this.X = rhs.X;
            this.Y = rhs.Y;
            this.Z = rhs.Z;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
@@ -47,24 +45,14 @@
        public string Pattern { get; set; }
        /// <summary>
        /// X坐标
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z坐标
        /// </summary>
        public double Z { get; set; }
        /// <summary>
        /// å±žæ€§å€¼åˆ—表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitReservoir.cs
@@ -16,24 +16,16 @@
        public RevitReservoir(RevitReservoir rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.Elev = rhs.Elev;
            this.Head = rhs.Head;
            this.Pattern = rhs.Pattern;
            this.X = rhs.X;
            this.Y = rhs.Y;
            this.Z = rhs.Z;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
        /// <summary>
        /// åž‹å·
        /// </summary>
        public string ModelType { get; set; }
        /// <summary>
        /// æ ‡é«˜
        /// </summary>
        public double Elev { get; set; }
        /// <summary>
        /// æ€»æ°´å¤´
@@ -46,26 +38,14 @@
        public string Pattern { get; set; }
        /// <summary>
        /// X坐标
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z坐标
        /// </summary>
        public double Z { get; set; }
        /// <summary>
        /// å±žæ€§å€¼åˆ—表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitTank.cs
@@ -23,9 +23,6 @@
            this.Diameter = rhs.Diameter;
            this.MinVol = rhs.MinVol;
            this.VolCurve = rhs.VolCurve;
            this.X = rhs.X;
            this.Y = rhs.Y;
            this.Z = rhs.Z;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
        }
@@ -70,24 +67,14 @@
        public string VolCurve { get; set; }
        /// <summary>
        /// X坐标
        /// </summary>
        public double X { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public double Y { get; set; }
        /// <summary>
        /// Z坐标
        /// </summary>
        public double Z { get; set; }
        /// <summary>
        /// å±žæ€§å€¼åˆ—表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitPipe.cs
@@ -16,14 +16,15 @@
        public RevitPipe(RevitPipe rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.StartNode = rhs.StartNode;
            this.EndNode = rhs.EndNode;
            this.StartCode = rhs.StartCode;
            this.EndCode = rhs.EndCode;
            this.Diameter = rhs.Diameter;
            this.Length = rhs.Length;
            this.Roughness = rhs.Roughness;
            this.MinorLoss = rhs.MinorLoss;
            this.PipeStatus = rhs.PipeStatus;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
        /// <summary>
@@ -32,17 +33,17 @@
        public string ModelType { get; set; }
        /// <summary>
        /// ä¸Šæ¸¸èŠ‚ç‚¹
        /// ä¸Šæ¸¸ç¼–号
        /// </summary>
        public string StartNode { get; set; }
        public string StartCode { get; set; }
        /// <summary>
        /// ä¸‹æ¸¸èŠ‚ç‚¹
        /// ä¸‹æ¸¸ç¼–号
        /// </summary>
        public string EndNode { get; set; }
        public string EndCode { get; set; }
        /// <summary>
        /// ç›´å¾„
        /// ç›´å¾„(内径) mm
        /// </summary>
        public double Diameter { get; set; }
@@ -71,5 +72,10 @@
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitPump.cs
@@ -16,13 +16,14 @@
        public RevitPump(RevitPump rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.StartNode = rhs.StartNode;
            this.EndNode = rhs.EndNode;
            this.StartCode = rhs.StartCode;
            this.EndCode = rhs.EndCode;
            this.Power = rhs.Power;
            this.Head = rhs.Head;
            this.Speed = rhs.Speed;
            this.Pattern = rhs.Pattern;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
        /// <summary>
@@ -33,12 +34,12 @@
        /// <summary>
        /// ä¸Šæ¸¸èŠ‚ç‚¹
        /// </summary>
        public string StartNode { get; set; }
        public string StartCode { get; set; }
        /// <summary>
        /// ä¸‹æ¸¸èŠ‚ç‚¹
        /// </summary>
        public string EndNode { get; set; }
        public string EndCode { get; set; }
        /// <summary>
        ///  æ’定能量水泵的功率
@@ -65,6 +66,11 @@
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/02-parter/03-linker/RevitValve.cs
@@ -16,13 +16,14 @@
        public RevitValve(RevitValve rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.StartNode = rhs.StartNode;
            this.EndNode = rhs.EndNode;
            this.StartCode = rhs.StartCode;
            this.EndCode = rhs.EndCode;
            this.Diameter = rhs.Diameter;
            this.MinorLoss = rhs.MinorLoss;
            this.ValveType = rhs.ValveType;
            this.ValveSetting = rhs.ValveSetting;
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.BoundingBox = rhs.BoundingBox;
        }
        /// <summary>
@@ -33,12 +34,12 @@
        /// <summary>
        /// ä¸Šæ¸¸èŠ‚ç‚¹
        /// </summary>
        public string StartNode { get; set; }
        public string StartCode { get; set; }
        /// <summary>
        /// ä¸‹æ¸¸èŠ‚ç‚¹
        /// </summary>
        public string EndNode { get; set; }
        public string EndCode { get; set; }
        /// <summary>
        /// ç›´å¾„
@@ -65,5 +66,10 @@
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
        /// <summary>
        /// ä½ç½®
        /// </summary>
        public RevitBoundingBox BoundingBox { get; set; }
    }
}
Service/HStation.Service.Revit.Core/GlobalUsings.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1 @@
global using Newtonsoft.Json;
Service/HStation.Service.Revit.Core/HStation.Service.Revit.Core.csproj
@@ -6,4 +6,8 @@
    <Nullable>disable</Nullable>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Yw.Newtonsoft.Core" Version="3.0.0" />
  </ItemGroup>
</Project>