コード例 #1
0
        public List <ECGMonitorModel> getAllMonitors()
        {
            //Henter alle ECG monitors til liste
            List <ECGMonitorModel> monitorList = new List <ECGMonitorModel>();

            monitorList = DB.GetAllECGMonitors();
            return(monitorList);
        }
コード例 #2
0
 public SetupWindowLogic()
 {
     ecgMonitorList = new List <ECGMonitorModel>();
     patientList    = new List <PatientModel>();
     DB             = new TestDB();
     patientList    = DB.GetAllPatients();
     ecgMonitorList = DB.GetAllECGMonitors();
     newPatient("112233-4455", "Jens", "Jensen");
     LinkECGToPatient("112233-4455", 1);
     ResetECGMonitor(1);
     getAllMonitors();
     getAllPatiens();
     monitorInUse(1);
 }