Cosmetics.

This commit is contained in:
2025-12-18 09:30:43 +01:00
parent 35112ba334
commit b5ed3ff733

View File

@@ -43,7 +43,7 @@
Das ist natürlich annalog zu den ItemTypes:
- ein Value hat einen ValueType, der bestimmt folgendes:
- long or short
- long or short or quad
- unit (mm, km/h, odo ... )
-
@@ -74,7 +74,8 @@ public:
Km,
Mm,
Sec,
SOC,
SoC,
Odo,
Date
};
Q_ENUM(UnitID)
@@ -93,7 +94,7 @@ public:
{UnitID::Km, "km"},
{UnitID::Mm, "mm"},
{UnitID::Sec, "s"},
{UnitID::SOC, "%"},
{UnitID::SoC, "%"},
{UnitID::Date, ""}
};
return s_unitNames[unitID];
@@ -121,8 +122,7 @@ public:
BCDevice::ID deviceID{BCDevice::ID::Invalid};
BC::ID targetID{BC::ID::Invalid};
//BCValueType::ID typeID{BCValueType::ID::Invalid};
BCValueType::TypeID firz;
BCValueType::TypeID typeID{BCValueType::TypeID::Invalid};;
QVariant defaultValue;
QVariant value;