using HStation.Assets; namespace HStation.WinFrmUI { /// /// 弯头匹配ViewModel /// public class ElbowMatchingViewModel { /// /// ID /// [DisplayName("ID")] [Browsable(false)] public long ID { get; set; } /// /// 编码 /// [DisplayName("编码")] [Browsable(true)] public string Code { get; set; } /// /// 名称 /// [DisplayName("名称")] [Browsable(true)] public string Name { get; set; } /// /// Db锁定 /// [DisplayName("锁定")] [Browsable(true)] public bool DbLocked { get; set; } /// /// 型号 /// [DisplayName("型号")] [Browsable(true)] public string ModelType { get; set; } /// /// DbId /// [DisplayName("DbId")] [Browsable(false)] public string DbId { get; set; } /// /// 材质 /// [DisplayName("材质")] [Browsable(true)] public string Material { get; set; } /// /// 管路连接长度 /// [DisplayName("连接长度")] [Browsable(true)] public HStation.Assets.eElbowType? ConnectionLength { get; set; } /// /// 角度 /// [DisplayName("角度")] [Browsable(true)] public int? Angle { get; set; } /// /// 口径 /// [DisplayName("口径")] [Browsable(true)] public double? Caliber { get; set; } /// /// 损失系数 /// [DisplayName("损失系数")] [Browsable(true)] public double? MinorLoss { get; set; } /// /// 匹配型号 /// [DisplayName("匹配型号")] [Browsable(true)] public string MatchingModelType { get; set; } /// /// 匹配Dbid /// [DisplayName("MatchingDbId")] [Browsable(false)] public string MatchingDbId { get; set; } /// /// 匹配材质 /// [DisplayName("匹配材质")] [Browsable(true)] public string MatchingMaterial { get; set; } /// /// 匹配口径 /// [DisplayName("匹配口径")] [Browsable(true)] public double? MatchingCaliber { get; set; } /// /// 匹配损失系数 /// [DisplayName("匹配损失系数")] [Browsable(true)] public double? MatchingMinorLoss { get; set; } /// /// 弯头类型 /// [DisplayName("弯头类型")] [Browsable(true)] public HStation.Assets.eElbowType? MatchingConnectionLength { get; set; } /// /// 角度 /// [DisplayName("匹配角度")] [Browsable(true)] public int? MatchingAngle { get; set; } } }