v0.5.3: add alarm sounds

This commit is contained in:
GABRIEL Sebastian 2026-11-12 14:34:31 +01:00
commit fcd8c1146f
10 changed files with 1121 additions and 12 deletions

View file

@ -201,6 +201,7 @@ impl AlarmSettings {
pub struct Parameters {
pub patient_name: String, // displayed in the monitor header, blank = generic title
pub alarms: AlarmSettings,
pub audible_alarms: bool, // mute only the sound, never the visual alarms
pub ecg_rhythm: EcgRhythm,
pub heart_rate: i32, // bpm, organized electrical rate; not mechanical pulse rate
pub pulse_conduction: PulseConduction,
@ -275,6 +276,7 @@ impl Default for Parameters {
Self {
patient_name: String::new(),
alarms: AlarmSettings::default(),
audible_alarms: true,
ecg_rhythm: EcgRhythm::Sinus,
heart_rate: 75,
pulse_conduction: PulseConduction::OneToOne,