Exemplo n.º 1
0
 public void startInventory(AntennaConfiguration antennaConfiguration, ROReportSpec rOReportSpec)
 {
     try
     {
         if (connected && !started)
         {
             _readerSettings.clearTagInfoQueue();
             _readerSettings.SetReaderConfiguration(_filepath, antennaConfiguration, rOReportSpec);
             _readerSettings.antennaConfiguration = antennaConfiguration;
             _readerSettings.rOReportSpec         = rOReportSpec;
             _currentSpecID = _readerSettings.AddROSpec(_filepath);
             _readerSettings.Enable_ROSpec(_currentSpecID);
             _readerSettings.Start_ROSpec(_currentSpecID);
             started = true;
             _readerSettings.TotalTagCount = 0;
             Console.WriteLine("status: started");
         }
     }
     catch (Exception e)
     {
         Console.WriteLine(e.ToString());
     }
 }
Exemplo n.º 2
0
 public ConnectResponse(AntennaConfiguration antennaConfiguration, ReaderCapabilities readerCapabilities, ROReportSpec rOReportSpec)
 {
     this.antennaConfiguration = antennaConfiguration;
     this.readerCapabilities   = readerCapabilities;
     this.rOReportSpec         = rOReportSpec;
 }