26 lines
878 B
C#
26 lines
878 B
C#
using HardwareControl.Core.SampleAnalysis;
|
|
|
|
namespace HardwareControl.Core.HardwareServiceImpl.HardwareService
|
|
{
|
|
/// <summary>
|
|
/// 靶样轮廓与采样点分析服务:抓取相机当前画面并分析。
|
|
/// </summary>
|
|
public interface ISampleAnalysisService
|
|
{
|
|
/// <summary>抓取相机当前画面,提取轮廓并生成采样点。</summary>
|
|
SampleAnalysisResult Analyze();
|
|
|
|
/// <summary>
|
|
/// 获取最近一次轮廓分析结果供扫描流程复用;
|
|
/// 尚未分析过时立即执行一次分析。
|
|
/// </summary>
|
|
SampleAnalysisResult GetLatestAnalysis();
|
|
|
|
/// <summary>
|
|
/// 前端等待轮廓识别结果的超时时间(秒),
|
|
/// 取自系统参数 camera_Identification_outtime。
|
|
/// </summary>
|
|
int GetIdentificationTimeoutSeconds();
|
|
}
|
|
}
|