namespace HStation.WinFrmUI
{
///
///
///
public class AssetsPressmeterSingleMatchingViewModel
{
///
///
///
public AssetsPressmeterSingleMatchingViewModel() { }
///
///
///
public AssetsPressmeterSingleMatchingViewModel(AssetsPressmeterMainVmo rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.MinorLoss = rhs.MinorLoss;
this.KeyWords = HStation.Service.Assets.KeyWordHelper.ToString(rhs.KeyWords);
this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
this.Vmo = rhs;
}
///
/// id
///
[Display(Name = "ID")]
public long ID { get; set; }
///
/// 型号
///
[DisplayName("型号")]
public string Name { get; set; }
///
/// 局阻系数
///
[DisplayName("局阻系数")]
public double MinorLoss { get; set; }
///
/// 关键字
///
[DisplayName("关键字")]
public string KeyWords { get; set; }
///
/// 标签
///
[DisplayName("标签")]
public string Flags { get; set; }
///
/// 标志
///
[DisplayName("标志")]
public string TagName { get; set; }
///
/// 排序码
///
[DisplayName("排序码")]
public int SortCode { get; set; }
///
/// 说明
///
[DisplayName("说明")]
public string Description { get; set; }
///
///
///
public AssetsPressmeterMainVmo Vmo { get; set; }
}
}