introduce a source field in GwApi::BoatValue

This commit is contained in:
andreas committed 2022-03-12 20:31:54 +01:00
1 parent faadccd6cb
commit 84aed8bc89
2 files changed
+6

No files matched your search

+5
View File
@@ -286,6 +286,11 @@ public:
double newValue=item->getDoubleValue();
if (newValue != list[i]->value) list[i]->changed=true;
list[i]->value=newValue;
int newSource=item->getLastSource();
if (newSource != list[i]->source){
list[i]->source=newSource;
list[i]->changed=true;
}
}
list[i]->setFormat(item->getFormat());
}