public void OnRfidRead(int rfid) { if (rfid <= 0) { rfid = 0; } var args = new RFIDDataEventArgs { RFIDtag = rfid }; RFIDEvent?.Invoke(this, args); }
protected virtual void OnRfidRead(RFIDEventArgs e) { RFIDEvent?.Invoke(this, e); }
public void OnRfidRead(int id) { RFIDEvent?.Invoke(this, new RFIDEventArgs { RFID = id }); //Event call when function is called }
public void OnRfidRead(int e) { RFIDEvent?.Invoke(this, e); }