Skip to content

Commit

Permalink
Sends MQTT Message when Submodel is Updated
Browse files Browse the repository at this point in the history
Signed-off-by: FriedJannik <[email protected]>
Co-authored-by: Aaron Zielstorff <[email protected]>
  • Loading branch information
FriedJannik and aaronzi committed Jun 25, 2024
1 parent 7904300 commit ca9d289
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 ca9d289

Please sign in to comment.