public PatientAlarmer(Patient p, MainWindow _window) { Mods = new List<Mod>(); Mod mod1 = new Mod("Pulse Rate", p.pulseRateLower, p.pulseRateHigher); Mods.Add(mod1); Mod mod2 = new Mod("Breathing Rate", p.breathingRateLower, p.breathingRateHigher); Mods.Add(mod2); Mod mod3A = new Mod("Sys Pressure", p.systolicPressureLower, p.systolicPressureHigher); Mods.Add(mod3A); Mod mod3B = new Mod("Dia Pressure", p.diastolicPressureLower, p.diastolicPressureHigher); Mods.Add(mod3B); Mod mod4 = new Mod("Temperature", p.temperatureLower, p.temperatureHigher); Mods.Add(mod4); Mod mod5 = new Mod("Mod 5", 0, 300); Mods.Add(mod5); window = _window; }
public PatientAlarmer() { Mods = new List<Mod>(); Mod mod1 = new Mod("Pulse Rate", 0, 200); Mods.Add(mod1); Mod mod2 = new Mod("Breathing Rate", 0, 200); Mods.Add(mod2); Mod mod3A = new Mod("Sys Pressure", 0, 200); Mods.Add(mod3A); Mod mod3B = new Mod("Dia Pressure", 0, 200); Mods.Add(mod3B); Mod mod4 = new Mod("Temperature", 0, 200); Mods.Add(mod4); Mod mod5 = new Mod("Mod 5", 0, 300); Mods.Add(mod5); //window = _window; }