mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Применяем округление значений при отправке данных в режиме 2
This commit is contained in:
@@ -100,7 +100,7 @@ class UART : public IoTItem {
|
||||
printStr += eventItem->getID();
|
||||
printStr += "=";
|
||||
if (eventItem->value.isDecimal)
|
||||
printStr += eventItem->value.valD;
|
||||
printStr += eventItem->getRoundValue();
|
||||
else {
|
||||
printStr += "\"";
|
||||
printStr += eventItem->value.valS;
|
||||
|
||||
Reference in New Issue
Block a user