| | |
| | | this.CreateName = rhs.CreateName; |
| | | this.Description = rhs.Description; |
| | | this.Material = rhs.Material; |
| | | this.Caliber = rhs.Caliber;//mm |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | this.Coefficient = rhs.Coefficient; |
| | | this.SeriesID = rhs.SeriesID; |
| | | this.Type = rhs.Type; |
| | | this.SortCode = rhs.SortCode; |
| | | } |
| | | |
| | |
| | | this.CreateName = rhs.CreateName; |
| | | this.Description = rhs.Description; |
| | | this.Material = rhs.Material; |
| | | this.Caliber = rhs.Caliber;//mm |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | this.Coefficient = rhs.Coefficient; |
| | | this.SeriesID = rhs.SeriesID; |
| | | this.Type = rhs.Type; |
| | | this.SortCode = rhs.SortCode; |
| | | } |
| | | |
| | |
| | | public string Material { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 粗糙系数 |
| | | /// 损失系数 |
| | | /// </summary> |
| | | [DisplayName("粗糙系数")] |
| | | [DisplayName("损失系数")] |
| | | [Browsable(true)] |
| | | public string Coefficient { get; set; } |
| | | public double Coefficient { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 类型 |
| | | /// </summary> |
| | | [DisplayName("类型")] |
| | | [Browsable(true)] |
| | | public string Type { get; set; } |
| | | public HStation.Assets.eValveSeriesType Type { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说明 |