Beispiel #1
0
 public ServiceRunner(
     IOcrProcessingService carService,
     IAdapterConfiguration adapterConfiguration,
     IQueueConsumer<RecogniseBatchCourtesyAmountRequest> carRequestQueueConsumer)
 {
     this.adapterConfiguration = adapterConfiguration;
     this.carRequestQueueConsumer = carRequestQueueConsumer;
     this.carService = carService;
 }
Beispiel #2
0
 public ServiceRunner(
     IOcrProcessingService carService,
     IAdapterConfiguration adapterConfiguration,
     IQueueConsumer <RecogniseBatchCourtesyAmountRequest> carRequestQueueConsumer)
 {
     this.adapterConfiguration    = adapterConfiguration;
     this.carRequestQueueConsumer = carRequestQueueConsumer;
     this.carService = carService;
 }
 public CarRequestMessageProcessor(
     IOcrProcessingService carService,
     IMapper <RecogniseBatchCourtesyAmountRequest, OcrBatch> requestMapper,
     IExchangePublisher <RecogniseBatchCourtesyAmountResponse> exchangePublisher,
     IMapper <OcrBatch, RecogniseBatchCourtesyAmountResponse> responseMapper)
 {
     this.carService        = carService;
     this.requestMapper     = requestMapper;
     this.exchangePublisher = exchangePublisher;
     this.responseMapper    = responseMapper;
 }
Beispiel #4
0
        protected override void OnStart(string[] args)
        {
            log.Information("Car Service Started");
            var imageFileFolder       = ConfigurationManager.AppSettings["adapter:ImageFileFolder"];
            var imageFilenameTemplate = ConfigurationManager.AppSettings["adapter:ImageFilenameTemplate"];

            ocrService = new A2iACombinedTableService(ocrConfiguration);

            ProcessingService.OcrService            = ocrService;
            ProcessingService.ImageFilePath         = imageFileFolder;
            ProcessingService.ImageFileNameTemplate = imageFilenameTemplate;
            ProcessingService.Run();
        }
Beispiel #5
0
        protected override void OnStart(string[] args)
        {
            log.Information("Car Service Started");
            var imageFileFolder = ConfigurationManager.AppSettings["adapter:ImageFileFolder"];
            var imageFilenameTemplate = ConfigurationManager.AppSettings["adapter:ImageFilenameTemplate"];

            ocrService = new A2iACombinedTableService(ocrConfiguration);

            ProcessingService.OcrService = ocrService;
            ProcessingService.ImageFilePath = imageFileFolder;
            ProcessingService.ImageFileNameTemplate = imageFilenameTemplate;
            ProcessingService.Run();
        }