const QString DataManager::ME_SENDER_STR("DataManager");
const QString DataManager::UNIT_DEGREES_CELSIUS_TEXT = QString::fromLatin1((const char[]){static_cast<char>(0xB0), 0x43, 0x00});
const QString DataManager::UNIT_KILOVOLTS_TEXT = QString::fromLatin1((const char[]){0x4B, 0x56, 0x00});
+const QString DataManager::UNIT_KILOVOLTS_ALT1_TEXT = QString::fromLatin1((const char[]){0x6B, 0x56, 0x00});
const QString DataManager::UNIT_MICROAMPERES_TEXT = QString::fromLatin1((const char[]){static_cast<char>(0xB5), 0x41, 0x00});
const QString DataManager::UNIT_MICROAMPERES_ALT1_TEXT = QString::fromLatin1((const char[]){0x75, 0x41, 0x00});
const QString DataManager::UNIT_MILLIAU_TEXT = QString::fromLatin1((const char[]){0x6D, 0x41, 0x55, 0x00});
if (QString::compare(str, UNIT_DEGREES_CELSIUS_TEXT) == 0)
return Signal::YUnit::DEGREES_CELSIUS;
- else if (QString::compare(str, UNIT_KILOVOLTS_TEXT) == 0)
+ else if (QString::compare(str, UNIT_KILOVOLTS_TEXT) == 0 ||
+ QString::compare(str, UNIT_KILOVOLTS_ALT1_TEXT) == 0)
return Signal::YUnit::KILOVOLTS;
else if (QString::compare(str, UNIT_MICROAMPERES_TEXT) == 0 ||
QString::compare(str, UNIT_MICROAMPERES_ALT1_TEXT) == 0)
static const QString ME_SENDER_STR;
static const QString UNIT_DEGREES_CELSIUS_TEXT;
static const QString UNIT_KILOVOLTS_TEXT;
+ static const QString UNIT_KILOVOLTS_ALT1_TEXT;
static const QString UNIT_MICROAMPERES_TEXT;
static const QString UNIT_MICROAMPERES_ALT1_TEXT;
static const QString UNIT_MILLIAU_TEXT;