#region << 版 本 注 释 >>

/*--------------------------------------------------------------------
* 版权所有 (c) 2025 WenJY 保留所有权利。
* CLR版本：4.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; }
    }
}