Beispiel #1
0
        public bool UpdateDIA_BP(int dia_mmHg)
        {
            IParameterAppValue <int> D = Manikin.GetParameterAppValue <int>("Laerdal.Response.BloodPressure.Diastolic_mmHg");

            checkHealth();

            while (D.Value < dia_mmHg)
            {
                if (D.Value != dia_mmHg)
                {
                    Diastolic_mmHg.Value = dia_mmHg;
                    System.Threading.Thread.Sleep(100);
                }
            }

            return(D.Value == dia_mmHg);
        }
Beispiel #2
0
        //Diastolic_mmHg.Value = 140;
        //Systolic_mmHg.Value = 90;

        public bool UpdateSYS_BP(int sys_mmHg)
        {
            IParameterAppValue <int> S = Manikin.GetParameterAppValue <int>("Laerdal.Response.BloodPressure.Systolic_mmHg");

            checkHealth();

            while (S.Value < sys_mmHg)
            {
                if (S.Value != sys_mmHg)
                {
                    Systolic_mmHg.Value = sys_mmHg;
                    System.Threading.Thread.Sleep(100);
                }
            }

            return(S.Value == sys_mmHg);
        }