| | |
| | | { |
| | | } |
| | | |
| | | public CurrentPartMainViewModel(Vmo.PumpPartMainVmo rhs) : base() |
| | | public CurrentPartMainViewModel(Vmo.AssetsPumpPartMainVmo rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.PartID=rhs.PartID; |
| | | this.Name = rhs.Name; |
| | | this.NO = rhs.NO; |
| | | this.Code = rhs.Code; |
| | | this.SeriesID = rhs.SeriesID; |
| | | } |
| | | |
| | | public void Reset(Vmo.PumpPartMainVmo rhs) |
| | | public void Reset(Vmo.AssetsPumpPartMainVmo rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | | this.NO = rhs.NO; |
| | | this.Code = rhs.Code; |
| | | this.PartID = rhs.PartID; |
| | | this.SeriesID = rhs.SeriesID; |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | public long ID { get; set; } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 泵设备ID |
| | | /// </summary> |
| | | public long PartID { get; set; } |
| | | /// <summary> |
| | | /// 泵系列ID |
| | | /// </summary> |