namespace HStation.WinFrmUI.Assets
|
{
|
public class ExchangerPartViewModel
|
{
|
public ExchangerPartViewModel()
|
{
|
}
|
|
public ExchangerPartViewModel(Vmo.AssetsExchangerPartMainVmo 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.AssetsExchangerPartMainVmo 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>
|
/// ID
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 设备ID
|
/// </summary>
|
public long PartID { 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; }
|
}
|
}
|