| | |
| | | /// <summary> |
| | | /// 模型信息 |
| | | /// </summary> |
| | | public class RevitModel |
| | | public partial class RevitModel |
| | | { |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public RevitModel() { } |
| | | public RevitModel() |
| | | { |
| | | this.Reservoirs = new List<RevitReservoir>(); |
| | | this.Tanks = new List<RevitTank>(); |
| | | this.Waterboxs = new List<RevitWaterbox>(); |
| | | this.Junctions = new List<RevitJunction>(); |
| | | this.Bluntheads = new List<RevitBlunthead>(); |
| | | this.Elbows = new List<RevitElbow>(); |
| | | this.Threelinks = new List<RevitThreelink>(); |
| | | this.Fourlinks = new List<RevitFourlink>(); |
| | | this.Nozzles = new List<RevitNozzle>(); |
| | | this.Hydrants = new List<RevitHydrant>(); |
| | | this.Coolings = new List<RevitCooling>(); |
| | | this.Meters = new List<RevitMeter>(); |
| | | this.Flowmeters = new List<RevitFlowmeter>(); |
| | | this.Pressmeters = new List<RevitPressmeter>(); |
| | | |
| | | this.Pipes = new List<RevitPipe>(); |
| | | this.Translations = new List<RevitTranslation>(); |
| | | this.Pumps = new List<RevitPump>(); |
| | | this.Valves = new List<RevitValve>(); |
| | | this.Exchangers = new List<RevitExchanger>(); |
| | | this.Compressors = new List<RevitCompressor>(); |
| | | |
| | | this.Decorators = new List<RevitDecorator>(); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// |
| | |
| | | { |
| | | this.Name = rhs.Name; |
| | | this.Description = rhs.Description; |
| | | |
| | | this.Reservoirs = new List<RevitReservoir>(); |
| | | this.Tanks = new List<RevitTank>(); |
| | | this.Emitters = new List<RevitEmitter>(); |
| | | this.Junctions = new List<RevitJunction>(); |
| | | |
| | | this.Pumps = new List<RevitPump>(); |
| | | this.Valves = new List<RevitValve>(); |
| | | this.Pipes = new List<RevitPipe>(); |
| | | |
| | | this.Decorators = new List<RevitDecorator>(); |
| | | this.Reservoirs = rhs.Reservoirs; |
| | | this.Tanks = rhs.Tanks; |
| | | this.Waterboxs = rhs.Waterboxs; |
| | | this.Junctions = rhs.Junctions; |
| | | this.Bluntheads = rhs.Bluntheads; |
| | | this.Elbows = rhs.Elbows; |
| | | this.Threelinks = rhs.Threelinks; |
| | | this.Fourlinks = rhs.Fourlinks; |
| | | this.Nozzles = rhs.Nozzles; |
| | | this.Hydrants = rhs.Hydrants; |
| | | this.Coolings = rhs.Coolings; |
| | | this.Meters = rhs.Meters; |
| | | this.Flowmeters = rhs.Flowmeters; |
| | | this.Pressmeters = rhs.Pressmeters; |
| | | this.Pipes = rhs.Pipes; |
| | | this.Translations = rhs.Translations; |
| | | this.Pumps = rhs.Pumps; |
| | | this.Valves = rhs.Valves; |
| | | this.Exchangers = rhs.Exchangers; |
| | | this.Compressors = rhs.Compressors; |
| | | this.Decorators = rhs.Decorators; |
| | | } |
| | | |
| | | |
| | | #region 基础信息 |
| | | #region 基础 |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region Node |
| | | #region 节点 |
| | | |
| | | /// <summary> |
| | | /// 水库列表 |
| | |
| | | public List<RevitTank> Tanks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 扩散器列表 |
| | | /// 水箱列表 |
| | | /// </summary> |
| | | public List<RevitEmitter> Emitters { get; set; } |
| | | public List<RevitWaterbox> Waterboxs { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 节点列表 |
| | | /// </summary> |
| | | public List<RevitJunction> Junctions { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 闷头列表 |
| | | /// </summary> |
| | | public List<RevitBlunthead> Bluntheads { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 弯头列表 |
| | | /// </summary> |
| | | public List<RevitElbow> Elbows { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 三通列表 |
| | | /// </summary> |
| | | public List<RevitThreelink> Threelinks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 四通列表 |
| | | /// </summary> |
| | | public List<RevitFourlink> Fourlinks { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 喷嘴列表 |
| | | /// </summary> |
| | | public List<RevitNozzle> Nozzles { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 消火栓列表 |
| | | /// </summary> |
| | | public List<RevitHydrant> Hydrants { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 冷却塔列表 |
| | | /// </summary> |
| | | public List<RevitCooling> Coolings { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水表 |
| | | /// </summary> |
| | | public List<RevitMeter> Meters { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 流量计列表 |
| | | /// </summary> |
| | | public List<RevitFlowmeter> Flowmeters { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 压力表列表 |
| | | /// </summary> |
| | | public List<RevitPressmeter> Pressmeters { get; set; } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region Linker |
| | | #region 管段 |
| | | |
| | | /// <summary> |
| | | /// 管道列表 |
| | | /// </summary> |
| | | public List<RevitPipe> Pipes { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 过渡件列表 |
| | | /// </summary> |
| | | public List<RevitTranslation> Translations { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 水泵列表 |
| | |
| | | public List<RevitValve> Valves { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 管道列表 |
| | | /// 换热器列表 |
| | | /// </summary> |
| | | public List<RevitPipe> Pipes { get; set; } |
| | | public List<RevitExchanger> Exchangers { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 空压机列表 |
| | | /// </summary> |
| | | public List<RevitCompressor> Compressors { get; set; } |
| | | |
| | | #endregion |
| | | |