| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | if (rhs.MaterialName == null) |
| | | if (rhs.Material == null) |
| | | { |
| | | this.MaterialName = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.MaterialName = rhs.MaterialName.ToString(); |
| | | this.MaterialName = rhs.Material.ToString(); |
| | | } |
| | | this.Hazen = rhs.Hazen; |
| | | this.Darcy = rhs.Darcy; |
| | |
| | | this.Name = rhs.Name; |
| | | this.SortCode = rhs.SortCode; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.IsDefault = rhs.IsDefault; |
| | | } |
| | | |
| | | public void Reset(Vmo.AssetsPipeMainVmo rhs) |
| | |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | this.MaterialName = rhs.MaterialName; |
| | | this.MaterialName = rhs.Material; |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.KeyWord = rhs.KeyWord; |
| | | this.IsDefault = rhs.IsDefault; |
| | | this.SortCode = rhs.SortCode; |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | [DisplayName("关键字")] |
| | | [Browsable(true)] |
| | | public string KeyWord { get; set; } |
| | | public List<string> KeyWord { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否默认 |