| | |
| | | this.Code = rhs.Code; |
| | | this.DbId = rhs.DbId; |
| | | this.ModelType = rhs.ModelType; |
| | | this.MatchingCaliber = rhs.MatchingCaliber; |
| | | this.MatchingCaliber = rhs.MatchingCaliber.ToString(); |
| | | this.MatchingMinorLoss = rhs.MatchingMinorLoss; |
| | | this.MatchingDbid = rhs.MatchingDbid; |
| | | this.MatchingDbId = rhs.MatchingDbId; |
| | | this.MatchingMaterial = rhs.MatchingMaterial; |
| | | if (rhs.DbId == null) |
| | | { |
| | |
| | | else |
| | | { |
| | | MatchingType = eMatchingStatus.Succeed; |
| | | } |
| | | if (rhs.MatchingDbId == null || rhs.MatchingDbId == string.Empty) |
| | | { |
| | | MatchingSatus = eMatchingStatus.Failed; |
| | | } |
| | | else |
| | | { |
| | | MatchingSatus = eMatchingStatus.Succeed; |
| | | } |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | [DisplayName("MatchingDbid")] |
| | | [Browsable(false)] |
| | | public long? MatchingDbid { get; set; } |
| | | public string MatchingDbId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 编码 |
| | |
| | | public double? MatchingMinorLoss { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 匹配状态 |
| | | /// </summary> |
| | | [DisplayName("匹配状态")] |
| | | [Browsable(true)] |
| | | public eMatchingStatus MatchingType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否匹配成功 |
| | | /// </summary> |
| | | [DisplayName("是否匹配成功")] |
| | | [Browsable(true)] |
| | | public eMatchingStatus MatchingType { get; set; } |
| | | public eMatchingStatus MatchingSatus { get; set; } |
| | | } |
| | | } |