namespace HStation.Model { /// /// 管道 /// public class RevitPipe : RevitParter, IRevitPipe { /// /// /// public RevitPipe() { } /// /// /// public RevitPipe(RevitPipe rhs) : base(rhs) { this.ModelType = rhs.ModelType; 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; this.BoundingBox = rhs.BoundingBox; } /// /// 型号 /// [JsonProperty("型号信息", NullValueHandling = NullValueHandling.Ignore)] public string ModelType { get; set; } /// /// 上游编号 /// [JsonProperty("上游节点编码", NullValueHandling = NullValueHandling.Ignore)] public string StartCode { get; set; } /// /// 下游编号 /// [JsonProperty("下游节点编码", NullValueHandling = NullValueHandling.Ignore)] public string EndCode { get; set; } /// /// 直径(内径) mm /// [JsonProperty("直径", NullValueHandling = NullValueHandling.Ignore)] public double Diameter { get; set; } /// /// 长度 /// [JsonProperty("长度", NullValueHandling = NullValueHandling.Ignore)] public double Length { get; set; } /// /// 粗糙系数 /// [JsonProperty("粗糙系数", NullValueHandling = NullValueHandling.Ignore)] public double Roughness { get; set; } /// /// 局部阻力系数 /// [JsonProperty("局部阻力系数", NullValueHandling = NullValueHandling.Ignore)] public double MinorLoss { get; set; } /// /// 管道状态 /// [JsonProperty("管道状态", NullValueHandling = NullValueHandling.Ignore)] public string PipeStatus { get; set; } /// /// 属性值列表 /// [JsonProperty("属性值列表", NullValueHandling = NullValueHandling.Ignore)] public Dictionary PropValueList { get; set; } /// /// 位置 /// [JsonProperty("位置", NullValueHandling = NullValueHandling.Ignore)] public RevitBoundingBox BoundingBox { get; set; } } }