using MainShell.ProcessResult;
using System;

namespace MainShell.Process
{
    public class WaferDiePositionResultService : IWaferDiePositionResultService
    {
        public void ApplySnapshot(WaferDiePositionContext context, WaferRecognitionSnapshot snapshot)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            context.RecognitionSnapshot = snapshot;
        }

        public void WriteProcessResult(WaferDiePositionContext context, DiePositionProcessResult processResult)
        {
            if (processResult == null)
            {
                throw new ArgumentNullException(nameof(processResult));
            }
        }
    }
}