Closed bdcdekimo closed 3 years ago
Based on the code in Pdo._parsePDO() it looks the intention was to keep track of lastValue per dataObject in pdo.dataObjects, but lines 153-156 store lastValue in the Pdo itself:
if(pdo.lastValue != newValue) { pdo.lastValue = newValue; dataUpdated = true; }
I think these lines should be replaced by
if(dataObject.lastValue != newValue) { dataObject.lastValue = newValue; dataUpdated = true; }
I don't use Pdo._onMessage() because we don't have Rx PDO's in our application, but it looks like that function has the same problem.
Sorry for the delay, should be fixed in 2.5.2
Thanks, both issues are fixed!
Based on the code in Pdo._parsePDO() it looks the intention was to keep track of lastValue per dataObject in pdo.dataObjects, but lines 153-156 store lastValue in the Pdo itself:
I think these lines should be replaced by
I don't use Pdo._onMessage() because we don't have Rx PDO's in our application, but it looks like that function has the same problem.