From: Michal MalĂ˝ Date: Thu, 31 Jul 2014 08:38:43 +0000 (+0200) Subject: Merge branch 'master' of devoid-pointer.net:anyanka X-Git-Tag: 0.3a~8 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=ea7e26f8323bb998d847b671f733138f6ec2cb26;p=anyanka.git Merge branch 'master' of devoid-pointer.net:anyanka Conflicts: datamanager.cpp signal.h --- ea7e26f8323bb998d847b671f733138f6ec2cb26 diff --cc datafilesloader.cpp index b5fdfd8,b907b99..3124094 --- a/datafilesloader.cpp +++ b/datafilesloader.cpp @@@ -34,9 -34,10 +34,10 @@@ DataFilesLoader::DataFilesLoader(QObjec m_supportedFileTypes << "*.ch"; } -DataFilesLoader::ReturnCode DataFilesLoader::loadSingleRun(const QDir& path, std::vector& loadedData) +DataFilesLoader::ReturnCode DataFilesLoader::loadSingleRun(const QDir& path, std::vector& loadedData) { ReturnCode ret = ReturnCode::SUCCESS; + std::vector failedFiles; for (const QString& s : path.entryList(m_supportedFileTypes, QDir::Files | QDir::NoDotAndDotDot)) { struct HPCS_MeasuredData* mdata = hpcs_alloc(); diff --cc datamanager.h index 84713a5,fc1a740..7756b05 --- a/datamanager.h +++ b/datamanager.h @@@ -74,12 -74,15 +74,15 @@@ private std::vector m_sequences; DataFilesLoader m_dfl; - ExportGraphToImageDialog::Parameters m_oldExportToImageParams; + ExportGraphToImageDialog m_graphToImageExportDialog; static const QString ME_SENDER_STR; + static const QString UNIT_DEGREES_CELSIUS_TEXT; static const QString UNIT_KILOVOLTS_TEXT; static const QString UNIT_MICROAMPERES_TEXT; + static const QString UNIT_MICROAMPERES_ALT1_TEXT; static const QString UNIT_MILLIAU_TEXT; + static const QString UNIT_MILLIBARS_TEXT; static const QString UNIT_MILLIVOLTS_TEXT; static const QString UNIT_WATTS_TEXT; diff --cc signal.cpp index 1792715,b520ce2..f62be9e --- a/signal.cpp +++ b/signal.cpp @@@ -34,18 -38,17 +38,25 @@@ const QString Signal::MILLIBARS_SI("mba const QString Signal::MILLIVOLTS_SI("mV"); const QString Signal::WATTS_SI("W"); ++<<<<<<< HEAD +Signal::Signal(const Equipment equipment, const Resource resource, const double samplingRate, const YUnit yunit, + const uint16_t wlMsr, const uint16_t wlMsrInt, const uint16_t wlRef, const uint16_t wlRefInt, + const std::vector& values, QObject* parent) : ++======= + Signal::Signal(const Equipment equipment, const Resource resource, const double samplingRate, const YUnit yunit, uint16_t wavelengthAbs, uint16_t intervalAbs, + uint16_t wavelengthRef, uint16_t intervalRef, const std::vector& values, QObject* parent) : ++>>>>>>> 4c21316481208fda42850d889396470de9707deb QObject(parent), m_equipment(equipment), m_resource(resource), m_samplingRate(samplingRate), + m_spectralIntervalAbs(intervalAbs), + m_spectralIntervalRef(intervalRef), m_values(values), - m_wavelengthAbs(wavelengthAbs), - m_wavelengthRef(wavelengthRef), + m_wavelengthMeasured(wlMsr), + m_wavelengthMeasuredInterval(wlMsrInt), + m_wavelengthReference(wlRef), + m_wavelengthReferenceInterval(wlRefInt), m_xunit(XUnit::MINUTE), m_yunit(yunit) { diff --cc signal.h index 367a946,087a4fb..9c285c9 --- a/signal.h +++ b/signal.h @@@ -91,11 -90,11 +95,13 @@@ private double m_min; const Resource m_resource; const double m_samplingRate; + const uint16_t m_spectralIntervalAbs; + const uint16_t m_spectralIntervalRef; const std::vector m_values; - const uint16_t m_wavelengthAbs; - const uint16_t m_wavelengthRef; + const uint16_t m_wavelengthMeasured; + const uint16_t m_wavelengthMeasuredInterval; + const uint16_t m_wavelengthReference; + const uint16_t m_wavelengthReferenceInterval; const XUnit m_xunit; const YUnit m_yunit;