mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Fix DV64 pressure chart segments not displaying
This commit is contained in:
parent
1526601744
commit
b9c3baafb1
@ -922,7 +922,7 @@ int IntellipapLoader::OpenDV6(const QString & path)
|
||||
if (ts1 >= R->start_time) {
|
||||
if (!flow && R->sess) {
|
||||
flow = R->sess->AddEventList(CPAP_FlowRate, EVL_Waveform, 1.0f/60.0f, 0.0f, 0.0f, 0.0f, double(2000) / double(50));
|
||||
pressure = R->sess->AddEventList(CPAP_Pressure, EVL_Waveform, 0.1f, 0.0f, 0.0f, 0.0f, double(2000) / double(2));
|
||||
pressure = R->sess->AddEventList(CPAP_MaskPressure, EVL_Waveform, 0.1f, 0.0f, 0.0f, 0.0f, double(2000) / double(2));
|
||||
//leak = R->sess->AddEventList(CPAP_Leak, EVL_Waveform, 1.0, 0.0, 0.0, 0.0, double(2000) / double(1));
|
||||
OA = R->sess->AddEventList(CPAP_Obstructive, EVL_Event);
|
||||
NOA = R->sess->AddEventList(CPAP_NRI, EVL_Event);
|
||||
@ -1354,10 +1354,10 @@ int IntellipapLoader::OpenDV6(const QString & path)
|
||||
MV = R->sess->AddEventList(CPAP_MinuteVent, EVL_Event);
|
||||
TV = R->sess->AddEventList(CPAP_TidalVolume, EVL_Event);
|
||||
|
||||
if (!R->sess->channelDataExists(CPAP_Pressure)) {
|
||||
//if (!R->sess->channelDataExists(CPAP_Pressure)) {
|
||||
// Don't use this pressure if we have higher resolution available
|
||||
Pressure = R->sess->AddEventList(CPAP_Pressure, EVL_Event);
|
||||
}
|
||||
//}
|
||||
}
|
||||
if (leak) {
|
||||
sess = R->sess;
|
||||
|
Loading…
Reference in New Issue
Block a user