| | |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.Description = rhs.Description; |
| | | this.Material = rhs.MaterialName; |
| | | this.Material = rhs.Material; |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.MaterialName == null) |
| | | if (rhs.Material == null) |
| | | { |
| | | this.Material = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Material = rhs.MaterialName.ToString(); |
| | | this.Material = rhs.Material.ToString(); |
| | | } |
| | | this.Coefficient = rhs.Coefficient; |
| | | this.Coefficient = rhs.MinorLoss; |
| | | this.SeriesID = rhs.SeriesID; |
| | | this.SeriesType = rhs.Type; |
| | | this.SeriesType = rhs.ValveType; |
| | | this.SortCode = rhs.SortCode; |
| | | this.ValveLift = rhs.ValveLift; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.ValveSetting = rhs.ValveSetting; |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | [DisplayName("类型")] |
| | | [Browsable(true)] |
| | | public HStation.Assets.eAssetsValveSeriesType SeriesType { get; set; } |
| | | public HStation.Assets.eValveType SeriesType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说明 |