| | |
| | | namespace HStation.WinFrmUI |
| | | using HStation.WinFrmUI.Xhs; |
| | | |
| | | namespace HStation.WinFrmUI |
| | | { |
| | | public class PipeLineMatchingViewModel : AdaptingViewModel |
| | | public class PipeLineMatchingViewModel |
| | | { |
| | | public PipeLineMatchingViewModel() : base() |
| | | public PipeLineMatchingViewModel() |
| | | { |
| | | } |
| | | |
| | | public PipeLineMatchingViewModel(PipeLineMatchingViewModel rhs) : base(rhs) |
| | | public PipeLineMatchingViewModel(PipeLineMatchingViewModel 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; |
| | | |
| | | this.eAlgorithmType = rhs.eAlgorithmType; |
| | | } |
| | | |
| | | /// <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; } |
| | | |
| | | /// <summary> |
| | | /// 算法类型 |
| | | /// </summary> |
| | | public HStation.Assets.eAlgorithmType eAlgorithmType { get; set; } |