| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | if (rhs.Material == null || rhs.Material == string.Empty) |
| | | { |
| | | this.MaterialName = "默认"; |
| | | } |
| | |
| | | this.SortCode = rhs.SortCode; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.Angle = rhs.Angle; |
| | | this.ElbowLengthType = rhs.ElbowLengthType; |
| | | this.ElbowLengthType = rhs.ElbowType; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | } |
| | | |
| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | if (rhs.Material == null || rhs.Material == string.Empty) |
| | | { |
| | | this.MaterialName = "默认"; |
| | | } |
| | |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.SortCode = rhs.SortCode; |
| | | this.Angle = rhs.Angle; |
| | | this.ElbowLengthType = rhs.ElbowLengthType; |
| | | this.ElbowLengthType = rhs.ElbowType; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | [DisplayName("关键字")] |
| | | [Browsable(true)] |
| | | public string KeyWord { get; set; } |
| | | public string KeyWord { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 弯头类型 |
| | | /// </summary> |
| | | [DisplayName("弯头类型")] |
| | | [Browsable(true)] |
| | | public eLengthType? ElbowLengthType { get; set; } |
| | | public eElbowType? ElbowLengthType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 角度 |