using MainShell.Vision;
using AppCameraType = MainShell.Common.CameraType;

namespace MainShell.EventArgsFolder
{
    public class DisplayFindTemplateResultEventArgs
    {
        public AppCameraType CameraType { get; private set; }

        public FindTemplateResult Result { get; private set; }

        public bool ClearShapesBeforeDisplay { get; private set; }

        public DisplayFindTemplateResultEventArgs(FindTemplateResult result)
            : this(AppCameraType.TopPositionCamera, result, true)
        {
        }

        public DisplayFindTemplateResultEventArgs(AppCameraType cameraType, FindTemplateResult result)
            : this(cameraType, result, true)
        {
        }

        public DisplayFindTemplateResultEventArgs(AppCameraType cameraType, FindTemplateResult result, bool clearShapesBeforeDisplay)
        {
            CameraType = cameraType;
            Result = result;
            ClearShapesBeforeDisplay = clearShapesBeforeDisplay;
        }
    }
}
