public ScanSourceEvent(MMM.Readers.FullPage.EventCode eventCode) { EventType = ScanSourceEventType.DEVICE_EVENT; EventCode = eventCode; ErrorMessage = null; }
public ScanSourceEvent(MMM.Readers.ErrorCode errorCode, string errorMessage) { EventType = ScanSourceEventType.ERROR_EVENT; ErrorCode = errorCode; ErrorMessage = errorMessage == null ? "no error message given" : errorMessage; }
public ScanSourceEvent(MMM.Readers.Modules.Swipe.SwipeItem swipeItem, object swipeData) { EventType = ScanSourceEventType.DATA_EVENT; SwipeItem = swipeItem; SwipeData = swipeData; }