mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Fix FPIcon summary-only AHI overview display
This commit is contained in:
parent
b6d4b8cd99
commit
f03ab85da5
@ -711,8 +711,16 @@ bool FPIconLoader::OpenSummary(Machine *mach, QString filename, Profile *profile
|
||||
sess->really_set_first(qint64(ts) * 1000L);
|
||||
sess->really_set_last(qint64(ts + usage) * 1000L);
|
||||
sess->SetChanged(true);
|
||||
|
||||
sess->setCount(CPAP_Obstructive, j2);
|
||||
sess->setCph(CPAP_Obstructive, j2 / (float(usage)/3600.00));
|
||||
|
||||
sess->setCount(CPAP_Hypopnea, j3);
|
||||
sess->setCph(CPAP_Hypopnea, j3 / (float(usage)/3600.00));
|
||||
|
||||
sess->setCount(CPAP_FlowLimit, j4);
|
||||
sess->setCph(CPAP_FlowLimit, j4 / (float(usage)/3600.00));
|
||||
|
||||
SessDate.insert(date, sess);
|
||||
|
||||
// sess->setCount(CPAP_Obstructive,j1);
|
||||
|
Loading…
Reference in New Issue
Block a user