public PatientMonitoringController(MainWindow window, IPatientFactory patientFactory, PatientCreator _pcreator)
 {
     _patientFactory = patientFactory;
     _mainWindow = window;
     //_pulseRate = _mainWindow.pulseRate;
     //_breathingRate = _mainWindow.breathingRate;
     //_systolicPressure = _mainWindow.systolic;
     //_diastolicPressure = _mainWindow.diastolic;
     //_temperature = _mainWindow.temperature;
     _alarmMuter = _mainWindow.AlarmMute;
     pCreator = _pcreator;
     setSingleBedForms();
 }