| | |
| | | public RevitTank(RevitTank rhs) : base(rhs) |
| | | { |
| | | this.ModelType = rhs.ModelType; |
| | | this.Elev = rhs.Elev; |
| | | this.Quality = rhs.Quality; |
| | | this.PoolElev = rhs.PoolElev; |
| | | this.InitLevel = rhs.InitLevel; |
| | | this.MinLevel = rhs.MinLevel; |
| | | this.MaxLevel = rhs.MaxLevel; |
| | | this.Diameter = rhs.Diameter; |
| | | this.MinVol = rhs.MinVol; |
| | | this.VolCurve = rhs.VolCurve; |
| | | this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList(); |
| | | this.PropValueList = rhs.PropValueList; |
| | | this.BoundingBox = rhs.BoundingBox; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 型号 |
| | | /// 型号信息 |
| | | /// </summary> |
| | | [JsonProperty("型号信息", NullValueHandling = NullValueHandling.Ignore)] |
| | | public string ModelType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 初始水质 |
| | | /// </summary> |
| | | [JsonProperty("初始水质", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Quality { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 池底标高 |
| | | /// </summary> |
| | | public double Elev { get; set; } |
| | | [JsonProperty("池底标高", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double PoolElev { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 初始水位 |
| | | /// </summary> |
| | | [JsonProperty("初始水位", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double InitLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 最低水位 |
| | | /// </summary> |
| | | [JsonProperty("最低水位", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double MinLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 最高水位 |
| | | /// </summary> |
| | | [JsonProperty("最高水位", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double MaxLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 直径 |
| | | /// </summary> |
| | | [JsonProperty("直径", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Diameter { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 最小容积 |
| | | /// </summary> |
| | | [JsonProperty("最小容积", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double MinVol { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 容积曲线 |
| | | /// </summary> |
| | | [JsonProperty("容积曲线", NullValueHandling = NullValueHandling.Ignore)] |
| | | public string VolCurve { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 属性值列表 |
| | | /// </summary> |
| | | public List<RevitPropValue> PropValueList { get; set; } |
| | | [JsonProperty("属性值列表", NullValueHandling = NullValueHandling.Ignore)] |
| | | public Dictionary<string, object> PropValueList { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 位置 |
| | | /// </summary> |
| | | [JsonProperty("位置", NullValueHandling = NullValueHandling.Ignore)] |
| | | public RevitBoundingBox BoundingBox { get; set; } |
| | | |
| | | } |