Fixed value loading.

This commit is contained in:
2026-01-03 13:15:15 +01:00
parent 56ab0fbc0f
commit 68680db6b4
3 changed files with 14 additions and 4 deletions

View File

@@ -89,5 +89,14 @@ QString BCValue::formatValue( uint32_t value ) const
return QString::number(result, 'f', 2);
}
void BCValue::dumpValue() const
{
qDebug() << "DeviceID: " << deviceID << " Register: " << registerID << " state:" " << state << " << " label: " << label;
qDebug() << "visibleValue: " << visibleValue << " min: " << min << " max: " << max << " factor: " << factor << " ValueType: " << (char)valueType << " ";
qDebug() << "indexRow: " << indexRow << " isWord: " << isWord;
qDebug();
}
/// ----