public ObjectSearch(EventLoggerAccess log, DetectorsDataAccess dataAccess, Calibration calibration) { _log = log; _dataAccess = dataAccess; _archiveData = new ArchiveData(log, calibration); _inComingDataColl = new BlockingCollection<DataInfo>(); _searchThread = Threads.Create(SearchAgent, ref _searchEnd, "Object Search thread"); _searchThread.Start(); _foundObject = false; }
public ObjectSearch(EventLoggerAccess log, DetectorsDataAccess dataAccess, Calibration calibration) { _log = log; _dataAccess = dataAccess; _archiveData = new ArchiveData(log, calibration); _inComingDataColl = new BlockingCollection <DataInfo>(); _searchThread = Threads.Create(SearchAgent, ref _searchEnd, "Object Search thread"); _searchThread.Start(); _foundObject = false; }