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