Esempio n. 1
0
 public UIKontor1(ILogikLayer ll, DataContainer DCT, MålingContainer målingContainer)
 {
     InitializeComponent();
     LL               = ll;
     _dct             = DCT;
     _målingContainer = målingContainer;
 }
Esempio n. 2
0
 public UIMed(ILogikLayer ll, string brugernavn, DataContainer DCT, MålingContainer målingContainer)
 {
     InitializeComponent();
     LL               = ll;
     _brugernavn      = brugernavn;
     _dct             = DCT;
     _målingContainer = målingContainer;
 }
Esempio n. 3
0
 public UIPatient(UIKontor1 UIkontor, string navn, DateTime tid, ILogikLayer ll, DataContainer DCT, MålingContainer målingContainer, string DiaMax, string DiaMin, string SysMax, string SysMin)
 {
     _UIkontor = UIkontor;
     InitializeComponent();
     UIPatient_LabelPatientNavn.Text = navn;
     UIPatient_LabelDato.Text        = tid.ToLongDateString();
     LL   = ll;
     _dct = DCT;
     _dct.Attach(this);
     _målingContainer = målingContainer;
     _målingContainer.Attach(this);
     opsætGraf();
     _DiaMax = Convert.ToInt16(DiaMax);
     _DiaMin = Convert.ToInt16(DiaMin);
     _SysMax = Convert.ToInt16(SysMax);
     _SysMin = Convert.ToInt16(SysMin);
 }
Esempio n. 4
0
        public Program()
        {
            _målingContainer = new MålingContainer();
            _dataContainer   = new DataContainer();
            _ifilter         = new RawFilter();


            _BTcontroller = new BTMålerController(_målingContainer);
            _dataqueue    = new ConcurrentQueue <Bufferblock>();

            _producer = new DataProducer(_dataqueue);
            DL        = new DataController(_producer);
            _kalib    = new Kalibrering(DL);

            _UdKal    = new UdregnKalibrering();
            _consumer = new Consumer(_dataqueue, _ifilter, _dataContainer, _BTcontroller, _UdKal);
            LL        = new LogikController(DL, _consumer, _dataContainer, _kalib);
            PL        = new PresentationLayerController(LL, _dataContainer, _målingContainer);
            PL.startUpGUI();
        }
 public PresentationLayerController(ILogikLayer ll, DataContainer DCT, MålingContainer målingContainer)
 {
     LL               = ll;
     _dct             = DCT;
     _målingContainer = målingContainer;
 }