using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace MainShell.AlgorithmCalib.Common
{
    /// <summary>
    /// 对标 OriginCalib 的 ICalibrationPostProcessor
    /// 旋转表标定的后处理器：原 task/rotateformcalibtask 的逻辑搬入实现类
    /// </summary>
    public interface IAlgorithmCalibrationPostProcessor
    {
        string Name { get; }

        /// <summary>
        /// 标定后处理（对标原 RotateFormCalibTask.RotateCalib）
        /// </summary>
        Task ExecuteAsync(AlgorithmCalibExecutionResult calibrationResult, CancellationToken cancellationToken);

        /// <summary>
        /// 验证后处理（对标原 RotateFormCalibTask.RotateCalibVerify）
        /// </summary>
        Task VerifyAsync(CancellationToken cancellationToken);
    }
}
