コード例 #1
0
 public MeanFilter(AutoResetEvent dataReadyEvent, DeQueue deQueue, FilterFactory filterFactory)
 {
     _displayList    = new List <double>();
     _dataReadyEvent = dataReadyEvent;
     _stopThread     = false;
     _deQueue        = deQueue;
     _deQueue.Attach(this);
     _filterFactory = filterFactory;
 }
コード例 #2
0
 public CalcMeanBloodPressure(DAQSettingsDTO daqDTO, AutoResetEvent dataReadyEvent, DeQueue deQueue)
 {
     _dataReadyEvent    = dataReadyEvent;
     _meanBloodPressure = 0;
     analyselist        = new List <double>();
     _daqDTO            = daqDTO;
     _deQueue           = deQueue;
     _deQueue.Attach(this);
 }
コード例 #3
0
ファイル: CalcPuls.cs プロジェクト: MaikenGuldberg/OP-Vitals
 public CalcPuls(DAQSettingsDTO daqDTO, AutoResetEvent dataReadyEvent, DeQueue deQueue)
 {
     _daqDTO         = daqDTO;
     analysisList    = new List <double>();
     _puls           = 0;
     _dataReadyEvent = dataReadyEvent;
     _deQueue        = deQueue;
     _deQueue.Attach(this);
 }
コード例 #4
0
ファイル: CalcSys.cs プロジェクト: MaikenGuldberg/OP-Vitals
 public CalcSys(DAQSettingsDTO daqDTO, AutoResetEvent dataReadyEvent, DeQueue deQueue, IAlarm alarm)
 {
     analyselist     = new List <double>();
     _sys            = 0;
     _daqDTO         = daqDTO;
     _dataReadyEvent = dataReadyEvent;
     _deQueue        = deQueue;
     _deQueue.Attach(this);
     _alarm = alarm;
     sys    = 0;
 }
コード例 #5
0
 public CtrlOPVitalsBL(iOPVitalsDAL currentDal, ref ConcurrentQueue <RawData> RawDataQueue, ref DAQSettingsDTO daqSettingsDto, PatientDTO patientDto)
 {
     _RawDataQueue   = RawDataQueue;
     this.currentDal = currentDal;
     InitializeDataReadyEvents();
     InitializeCalibrationClasses();
     _daqSettings       = daqSettingsDto;
     _patientDto        = patientDto;
     _operationDTO      = new OperationDTO();
     employee           = new EmployeeDTO();
     _deQueue           = new DeQueue(_RawDataQueue, _daqSettings);
     _filterSettingsDTO = new FilterSettingsDTO();
     _filterFactory     = new FilterFactory(_daqSettings, _filterSettingsDTO);
     meanfilter_        = new MeanFilter(_dataReadyEventMeanFilter, _deQueue, _filterFactory);
     InitializeAlarmClasses();
     InitializeCalculationClasses();
     zero = 0.0;
 }