mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 19:20:46 +00:00
Flow rate needs min/max calcs
This commit is contained in:
parent
7ebf993f12
commit
0cfd82c113
@ -412,11 +412,12 @@ void Session::UpdateSummaries()
|
|||||||
QHash<ChannelID,QVector<EventList *> >::iterator c;
|
QHash<ChannelID,QVector<EventList *> >::iterator c;
|
||||||
for (c=eventlist.begin();c!=eventlist.end();c++) {
|
for (c=eventlist.begin();c!=eventlist.end();c++) {
|
||||||
id=c.key();
|
id=c.key();
|
||||||
if ((id==CPAP_FlowRate) || (id==CPAP_MaskPressure)) continue;
|
|
||||||
if ((channel[id].channeltype()==CT_Event) || (channel[id].channeltype()==CT_Graph)) {
|
if ((channel[id].channeltype()==CT_Event) || (channel[id].channeltype()==CT_Graph)) {
|
||||||
//sum(id); // avg calculates this and cnt.
|
//sum(id); // avg calculates this and cnt.
|
||||||
min(id);
|
min(id);
|
||||||
max(id);
|
max(id);
|
||||||
|
if ((id==CPAP_FlowRate) || (id==CPAP_MaskPressure)) continue;
|
||||||
|
|
||||||
cph(id);
|
cph(id);
|
||||||
sph(id);
|
sph(id);
|
||||||
avg(id);
|
avg(id);
|
||||||
|
Loading…
Reference in New Issue
Block a user