| | |
| | | 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; |
| | | } |
| | | |
| | |
| | | /// <summary> |
| | | /// 口径 |
| | | /// </summary> |
| | | [DisplayName("口径")] |
| | | [DisplayName("口径(mm)")] |
| | | [Browsable(true)] |
| | | public string Caliber { get; set; } |
| | | |
| | |
| | | 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> |
| | | /// 说明 |
| | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | [DisplayName("名称")] |
| | | [DisplayName("型号")] |
| | | [Browsable(true)] |
| | | public string Name { get; set; } |
| | | |