public void T() { var ecr = new Dp25("COM1"); ecr.FeedPaper(10); ecr.Dispose(); }
public void FeedPaper() { try { var res = _ecr.FeedPaper(FeedPaperLines > 0 ? FeedPaperLines : 1); _messenger.Publish(new EcrRespondedEvent(res)); } catch (Exception ex) { _messenger.Publish(new EcrThrewExceptionEvent(ex)); } }