Example #1
0
 public RealtimeInventoryListener(IDataStreamFactory dataStreamFactory, SemaphoreSlim semaphore, IObserver <Tag> tags, IObserver <Exception> errors)
 {
     this.dataStreamFactory = dataStreamFactory;
     this.semaphore         = semaphore;
     this.tags   = tags;
     this.errors = errors;
     loop        = ListenLoop();
 }
Example #2
0
 public SerialReader(IDataStreamFactory streamFactory)
 {
     this.streamFactory = streamFactory;
 }