Skip to content

Commit

Permalink
Merge pull request eclipse-basyx#327 from FriedJannik/mqttFix
Browse files Browse the repository at this point in the history
Sends MQTT Message when Submodel is Updated
  • Loading branch information
aaronzi authored Jul 5, 2024
2 parents 5075828 + ca9d289 commit 27019a5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ public void createSubmodelElement(String submodelId, String idShortPath, Submode
}

@Override
public void updateSubmodelElement(String submodelIdentifier, String idShortPath, SubmodelElement submodelElement) throws ElementDoesNotExistException {
decorated.updateSubmodelElement(submodelIdentifier, idShortPath, submodelElement);
public void updateSubmodelElement(String submodelIdentifier, String idShortPath, SubmodelElement smElement) throws ElementDoesNotExistException {
decorated.updateSubmodelElement(submodelIdentifier, idShortPath, smElement);
SubmodelElement submodelElement = decorated.getSubmodelElement(submodelIdentifier, idShortPath);
submodelElementUpdated(submodelElement, getName(), submodelIdentifier, idShortPath);
}

@Override
Expand Down

0 comments on commit 27019a5

Please sign in to comment.