using System; namespace XP.Hardware.Detector.Abstractions { /// /// 图像采集事件参数 | Image captured event arguments /// 携带图像数据和元信息 /// public class ImageCapturedEventArgs : EventArgs { /// /// 16 位图像原始数据(无符号)| 16-bit raw image data (unsigned) /// public ushort[] ImageData { get; set; } /// /// 图像宽度 | Image width /// public uint Width { get; set; } /// /// 图像高度 | Image height /// public uint Height { get; set; } /// /// 帧号 | Frame number /// public int FrameNumber { get; set; } /// /// 存储路径 | Save path /// public string SavePath { get; set; } /// /// 曝光时间(毫秒)| Exposure time (milliseconds) /// public uint ExposureTime { get; set; } /// /// 采集时间戳 | Capture timestamp /// public DateTime CaptureTime { get; set; } } }