public void trigger_intervention() { Manikin.PauseAllTrends(); UpdateHeartRate(100); bool bp = UpdateBP(124, 70); System.Diagnostics.Debug.Write(bp, "bloodpressure"); RespiratoryRate.Value = 20; SVLeftLowerPosteriorLungs.Value = 50; SVLeftLowerAnteriorLungs.Value = 50; SVRightLowerPosteriorLungs.Value = 50; SVRightLowerAnteriorLungs.Value = 50; SVRightUpperPosteriorLungs.Value = 50; etCO2_Value_mmHg.Value = 65; TBlood_Celcius.Value = 99; TPeri_Celcius.Value = 97; PCWP.Value = 15; PAPSystolic.Value = 25; PAPDiastolic.Value = 12; CVP.Value = 6; Manikin.ResumeAllTrends(); PauseEvent.Value = false; }
public void trigger_state_asthma_worsen() { Manikin.PauseAllTrends(); UpdateHeartRate(48); System.Threading.Thread.Sleep(100); bool bp = UpdateBP(80, 60); System.Diagnostics.Debug.Write(bp, "bloodpressure"); RespiratoryRate.Value = 40; System.Threading.Thread.Sleep(100); SVLeftLowerPosteriorLungs.Value = 0; SVLeftLowerAnteriorLungs.Value = 0; SVRightLowerPosteriorLungs.Value = 0; SVRightLowerAnteriorLungs.Value = 0; SVRightUpperPosteriorLungs.Value = 0; Value_LiterPerMinute.Value = 3.4; etCO2_Value_mmHg.Value = 65; System.Threading.Thread.Sleep(100); TBlood_Celcius.Value = 99; System.Threading.Thread.Sleep(100); TPeri_Celcius.Value = 97; PCWP.Value = 9; PAPSystolic.Value = 25; PAPDiastolic.Value = 12; CVP.Value = 6; Manikin.ResumeAllTrends(); PauseEvent.Value = false; }
public Boolean checkHealth() { Boolean first_check = Manikin.IsConnected; System.Diagnostics.Debug.Write(first_check, "first_check"); if (!first_check) { string error; Connect("", out error); } while (!Manikin.IsConnected) { string address = "10.100.2.166"; string error; Boolean connected = Connect(address, out error); System.Threading.Thread.Sleep(500); } if (!AreParametersSetup) { SetupParameters(); } System.Diagnostics.Debug.Write(AreParametersSetup, "AreParametersSetup"); System.Diagnostics.Debug.Write(Manikin.IsConnected, "Manikin.IsConnected"); Boolean final_check = AreParametersSetup && Manikin.IsConnected; PauseEvent.Value = false; Manikin.ResumeAllTrends(); return(final_check); ; }
public void trigger_state_severe_asthma() { Manikin.PauseAllTrends(); UpdateHeartRate(110); System.Threading.Thread.Sleep(100); RespiratoryRate.Value = 22; System.Threading.Thread.Sleep(100); LeftUpperAnteriorLungs.Value = 5; LeftUpperPosteriorLungs.Value = 5; RightUpperAnteriorLungs.Value = 5; RightUpperPosteriorLungs.Value = 5; SVLeftLowerPosteriorLungs.Value = 80; SVLeftLowerAnteriorLungs.Value = 80; SVRightLowerPosteriorLungs.Value = 80; SVRightLowerAnteriorLungs.Value = 80; SVRightLowerAnteriorLungs.Value = 80; SVRightUpperPosteriorLungs.Value = 80; System.Threading.Thread.Sleep(100); etCO2_Value_mmHg.Value = 45; System.Threading.Thread.Sleep(100); TBlood_Celcius.Value = 99; System.Threading.Thread.Sleep(100); TPeri_Celcius.Value = 97; System.Threading.Thread.Sleep(100); PCWP.Value = 15; System.Threading.Thread.Sleep(100); PAPSystolic.Value = 42; PAPDiastolic.Value = 20; CVP.Value = 20; Value_LiterPerMinute.Value = 5.6; bool bp = UpdateBP(140, 90); System.Diagnostics.Debug.Write(bp, "bloodpressure"); Manikin.ResumeAllTrends(); PauseEvent.Value = false; }
public void trigger_mild_asthma() { Manikin.PauseAllTrends(); UpdateHeartRate(90); bool bp = UpdateBP(138, 84); System.Diagnostics.Debug.Write(bp, "bloodpressure"); RespiratoryRate.Value = 18; SVLeftLowerPosteriorLungs.Value = 0; SVLeftLowerAnteriorLungs.Value = 0; etCO2_Value_mmHg.Value = 30; TBlood_Celcius.Value = 99; TPeri_Celcius.Value = 97; PCWP.Value = 9; PAPSystolic.Value = 25; PAPDiastolic.Value = 12; CVP.Value = 6; Manikin.ResumeAllTrends(); PauseEvent.Value = false; }