lixiaojun
2024-08-13 9bd12d8745d7a886f088b07408526c504384444d
Service/HStation.Service.Revit.Core/02-parter/02-node/RevitJunction.cs
@@ -1,7 +1,7 @@
namespace HStation.Model
{
    /// <summary>
    /// 节点
    /// 连接节点
    /// </summary>
    public class RevitJunction : RevitParter, IRevitJunction
    {
@@ -15,21 +15,23 @@
        /// </summary>
        public RevitJunction(RevitJunction rhs) : base(rhs)
        {
            this.ModelType = rhs.ModelType;
            this.Quality = rhs.Quality;
            this.Position = rhs.Position;
            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.DemandPattern = rhs.DemandPattern;
        }
        /// <summary>
        /// 型号
        /// 初始水质
        /// </summary>
        public string ModelType { get; set; }
        public double Quality { get; set; }
        /// <summary>
        /// 位置
        /// </summary>
        public RevitPosition Position { get; set; }
        /// <summary>
        /// 标高
@@ -39,32 +41,12 @@
        /// <summary>
        /// 需水量
        /// </summary>
        public double Demand { get; set; }
        public double? Demand { get; set; }
        /// <summary>
        /// 需水模式
        /// </summary>
        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; }
        public string DemandPattern { get; set; }
    }
}