| | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class ThreeLinkMatchingViewModel : AdaptingViewModel |
| | | public class ThreeLinkMatchingViewModel |
| | | { |
| | | public ThreeLinkMatchingViewModel(ThreeLinkMatchingViewModel rhs) : base(rhs) |
| | | public ThreeLinkMatchingViewModel() |
| | | { |
| | | } |
| | | |
| | | public ThreeLinkMatchingViewModel(ThreeLinkMatchingViewModel rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.DbLocked = rhs.DbLocked; |
| | | this.Material = rhs.Material; |
| | | this.Caliber = rhs.Caliber; |
| | | this.Code = rhs.Code; |
| | | this.DbId = rhs.DbId; |
| | | this.ModelType = rhs.ModelType; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ID |
| | | /// </summary> |
| | | [DisplayName("ID")] |
| | | [Browsable(false)] |
| | | public long ID { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | [DisplayName("名称")] |
| | | [Browsable(true)] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | ///修改前Dbid |
| | | /// </summary> |
| | | [DisplayName("Dbid")] |
| | | [Browsable(false)] |
| | | public string DbId { get; set; } |
| | | |
| | | /// <summary> |
| | | ///修改后Dbid |
| | | /// </summary> |
| | | [DisplayName("MatchingDbid")] |
| | | [Browsable(false)] |
| | | public long? MatchingDbid { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 编码 |
| | | /// </summary> |
| | | [DisplayName("编码")] |
| | | [Browsable(true)] |
| | | public string Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 型号名 |
| | | /// </summary> |
| | | [DisplayName("型号名")] |
| | | [Browsable(true)] |
| | | public string ModelType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 材质 |
| | | /// </summary> |
| | | [DisplayName("材质")] |
| | | [Browsable(true)] |
| | | public string Material { get; set; } |
| | | |
| | | /// <summary> |
| | | ///修改后材质 |
| | | /// </summary> |
| | | [DisplayName("修改后材质")] |
| | | [Browsable(true)] |
| | | public string MatchingMaterial { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 口径 |
| | | /// </summary> |
| | | [DisplayName("口径")] |
| | | [Browsable(true)] |
| | | public double? Caliber { get; set; } |
| | | |
| | | /// <summary> |
| | | ///修改后口径 |
| | | /// </summary> |
| | | [DisplayName("修改后口径")] |
| | | [Browsable(true)] |
| | | public string MatchingCaliber { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Db锁定 |
| | | /// </summary> |
| | | [DisplayName("是否锁定")] |
| | | [Browsable(true)] |
| | | public bool DbLocked { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 损失系数 |
| | | /// </summary> |
| | | [DisplayName("损失系数")] |
| | | [Browsable(true)] |
| | | public double? MinorLoss { get; set; } |
| | | |
| | | /// <summary> |
| | | ///修改后损失系数 |
| | | /// </summary> |
| | | [DisplayName("修改后损失系数")] |
| | | [Browsable(true)] |
| | | public double? MatchingMinorLoss { get; set; } |
| | | } |
| | | } |