namespace HStation.WinFrmUI { /// /// /// public class AssetsPipeSingleMatchingViewModel { /// /// /// public AssetsPipeSingleMatchingViewModel() { } /// /// /// public AssetsPipeSingleMatchingViewModel(AssetsPipeMainVmo rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Material = rhs.Material; this.Caliber = rhs.Caliber; this.Hazen = rhs.Hazen; 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 string Material { get; set; } /// /// 口径 mm /// [DisplayName("口径(mm)")] public double? Caliber { get; set; } /// ///威廉姆斯粗糙系数 /// [DisplayName("威廉姆斯粗糙系数")] public double Hazen { 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 AssetsPipeMainVmo Vmo { get; set; } } }