| | |
| | | public RevitReservoir(RevitReservoir rhs) : base(rhs) |
| | | { |
| | | this.ModelType = rhs.ModelType; |
| | | this.Elev = rhs.Elev; |
| | | this.Quality = rhs.Quality; |
| | | 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.HeadPattern = rhs.HeadPattern; |
| | | this.PropValueList = rhs.PropValueList; |
| | | this.BoundingBox = rhs.BoundingBox; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 型号 |
| | | /// 型号信息 |
| | | /// </summary> |
| | | [JsonProperty("型号信息", NullValueHandling = NullValueHandling.Ignore)] |
| | | public string ModelType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 标高 |
| | | /// 初始水质 |
| | | /// </summary> |
| | | public double Elev { get; set; } |
| | | [JsonProperty("初始水质", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Quality { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 总水头 |
| | | /// </summary> |
| | | [JsonProperty("总水头", NullValueHandling = NullValueHandling.Ignore)] |
| | | public double Head { 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; } |
| | | [JsonProperty("水头模式", NullValueHandling = NullValueHandling.Ignore)] |
| | | public string HeadPattern { 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; } |
| | | } |
| | | } |