Brief description of class still missing. More...
#include <SyscomHeader.h>
Classes | |
struct | Lsb |
struct | Time |
Static Public Member Functions | |
static Signal::Components | component (int channel) |
Static Protected Member Functions | |
static int | bcd2int (uchar bcd) |
static double | countPerVolt (const Lsb &l) |
static QDateTime | startTime (const Time &t) |
Brief description of class still missing.
Full description of class still missing
int GeopsyCore::SyscomHeader::bcd2int | ( | uchar | bcd | ) | [static, protected] |
References TRACE.
Referenced by startTime().
{ TRACE; return ((bcd & 0xF0) >> 1) * 5 + (bcd & 0x0F); }
Signal::Components GeopsyCore::SyscomHeader::component | ( | int | channel | ) | [static] |
References GeopsyCore::Signal::East, GeopsyCore::Signal::North, and GeopsyCore::Signal::Vertical.
{ switch(channel) { case 0: return Signal::East; case 1: return Signal::North; default: return Signal::Vertical; } }
double GeopsyCore::SyscomHeader::countPerVolt | ( | const Lsb & | l | ) | [static, protected] |
References GeopsyCore::SyscomHeader::Lsb::EXPONENT, GeopsyCore::SyscomHeader::Lsb::MANTISSA, and TRACE.
Referenced by GeopsyCore::SyscomSVmrxHeader::countPerVolt(), and GeopsyCore::SyscomXmrHeader::countPerVolt().
{ TRACE; return l.MANTISSA*pow(10.0,l.EXPONENT); }
QDateTime GeopsyCore::SyscomHeader::startTime | ( | const Time & | t | ) | [static, protected] |
References bcd2int(), GeopsyCore::SyscomHeader::Time::DAY, GeopsyCore::SyscomHeader::Time::HOUR, GeopsyCore::SyscomHeader::Time::MINUTE, GeopsyCore::SyscomHeader::Time::MONTH, GeopsyCore::SyscomHeader::Time::SECOND, TRACE, and GeopsyCore::SyscomHeader::Time::YEAR.
Referenced by GeopsyCore::SyscomSVmrxHeader::startTime(), and GeopsyCore::SyscomXmrHeader::startTime().