| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | if (rhs.Material == null || rhs.Material == string.Empty) |
| | | { |
| | | this.Material = "默认"; |
| | | } |
| | |
| | | } |
| | | this.Name = rhs.Name; |
| | | this.SortCode = rhs.SortCode; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.Coefficient = rhs.MinorLoss; |
| | | } |
| | | |
| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | if (rhs.Material == null||rhs.Material==string.Empty) |
| | | { |
| | | this.Material = "默认"; |
| | | } |
| | |
| | | } |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.KeyWord = string.Join(",", rhs.KeyWord); |
| | | this.SortCode = rhs.SortCode; |
| | | this.Coefficient = rhs.MinorLoss; |
| | | } |
| | |
| | | /// </summary> |
| | | [DisplayName("关键字")] |
| | | [Browsable(true)] |
| | | public List<string> KeyWord { get; set; } |
| | | public string KeyWord { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 说明 |