Example #1
0
 public Program()
 {
     currentOpVitalsDal = new CtrlOPVitalsDAL();
     currentOpVitalsBl  = new CtrlOPVitalsBL(currentOpVitalsDal);
     currentOpVitalsPl  = new CtrlOPVitalsPL(currentOpVitalsBl);
     currentOpVitalsPl.StartGUI();
 }
Example #2
0
        public Program()
        {
            //Datakøer
            RawDataQueue = new ConcurrentQueue <RawData>();
            SaveQueue    = new ConcurrentQueue <RawData>();

            //DTO'er
            daqSettings = new DAQSettingsDTO();
            patientDTO  = new PatientDTO();


            currentOpVitalsDal = new CtrlOPVitalsDAL(ref RawDataQueue, ref SaveQueue, ref daqSettings);
            currentOpVitalsBl  = new CtrlOPVitalsBL(currentOpVitalsDal, ref RawDataQueue, ref daqSettings, patientDTO);
            currentOpVitalsPl  = new CtrlOPVitalsPL(currentOpVitalsBl);
            currentOpVitalsPl.StartGUI();
        }