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