private void HandleRfidEvent(object sender, RFIDEventArgs e) { CurrentRFIDReader = e.RFID; if (_charger.IsConnected == false) { _display.showConnectionToPhoneFailed(); } else { _display.showConnectToPhone(); } RfidDetected(e.RFID); }
protected virtual void RfidDetectedEvent(RFIDEventArgs e) { RfidEvent?.Invoke(this, e); }