using HStation.Assets; namespace HStation.Dto.Assets { public class AdaptingManageDto { public AdaptingManageDto() { } public AdaptingManageDto(Model.AssetsUserDefined rhs) { this.ID = rhs.ID; this.AdaptingType = rhs.AdaptingType; this.Coefficient = rhs.Coefficient; this.MaterialName = rhs.MaterialName; this.Caliber = rhs.Caliber; this.Name = rhs.Name; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public long ID { get; set; } /// /// 设备类型(弯头,三通,四通....) /// public eAdaptingType AdaptingType { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string MaterialName { get; set; } /// /// 系数 /// public double? Coefficient { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } } }