mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-05-17 23:08:16 +05:00
chore: fix cpplint
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
if (this->publishEventCallback) {
|
||||
this->publishEventCallback(topic, false);
|
||||
}
|
||||
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -114,7 +114,7 @@ public:
|
||||
return topic;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
template <class T>
|
||||
String getDeviceTopic(T value, char dpvSeparator = '/') {
|
||||
String topic = "";
|
||||
topic.concat(this->devicePrefix);
|
||||
@@ -147,7 +147,7 @@ public:
|
||||
return topic;
|
||||
}
|
||||
|
||||
template <class DT, class VT>
|
||||
template <class DT, class VT>
|
||||
String getEntityIdWithPrefix(DT domain, VT value, char separator = '_') {
|
||||
String topic = "";
|
||||
topic.concat(domain);
|
||||
@@ -158,7 +158,7 @@ public:
|
||||
return topic;
|
||||
}
|
||||
|
||||
template <class T>
|
||||
template <class T>
|
||||
String getUniqueIdWithPrefix(T value, char separator = '_') {
|
||||
String topic = "";
|
||||
topic.concat(this->devicePrefix);
|
||||
|
||||
Reference in New Issue
Block a user