private void InitReaders() { //BarcodeReader = Mvx.Resolve<IBarcode>(); QRCodeReader = Mvx.Resolve <IQrcodeService>(); //RFIDReader = Mvx.Resolve<IRfid>(); QRCodeReader.OnScanEvent += OnScanEvent; QRCodeReader.OnScanFail += OnScanFail; //BarcodeReader.OnScanEvent += OnScanEvent; //BarcodeReader.OnScanFail += OnScanFail; //RFIDReader.OnRFIDScanEvent += OnRFIDScanEvent; //RFIDReader.OnRFIDScanFail += OnRFIDScanFail; //RFIDReader.OnRFIDWriteEvent += OnRFIDScanEvent; //RFIDReader.OnRFIDWriteEventFailed += OnRFIDScanFail; }
public QRController(IQrcodeService qrcodeService) { this._qrcodeService = qrcodeService; }