using XP.Hardware.Detector.Abstractions.Enums;

namespace XP.Hardware.Detector.Abstractions
{
    /// <summary>
    /// 探测器信息 | Detector information
    /// 包含探测器的硬件参数和配置信息
    /// </summary>
    public class DetectorInfo
    {
        /// <summary>
        /// 探测器类型 | Detector type
        /// </summary>
        public DetectorType Type { get; set; }

        /// <summary>
        /// 探测器型号 | Detector model
        /// </summary>
        public string Model { get; set; }

        /// <summary>
        /// 序列号 | Serial number
        /// </summary>
        public string SerialNumber { get; set; }

        /// <summary>
        /// 固件版本 | Firmware version
        /// </summary>
        public string FirmwareVersion { get; set; }

        /// <summary>
        /// 最大分辨率宽度 | Maximum resolution width
        /// </summary>
        public uint MaxWidth { get; set; }

        /// <summary>
        /// 最大分辨率高度 | Maximum resolution height
        /// </summary>
        public uint MaxHeight { get; set; }

        /// <summary>
        /// 像素尺寸（微米）| Pixel size (micrometers)
        /// </summary>
        public double PixelSize { get; set; }

        /// <summary>
        /// 位深度 | Bit depth
        /// </summary>
        public int BitDepth { get; set; }
    }
}
