| | |
| | | { |
| | | 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 = string.Join(",", rhs.KeyWord); |
| | | this.KeyWord = string.Join(",", rhs.KeyWords); |
| | | this.RunThroughMinorLoss = rhs.RunThroughMinorLoss; |
| | | this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | |
| | | { |
| | | 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 = string.Join(",", rhs.KeyWord); |
| | | this.KeyWord = string.Join(",", rhs.KeyWords); |
| | | this.RunThroughMinorLoss = rhs.RunThroughMinorLoss; |
| | | this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss; |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.Description = rhs.Description; |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// 系数 |
| | | /// </summary> |
| | | |
| | | [DisplayName("系数")] |
| | | [DisplayName("损失系数")] |
| | | [Browsable(true)] |
| | | public double MinorLoss { get; set; } |
| | | |