mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 20:50:43 +00:00
Disable Flex EPAP trace, seeing it doesn't want to plot. Will revisit later
This commit is contained in:
parent
e785a1b604
commit
09f47ef2f1
@ -286,7 +286,6 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
|||||||
row++;
|
row++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef UGLYLINES
|
|
||||||
float maxmins = float(maxtime) / 60.0;
|
float maxmins = float(maxtime) / 60.0;
|
||||||
float ymult = height / maxmins;
|
float ymult = height / maxmins;
|
||||||
|
|
||||||
@ -308,7 +307,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
|||||||
float minutes = float(it.value()) / 60.0;
|
float minutes = float(it.value()) / 60.0;
|
||||||
y2 = minutes * ymult;
|
y2 = minutes * ymult;
|
||||||
|
|
||||||
painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
// painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||||
y1 = y2;
|
y1 = y2;
|
||||||
xpos += pix;
|
xpos += pix;
|
||||||
}
|
}
|
||||||
@ -349,7 +348,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
|||||||
schema::ChanType type = chan.type();
|
schema::ChanType type = chan.type();
|
||||||
if (type == schema::SPAN)
|
if (type == schema::SPAN)
|
||||||
continue;
|
continue;
|
||||||
painter.setPen(QPen(QColor(chan.defaultColor()), 2));
|
//painter.setPen(QPen(QColor(chan.defaultColor()), 2));
|
||||||
eit = events.find(code);
|
eit = events.find(code);
|
||||||
xpos = left;//+pix/2;
|
xpos = left;//+pix/2;
|
||||||
|
|
||||||
@ -362,7 +361,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
|||||||
y2 = value * emult;
|
y2 = value * emult;
|
||||||
//painter.drawPoint(xpos, bottom-y1);
|
//painter.drawPoint(xpos, bottom-y1);
|
||||||
|
|
||||||
painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
// painter.drawLine(xpos, bottom-y1, xpos+pix, bottom-y2);
|
||||||
|
|
||||||
xpos += pix;
|
xpos += pix;
|
||||||
y1 = y2;
|
y1 = y2;
|
||||||
@ -371,7 +370,6 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
// QString txt=QString("%1 %2").arg(maxmins).arg(float(maxevents * 60.0) / maxmins);
|
// QString txt=QString("%1 %2").arg(maxmins).arg(float(maxevents * 60.0) / maxmins);
|
||||||
// graph.renderText(txt, rect.left(), rect.top()-10);
|
// graph.renderText(txt, rect.left(), rect.top()-10);
|
||||||
|
|
||||||
|
@ -1428,10 +1428,10 @@ bool PRS1Import::ParseF0Events()
|
|||||||
|
|
||||||
// Perhaps this check is not necessary, as it will theoretically add extra resolution to pressure chart
|
// Perhaps this check is not necessary, as it will theoretically add extra resolution to pressure chart
|
||||||
// for bipap models and above???
|
// for bipap models and above???
|
||||||
if (mode <= MODE_BILEVEL_FIXED) {
|
// if (mode <= MODE_BILEVEL_FIXED) {
|
||||||
if (!(EPAP = session->AddEventList(CPAP_EPAP, EVL_Event, 0.1F))) { return false; }
|
// if (!(EPAP = session->AddEventList(CPAP_EPAP, EVL_Event, 0.1F))) { return false; }
|
||||||
EPAP->AddEvent(t, data[0]);
|
// EPAP->AddEvent(t, data[0]);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user