diff --git a/SleepLib/loader_plugins/prs1_loader.cpp b/SleepLib/loader_plugins/prs1_loader.cpp index 03f65c6d..96cda4e5 100644 --- a/SleepLib/loader_plugins/prs1_loader.cpp +++ b/SleepLib/loader_plugins/prs1_loader.cpp @@ -185,7 +185,7 @@ bool PRS1Loader::ParseProperties(Machine *m,QString filename) } bool ok; QString pt=prop["ProductType"]; - int i=pt.toInt(&ok,0); + int i=pt.toInt(&ok,16); if (ok) { if (ModelMap.find(i)!=ModelMap.end()) { m->properties["SubModel"]=ModelMap[i]; @@ -1211,9 +1211,9 @@ bool PRS1Loader::OpenWaveforms(Session *session,QString filename) void InitModelMap() { - ModelMap[34]="RemStar Pro with C-Flex+"; - ModelMap[35]="RemStar Auto with A-Flex"; - ModelMap[37]="RemStar BiPAP Auto with Bi-Flex"; + ModelMap[0x34]="RemStar Pro with C-Flex+"; + ModelMap[0x35]="RemStar Auto with A-Flex"; + ModelMap[0x37]="RemStar BiPAP Auto with Bi-Flex"; ModelMap[0x41]="BiPAP autoSV Advanced"; }; diff --git a/preferencesdialog.ui b/preferencesdialog.ui index a2964caa..f15e1b27 100644 --- a/preferencesdialog.ui +++ b/preferencesdialog.ui @@ -29,7 +29,7 @@ - 0 + 5 @@ -808,6 +808,89 @@ p, li { white-space: pre-wrap; } + + + Oximetry + + + + + + Yet another work in progress... + + + + + + + Use Oximetry + + + true + + + + + + + 0 + 0 + + + + Type + + + + + + + + + + Contec CMS50 + + + + + Overpriced ResMed S9 Oximeter + + + + + + + + + 0 + 0 + + + + Sync with CPAP where possible + + + + + + + + + Qt::Vertical + + + + 434 + 101 + + + + + + + + +