using DevExpress.XtraRichEdit.Model.History;
|
using Yw.Untity;
|
|
namespace HStation.WinFrmUI.Assets
|
{
|
public class AssetsPipeSeriesViewModel
|
{
|
public AssetsPipeSeriesViewModel()
|
{
|
}
|
|
public AssetsPipeSeriesViewModel(Vmo.AssetsPipeSeriesVmo rhs)
|
{
|
this.Name = rhs.Name;
|
this.ID = rhs.ID;
|
this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
|
this.Description = rhs.Description;
|
}
|
|
public void Reset(Vmo.AssetsPipeSeriesVmo rhs)
|
{
|
this.Name = rhs.Name;
|
this.ID = rhs.ID;
|
this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
|
this.Description = rhs.Description;
|
}
|
|
public string Name { get; set; }
|
public long ID { get; set; }
|
public long ParentID { get; set; }
|
public string Description { get; set; }
|
}
|
}
|