Pressure divisor change

This commit is contained in:
Mark Watkins 2011-06-30 07:38:20 +10:00
parent 5b631e2c83
commit d549f4c41d
2 changed files with 6 additions and 5 deletions

View File

@ -468,7 +468,7 @@ bool ResmedLoader::LoadPLD(Machine *mach,Session *sess,EDFParser &edf)
ToTimeDelta(mach,sess,edf,edf.edfsignals[s]->data, code,recs,duration);
} else if (edf.edfsignals[s]->label=="Mask Pres") {
code=CPAP_Pressure;
ToTimeDelta(mach,sess,edf,edf.edfsignals[s]->data, code,recs,duration,100.0);
ToTimeDelta(mach,sess,edf,edf.edfsignals[s]->data, code,recs,duration,50.0);
} else if (edf.edfsignals[s]->label=="MV") {
code=CPAP_MinuteVentilation;
ToTimeDelta(mach,sess,edf,edf.edfsignals[s]->data, code,recs,duration,1.0);

View File

@ -97,9 +97,10 @@ Daily::Daily(QWidget *parent,QGLContext *context) :
PRD->AddLayer(new gXAxis());
PRD->AddLayer(new gYAxis());
//PRD->AddLayer(new gFooBar());
PRD->AddLayer(new gLineChart(prd,QColor("dark green"),4096,false,false,true));
PRD->AddLayer(new gLineChart(pressure_iap,Qt::blue,4096,false,true,true));
PRD->AddLayer(new gLineChart(pressure_eap,Qt::red,4096,false,true,true));
bool square=false;
PRD->AddLayer(new gLineChart(prd,QColor("dark green"),4096,false,false,square));
PRD->AddLayer(new gLineChart(pressure_iap,Qt::blue,4096,false,true,square));
PRD->AddLayer(new gLineChart(pressure_eap,Qt::red,4096,false,true,square));
PRD->setMinimumHeight(150);
AddCPAPData(leakdata=new EventData(CPAP_Leak,0));
@ -143,7 +144,7 @@ Daily::Daily(QWidget *parent,QGLContext *context) :
SNORE->AddLayer(new gXAxis());
SNORE->AddLayer(new gYAxis());
//SNORE->AddLayer(new gFooBar());
SNORE->AddLayer(new gLineChart(snore,Qt::black,4096,false,false,true));
SNORE->AddLayer(new gLineChart(snore,Qt::black,4096,false,false,false));
SNORE->setMinimumHeight(150);