public void dataSetCorrectly()
        {
            var patientData = new PatientData();
            patientData.SetPatientData(firstLine);
            patientDataTestPass1(patientData);

            var patientData2 = new PatientData();
            patientData2.SetPatientData(secondLine);
            patientdataTestPass2(patientData2);
        }
        public void DataSetCorrectly()
        {
            // Tests whether the data has been set correctly for both FirstLine and SecondLine (NW)
            var patientData = new PatientData();
            patientData.SetPatientData(FirstLine);
            PatientDataTestPass1(patientData);

            var patientData2 = new PatientData();
            patientData2.SetPatientData(SecondLine);
            PatientdataTestPass2(patientData2);
        }
Beispiel #3
0
        private void UpdateReadings(object sender, EventArgs e)
        {
            _patientData.SetPatientData(_dataReader.GetData());
            _pulseRate.Content         = _patientData.Values[0];
            _breathingRate.Content     = _patientData.Values[1];
            _systolicPressure.Content  = _patientData.Values[2];
            _diastolicPressure.Content = _patientData.Values[3];
            _temperature.Content       = _patientData.Values[4];

            var monitorList = _bay.GetListOfBedsideMonitors();

            _alarmer.ReadingTest(_patientData, monitorList[0]);
        }