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 ScanResultEvent : IEvent
    {
        public ScanResultEvent() { }
        public ScanResultEvent(string message)
        {
            Time = DateTime.Now;
            Message = message;
        }
        public ScanResultEvent(DateTime time, string message)
        {
            Time = time;
            Message = message;
        }
        public DateTime Time { get; set; }

        public string Message { get; set; }
    }
}
