添加项目文件。
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
namespace HardwareControl.Core.Spectrometer
|
||||
{
|
||||
/// <summary>
|
||||
/// 多台光谱仪同步采集参数。一次调用会采集所有已连接设备各一帧。
|
||||
/// 为 null 的字段使用 <see cref="ArisSpectrometerOptions"/> 中的默认值。
|
||||
/// </summary>
|
||||
public sealed record SynchronizedSpectrumRequest
|
||||
{
|
||||
/// <summary>
|
||||
/// 曝光时间,单位微秒,必须大于 0。
|
||||
/// 为 null 时使用配置中的 <see cref="ArisSpectrometerOptions.SynchronizedExposureUs"/>。
|
||||
/// </summary>
|
||||
public int? ExposureUs { get; init; }
|
||||
|
||||
/// <summary>平均次数,必须大于等于 1。</summary>
|
||||
public int? Averaging { get; init; }
|
||||
|
||||
/// <summary>触发延迟,单位微秒,必须大于等于 0。</summary>
|
||||
public int? DelayUs { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// StartMeasurement 返回后,等待所有设备回调的最长时间(毫秒)。
|
||||
/// 小于等于 0 时使用配置中的 <see cref="ArisSpectrometerOptions.SynchronizedWaitTimeoutMs"/>。
|
||||
/// </summary>
|
||||
public int? WaitTimeoutMs { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user