Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/DesignTimeBuild/.dtbcache.v2Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/014d5a11-faca-4ac5-9d14-5ce7f0e26a2a.vsidxBinary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/25a81df2-3f7c-43c6-9772-c9e17f40ea77.vsidxBinary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/64fce286-107f-44a3-a673-a1b3cd29fa5e.vsidxBinary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/c437499f-cb1f-499c-952f-d32a878fdc38.vsidxBinary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/FileContentIndex/d4f224a4-8f12-49d2-ae30-3e7402969a57.vsidxBinary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.futdcache.v2Binary files differ
Service/HStation.Service.Revit.Core/.vs/HStation.Service.Revit.Core/v17/.suoBinary 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>