rename DeviceValueType::TEXT to STRING and ignore UOM if its NONE

This commit is contained in:
proddy
2021-09-20 21:42:24 +02:00
parent 1a71921fd6
commit d8add7edcb
2 changed files with 17 additions and 13 deletions

View File

@@ -39,7 +39,7 @@ enum DeviceValueType : uint8_t {
ULONG,
TIME, // same as ULONG (32 bits)
ENUM,
TEXT,
STRING,
CMD // special for commands only
};
@@ -66,7 +66,8 @@ enum DeviceValueUOM : uint8_t {
DBM, // 14
NUM, // 15
BOOLEAN, // 16
LIST // 17
LIST, // 17
TEXT // 18
};