Skip to content

Commit

Permalink
Add expiratory flow too low alarm code (107)
Browse files Browse the repository at this point in the history
  • Loading branch information
valeriansaliou committed Apr 22, 2021
1 parent f25f037 commit 843ab13
Show file tree
Hide file tree
Showing 13 changed files with 96 additions and 85 deletions.
168 changes: 84 additions & 84 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ conrod_winit = "0.70"
conrod_core = "0.70"
sysfs_gpio = { version = "0.5", optional = true }
rn2903 = { git = "https://github.com/waxzce/lora-rust-rn2903-rn2483.git", rev = "b086057ba096920abef3870ad0cefa2c80a343e2", optional = true }
makair-telemetry = { git = "https://github.com/makers-for-life/makair-telemetry", rev = "4f424c64671bcd8a2c3e024e28352f68702bd542", default-features = false, features = ["serial"] }
makair-telemetry = { git = "https://github.com/makers-for-life/makair-telemetry", rev = "78f59368c3f54a711ef96047c6a13b35ccaa4986", default-features = false, features = ["serial"] }

[features]
default = []
Expand Down
1 change: 1 addition & 0 deletions res/locales/de.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Leckvolumen ist zu hoch
alarms-message-tidal-volume-low = Das Atemvolumen ist zu gering
alarms-message-tidal-volume-high = Das Atemvolumen ist zu hoch
alarms-message-peak-pressure-high = Der Spitzendruck ist zu hoch
alarms-message-expiratory-flow-too-low = Der exspiratorische Fluss ist zu gering
alarms-message-unknown = Unbekannter Alarm (Code prüfen)
status-unit-stopped = Gerät gestoppt
Expand Down
1 change: 1 addition & 0 deletions res/locales/en.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Leak volume is too high
alarms-message-tidal-volume-low = Tidal volume is too low
alarms-message-tidal-volume-high = Tidal volume is too high
alarms-message-peak-pressure-high = Peak pressure is too high
alarms-message-expiratory-flow-too-low = Expiratory flow is too low
alarms-message-unknown = Unknown alarm (check code)
status-unit-stopped = Unit stopped
Expand Down
1 change: 1 addition & 0 deletions res/locales/es.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = El volumen de la fuga es demasiado alto
alarms-message-tidal-volume-low = El volumen corriente es demasiado bajo
alarms-message-tidal-volume-high = El volumen corriente es demasiado alto
alarms-message-peak-pressure-high = La presión máxima es demasiado alta
alarms-message-expiratory-flow-too-low = El flujo espiratorio es demasiado bajo
alarms-message-unknown = Alarma desconocida (código de verificación)
status-unit-stopped = Unidad detenida
Expand Down
1 change: 1 addition & 0 deletions res/locales/fr.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Volume de fuite trop élevé
alarms-message-tidal-volume-low = Volume courant trop faible
alarms-message-tidal-volume-high = Volume courant trop élevé
alarms-message-peak-pressure-high = Pression de crête trop élevée
alarms-message-expiratory-flow-too-low = Débit expiratoire trop faible
alarms-message-unknown = Alarme inconnue (vérifiez le code)
status-unit-stopped = Unité arrêtée
Expand Down
1 change: 1 addition & 0 deletions res/locales/it.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Il volume della perdita è troppo alto
alarms-message-tidal-volume-low = Il volume corrente è troppo basso
alarms-message-tidal-volume-high = Il volume corrente è troppo alto
alarms-message-peak-pressure-high = La pressione massima è troppo alta
alarms-message-expiratory-flow-too-low = Il flusso espiratorio è troppo basso
alarms-message-unknown = Allarme sconosciuto (codice di controllo)
status-unit-stopped = L'unità si è fermata
Expand Down
1 change: 1 addition & 0 deletions res/locales/lv.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Noplūdes apjoms ir pārāk liels
alarms-message-tidal-volume-low = Plūdmaiņu daudzums ir pārāk mazs
alarms-message-tidal-volume-high = Plūdmaiņu apjoms ir pārāk liels
alarms-message-peak-pressure-high = Maksimālais spiediens ir pārāk augsts
alarms-message-expiratory-flow-too-low = Izelpas plūsma ir pārāk maza
alarms-message-unknown = Nezināms trauksme (pārbaudes kods)
status-unit-stopped = Ierīce apstājās
Expand Down
1 change: 1 addition & 0 deletions res/locales/pt.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = O volume de vazamento está muito alto
alarms-message-tidal-volume-low = O volume corrente está muito baixo
alarms-message-tidal-volume-high = O volume corrente está muito alto
alarms-message-peak-pressure-high = A pressão de pico é muito alta
alarms-message-expiratory-flow-too-low = O fluxo expiratório está muito baixo
alarms-message-unknown = Alarme desconhecido (código de verificação)
status-unit-stopped = Unidade parada
Expand Down
1 change: 1 addition & 0 deletions res/locales/ru.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Объем утечки слишком велик
alarms-message-tidal-volume-low = Дыхательный объем слишком низкий
alarms-message-tidal-volume-high = Дыхательный объем слишком высокий
alarms-message-peak-pressure-high = Пиковое давление слишком высокое
alarms-message-expiratory-flow-too-low = Слишком низкий поток выдоха
alarms-message-unknown = Неизвестный сигнал тревоги
status-unit-stopped = Остановлен
Expand Down
1 change: 1 addition & 0 deletions res/locales/uk.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = Обсяг витоку занадто великий
alarms-message-tidal-volume-low = Дихальний об'єм занадто низький
alarms-message-tidal-volume-high = Дихальний об’єм занадто високий
alarms-message-peak-pressure-high = Піковий тиск занадто високий
alarms-message-expiratory-flow-too-low = Потік на видиху занадто низький
alarms-message-unknown = Невідомий сигнал тривоги
status-unit-stopped = Зупинився
Expand Down
1 change: 1 addition & 0 deletions res/locales/zh.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ alarms-message-leak-high = 泄漏量太大
alarms-message-tidal-volume-low = 潮气量太低
alarms-message-tidal-volume-high = 潮气量过高
alarms-message-peak-pressure-high = 峰值压力太高
alarms-message-expiratory-flow-too-low = 呼气量过低
alarms-message-unknown = 未知警报(校验码)
status-unit-stopped = 单位停止
Expand Down
1 change: 1 addition & 0 deletions src/locale/alarms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub fn description_to_locale(description: AlarmCodeDescription) -> String {
AlarmCodeDescription::TidalVolumeLow => "tidal-volume-low",
AlarmCodeDescription::TidalVolumeHigh => "tidal-volume-high",
AlarmCodeDescription::PeakPressureHigh => "peak-pressure-high",
AlarmCodeDescription::ExpiratoryFlowTooLow => "expiratory-flow-too-low",
AlarmCodeDescription::Unknown(_) => "unknown",
};

Expand Down

0 comments on commit 843ab13

Please sign in to comment.