| | |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Description = rhs.Description; |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | { |
| | | this.Material = "默认"; |
| | |
| | | public void Reset(Vmo.AssetsTranslationMainVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.Material == null) |
| | | { |
| | | this.Material = "默认"; |
| | |
| | | [DisplayName("名称")] |
| | | [Browsable(true)] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 口径 |
| | | /// </summary> |
| | | [DisplayName("口径(mm)")] |
| | | [Browsable(true)] |
| | | public string Caliber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 材料 |