Interpret DreamStation Auto Trial mode as APAP

This commit is contained in:
Mark Watkins 2016-02-27 21:48:36 +10:00
parent 4914084449
commit 529686d691
2 changed files with 10 additions and 4 deletions

View File

@ -1912,12 +1912,12 @@ bool PRS1Import::ParseSummaryF0V6()
case 01: // ???
break;
case 10: // 0x0a
cpapmode = MODE_CPAP; //might be C_CHECK?
cpapmode = MODE_CPAP;
if (dataPtr[1] != 1) qDebug() << "PRS1Loader::ParseSummaryF0V6=" << "Bad CPAP value";
imin_epap = dataPtr[2];
break;
case 13: // 0x0d
cpapmode = MODE_APAP; //might be C_CHECK?
cpapmode = MODE_APAP;
if (dataPtr[1] != 2) qDebug() << "PRS1Loader::ParseSummaryF0V6=" << "Bad APAP value";
min_pressure = dataPtr[2];
max_pressure = dataPtr[3];
@ -1937,6 +1937,12 @@ bool PRS1Import::ParseSummaryF0V6()
imin_ps = dataPtr[4];
imax_ps = dataPtr[5];
break;
case 0x10: // Auto Trial mode
cpapmode = MODE_APAP;
if (dataPtr[1] != 3) qDebug() << "PRS1Loader::ParseSummaryF0V6=" << "Bad APAP value";
min_pressure = dataPtr[3];
max_pressure = dataPtr[4];
break;
case 0x35:
duration += ( dataPtr[3] << 8 ) + dataPtr[2];

View File

@ -1420,10 +1420,10 @@ void MainWindow::on_action_About_triggered()
// Credits section
"<hr/><p><b><font size='+1'>" +tr("Kudos & Credits") + "</font></b></p><b>" +
tr("Bugfixes, Patches and Platform Help:") + "</b> " +
tr("James Marshall, Rich Freeman, John Masters, Keary Griffin, Patricia Shanahan, Alec Clews, manders99, Sean Stangl, Roy Stone, François Revol, Michael Masterson.")
tr("James Marshall, Rich Freeman, John Masters, Keary Griffin, Patricia Shanahan, Alec Clews, manders99, Sean Stangl, Roy Stone, François Revol, Michael Masterson, RezNet, PaleRider, JediBob, Diamaunt.")
+ "</p>"
"<p><b>" + tr("Translators:") + "</b> " + tr("Arie Klerk (Dutch), Steffen Reitz and Marc Stephan (German), Chen Hao (Chinese), Lars-Erik Söderström (Swedish), Damien Vigneron (French), António Jorge Costa (Portuguese), Judith Guzmán (Spanish) and others I've still to add here.") +
"<p><b>" + tr("Translators:") + "</b> " + tr("Arie Klerk (Translation Coordinator, also Dutch), Steffen Reitz and Marc Stephan (German), Chen Hao (Chinese), Lars-Erik Söderström (Swedish), Damien Vigneron (French), António Jorge Costa (Portuguese), Judith Guzmán (Spanish) and others I've still to add here.") +
"</p>"
"<p><b>" + tr("3rd Party Libaries:") + "</b> " +