public EMVTerminalApplicationBase(CardQProcessor cardQProcessor, IConfigurationProvider configProvider)
        {
            this.configProvider = configProvider;

            cancellationTokenForTerminalApplication = new CancellationTokenSource();

            TLVMetaDataSourceSingleton.Instance.DataSource = new EMVTLVMetaDataSource();

            terminalConfigurationData   = new TerminalConfigurationData();
            publicKeyCertificateManager = new PublicKeyCertificateManager(configProvider);
            cardExceptionManager        = new CardExceptionManager(configProvider);

            this.cardQProcessor = cardQProcessor;
            this.cardQProcessor.ExceptionOccured += CardInterface_ExceptionOccured;
            this.cardQProcessor.CardInterfaceManger.CardPutInField       += CardReader_CardPutInField;
            this.cardQProcessor.CardInterfaceManger.CardRemovedFromField += CardReader_CardRemovedFromField;
            cardQProcessor.StartServiceQProcess();
        }
Пример #2
0
 public EMVTerminalQRCodePollApplication()
 {
     terminalConfigurationData = new TerminalConfigurationData();
 }