| | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class CurrentPartMainViewModel : PumpPartMainDto |
| | | public class CurrentPartMainViewModel |
| | | { |
| | | public CurrentPartMainViewModel() |
| | | { |
| | | } |
| | | |
| | | public CurrentPartMainViewModel(PumpPartMainDto rhs) : base() |
| | | public CurrentPartMainViewModel(Vmo.PumpPartMain rhs) : base() |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.SeriesID = rhs.SeriesID; |
| | | } |
| | | |
| | | public void Reset(UpdatePumpPartMainDto rhs) |
| | | public void Reset(Vmo.PumpPartMain rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Name = rhs.Name; |
| | |
| | | this.Code = rhs.Code; |
| | | this.SeriesID = rhs.SeriesID; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ID |
| | | /// </summary> |
| | | public long ID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 泵系列ID |
| | | /// </summary> |
| | | public long SeriesID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产品编号 |
| | | /// </summary> |
| | | public string NO { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产品名称 |
| | | /// </summary> |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产品图号 |
| | | /// </summary> |
| | | public string Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 排序码 |
| | | /// </summary> |
| | | public int SortCode { get; set; } |
| | | } |
| | | } |