예제 #1
0
 public UIMonitor(iOPVitalsBL mybl)
 {
     InitializeComponent();
     currentBl = mybl;
     currentBl.AttachToMeanFilter(this);
     currentBl.AttachToCalcSys(this);
     currentBl.AttachToCalcDia(this);
     currentBl.AttachToMeanBloodPressure(this);
     currentBl.AttachToCalcPuls(this);
     chart1.ChartAreas[0].AxisY.Maximum = 240;
     chart1.ChartAreas[0].AxisY.Minimum = 20;
     chart1.ChartAreas[0].AxisY.LabelAutoFitMinFontSize = 15;
     chart1.ChartAreas[0].AxisY.LabelAutoFitMinFontSize = 15;
 }
예제 #2
0
 public UIKontrol(iOPVitalsBL mybl, UILogin UILogin)
 {
     this.currentBl = mybl;
     login          = UILogin;
     currentBl.AttachToMeanFilter(this);
     currentBl.AttachToCalcSys(this);
     currentBl.AttachToCalcDia(this);
     currentBl.AttachToMeanBloodPressure(this);
     currentBl.AttachToCalcPuls(this);
     InitializeComponent();
     monitorstartet = false;
     startpressed   = false;
     chart1.ChartAreas[0].AxisY.Maximum = 240;
     chart1.ChartAreas[0].AxisY.Minimum = 20;
     DefaultComments();
 }