Files
XplorePlane/XP.Hardware.Detector/Config/SimulatedDetectorConfig.cs

31 lines
872 B
C#

using XP.Hardware.Detector.Abstractions.Enums;
namespace XP.Hardware.Detector.Config
{
/// <summary>
/// 软件模拟探测器配置 | Simulated detector configuration
/// </summary>
public class SimulatedDetectorConfig : DetectorConfig
{
public SimulatedDetectorConfig()
{
Type = DetectorType.Simulated;
}
/// <summary>
/// 合成帧宽度(像素)| Synthetic frame width (pixels)
/// </summary>
public int Width { get; set; } = 2800;
/// <summary>
/// 合成帧高度(像素)| Synthetic frame height (pixels)
/// </summary>
public int Height { get; set; } = 2800;
/// <summary>
/// 模拟帧率(帧/秒)| Simulated frame rate (fps)
/// </summary>
public double FrameRateFps { get; set; } = 5.0;
}
}