Add unit Ohm

This commit is contained in:
Michael Zanetti 2021-11-02 11:39:04 +01:00
parent b5768c8bf0
commit 7bd7e41ff2
3 changed files with 4 additions and 2 deletions

View File

@ -136,6 +136,7 @@ public:
UnitVoltAmpere, UnitVoltAmpere,
UnitVoltAmpereReactive, UnitVoltAmpereReactive,
UnitAmpereHour, UnitAmpereHour,
UnitOhm,
UnitMicroSiemensPerCentimeter, UnitMicroSiemensPerCentimeter,
UnitDuration, UnitDuration,
UnitNewton, UnitNewton,

View File

@ -5,7 +5,7 @@ NYMEA_VERSION_STRING=$$system('dpkg-parsechangelog | sed -n -e "s/^Version: //p"
# define protocol versions # define protocol versions
JSON_PROTOCOL_VERSION_MAJOR=5 JSON_PROTOCOL_VERSION_MAJOR=5
JSON_PROTOCOL_VERSION_MINOR=7 JSON_PROTOCOL_VERSION_MINOR=8
JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}" JSON_PROTOCOL_VERSION="$${JSON_PROTOCOL_VERSION_MAJOR}.$${JSON_PROTOCOL_VERSION_MINOR}"
LIBNYMEA_API_VERSION_MAJOR=7 LIBNYMEA_API_VERSION_MAJOR=7
LIBNYMEA_API_VERSION_MINOR=2 LIBNYMEA_API_VERSION_MINOR=2

View File

@ -1,4 +1,4 @@
5.7 5.8
{ {
"enums": { "enums": {
"BasicType": [ "BasicType": [
@ -372,6 +372,7 @@
"UnitVoltAmpere", "UnitVoltAmpere",
"UnitVoltAmpereReactive", "UnitVoltAmpereReactive",
"UnitAmpereHour", "UnitAmpereHour",
"UnitOhm",
"UnitMicroSiemensPerCentimeter", "UnitMicroSiemensPerCentimeter",
"UnitDuration", "UnitDuration",
"UnitNewton", "UnitNewton",