using System.ComponentModel.DataAnnotations; namespace HStation.WinFrmUI.PhartRelation { public class XhsSingleResultViewModel { public XhsSingleResultViewModel() { } public XhsSingleResultViewModel(XhsSingleResultViewModel rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; this.IsBp = rhs.IsBp; this.RunStatus = rhs.RunStatus; this.CurrentHz = rhs.CurrentHz; } /// /// id /// public long ID { get; set; } /// /// 名称 /// [Display(Name = "名称")] public string Name { get; set; } /// /// 编码 /// [Display(Name = "编码")] public string Code { get; set; } /// /// 变频 /// [Display(Name = "变频")] public bool IsBp { get; set; } /// /// 运行状态 /// [Display(Name = "运行状态")] public bool RunStatus { get; set; } /// /// 设定频率 /// [Display(Name = "设定频率")] public double CurrentHz { get; set; } } }