J
Jono2412
Guest
There's a requirement to create an interface for users to connect to multiple RFID devices in a single instance of the application. RFID supplier has provided .NET API calls to handle such calls.
internal RFIDReader m_ReaderAPI;
During instantiation we have to create a delegate to handle events that is returned from the device
private delegate void UpdateStatus(Events.StatusEventData eventData);
private UpdateStatus m_UpdateStatusHandler = null;
private delegate void UpdateRead(Events.ReadEventData eventData);
private UpdateRead m_UpdateReadHandler = null;
m_UpdateStatusHandler = new UpdateStatus(myUpdateStatus);
m_UpdateReadHandler = new UpdateRead(myUpdateRead);
What is the best way to develop the application to handle multiple instances of this application, if the user say has 10 readers, and how do we best keep track of each invoked instances as the data returned may need to be parsed to the database.
Continue reading...
internal RFIDReader m_ReaderAPI;
During instantiation we have to create a delegate to handle events that is returned from the device
private delegate void UpdateStatus(Events.StatusEventData eventData);
private UpdateStatus m_UpdateStatusHandler = null;
private delegate void UpdateRead(Events.ReadEventData eventData);
private UpdateRead m_UpdateReadHandler = null;
m_UpdateStatusHandler = new UpdateStatus(myUpdateStatus);
m_UpdateReadHandler = new UpdateRead(myUpdateRead);
What is the best way to develop the application to handle multiple instances of this application, if the user say has 10 readers, and how do we best keep track of each invoked instances as the data returned may need to be parsed to the database.
Continue reading...