using qdr.fnd.core.pqueue.Enums;

namespace qdr.fnd.core.pqueue
{
    public delegate void PsQueueStatusChangedEventHandler(IPsQueue sender, PsQueueStatusChangedEventArgs e);

    public class PsQueueStatusChangedEventArgs : EventArgs
    {
        
        #region *** Properties ***
        public string ProcessQueueItemId { get; set; }
        public PsStatusEnum CurrentStatus { get; set; }
        public bool CurrentIsStatusTransient { get; set; }
        public PsStatusEnum PreviousStatus { get; set; }
        public bool PreviousIsStatusTransient { get; set; }
        #endregion

        #region *** Constructors ***
        public PsQueueStatusChangedEventArgs(string processQueueItemId)
        {
            ProcessQueueItemId = processQueueItemId;
        }
        #endregion

    }
}
