| | |
| | | this.Coefficient = rhs.Coefficient; |
| | | this.Material = rhs.Material; |
| | | this.ID = rhs.ID; |
| | | this.Caliber = rhs.Caliber; |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.SortCode = rhs.SortCode; |
| | |
| | | |
| | | public void Reset(Vmo.AdaptingManageVmo rhs) |
| | | { |
| | | this.AdaptingType = (Service.Assets.eAdaptingType)rhs.AdaptingType; |
| | | this.AdaptingType = (HStation.Assets.eAdaptingType)rhs.AdaptingType; |
| | | this.Coefficient = rhs.Coefficient; |
| | | this.Material = rhs.Material; |
| | | this.ID = rhs.ID; |
| | | this.Caliber = rhs.Caliber; |
| | | if (rhs.Caliber == null) |
| | | { |
| | | this.Caliber = "默认"; |
| | | } |
| | | else |
| | | { |
| | | this.Caliber = rhs.Caliber.ToString(); |
| | | } |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | this.SortCode = rhs.SortCode; |
| | |
| | | /// </summary> |
| | | [DisplayName("附件类型")] |
| | | [Browsable(true)] |
| | | public Service.Assets.eAdaptingType AdaptingType { get; set; } |
| | | public HStation.Assets.eAdaptingType AdaptingType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | |
| | | /// </summary> |
| | | [DisplayName("损失系数")] |
| | | [Browsable(true)] |
| | | public string Coefficient { get; set; } |
| | | public double? Coefficient { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序码 |