using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Weiz.EventBus.Core;

namespace MES.Utility.EventBus
{
    public class ScanEvent : IEvent
    {
        public ScanEvent() { }
        public ScanEvent(string message)
        {
            Time = DateTime.Now;
            Message = message;
        }
        public ScanEvent(DateTime time, string message)
        {
            Time = time;
            Message = message;
        }
        public DateTime Time { get; set; }

        public string Message { get; set; }
    }
}
