You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
2.8 KiB
C#

2 months ago
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.lmm.Collection.Model.TestAndInspection.InspectedPanel
* 878E3D48-491F-4C02-9341-A9CAC4AA796E
*
* WenJY
*
* 2025-10-22 16:44:10
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Model.api.TestAndInspection.Enum;
namespace Sln.Iot.Model.api.TestAndInspection.InspectedPanel
{
/// <summary>
/// 缺陷信息
/// </summary>
public class Defect
{
/// <summary>
/// 唯一缺陷ID
/// </summary>
public string UniqueIdentifier { get; set; }
/// <summary>
/// 缺陷编号
/// </summary>
public string DefectCode { get; set; }
/// <summary>
/// 缺陷分类
/// </summary>
public string DefectCategory { get; set; }
/// <summary>
/// 缺陷描述
/// </summary>
public string Description { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Comments { get; set; }
/// <summary>
/// 组件标识IDID
/// </summary>
public ComponentDesignator ComponentOfInterest { get; set; }
/// <summary>
/// 组件位置
/// </summary>
public Region RegionOfInterest { get; set; }
/// <summary>
/// 缺陷图像信息
/// </summary>
public List<Image> DefectImages { get; set; } = new List<Image>();
/// <summary>
/// 等级
/// </summary>
public int? Priority { get; set; }
/// <summary>
/// 信赖值
/// </summary>
public double? ConfidenceLevel { get; set; }
/// <summary>
/// 关联测量信息
/// </summary>
public List<Measurement> RelatedMeasurements { get; set; } = new List<Measurement>();
/// <summary>
/// 相关症状信息
/// </summary>
public List<Symptom> RelatedSymptoms { get; set; } = new List<Symptom>();
/// <summary>
/// 验证结果
/// </summary>
public VerificationResult? Verification { get; set; }
/// <summary>
/// 验证详情
/// </summary>
public string VerificationDetail { get; set; }
}
}