添加项目文件。
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace HardwareControl.Core.Spectrometer
|
||||
{
|
||||
/// <summary>
|
||||
/// 单帧同步采集参数。为 null 的字段使用
|
||||
/// <see cref="ArisSpectrometerOptions"/> 中的默认值。
|
||||
/// </summary>
|
||||
public sealed record SpectrumAcquisitionRequest
|
||||
{
|
||||
/// <summary>设备索引;为 null 时使用连接时选中的设备。</summary>
|
||||
public int? DeviceIndex { get; init; }
|
||||
|
||||
/// <summary>曝光时间,单位微秒,必须大于 0。</summary>
|
||||
public int? ExposureUs { get; init; }
|
||||
|
||||
/// <summary>平均次数,必须大于等于 1。</summary>
|
||||
public int? Averaging { get; init; }
|
||||
|
||||
/// <summary>触发延迟,单位微秒,必须大于等于 0。</summary>
|
||||
public int? DelayUs { get; init; }
|
||||
|
||||
/// <summary>超时,单位毫秒;小于等于 0 时由 SDK 计算。</summary>
|
||||
public int? TimeoutMs { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user