using DevExpress.XtraRichEdit.Model.History; namespace HStation.WinFrmUI.Assets { public class ValveSeriesViewModel { public ValveSeriesViewModel() { } public ValveSeriesViewModel(Vmo.ValveSeriesVmo rhs) { this.Name = rhs.Name; this.ID = rhs.ID; this.Description = rhs.Description; this.Type = rhs.Type; } public void Reset(Vmo.ValveSeriesVmo rhs) { this.Name = rhs.Name; this.ID = rhs.ID; this.Description = rhs.Description; this.Type = rhs.Type; } public string Name { get; set; } public long ID { get; set; } public long ParentID { get; set; } public string Description { get; set; } public HStation.Service.Assets.eValveSeriesType Type { get; set; } } }