public List <PatientModel> getAllPatiens() { //Henter alle Patient til liste List <PatientModel> patientList = new List <PatientModel>(); patientList = DB.GetAllPatients(); return(patientList); }
public MainWindowLogic() { analyzeECG = new AnalyzeECG(); patientList = new List <PatientModel>(); aECGList = new List <AnalyzedECGModel>(); DB = new TestDB(); DOEDB = new DOEDB(); patientList = DB.GetAllPatients(); aECGList = DB.GetAllAnalyzedECGs(); }
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); }