Skip to content

Commit

Permalink
fix: Fixed a typo in the example code.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Feb 17, 2025
1 parent 6943669 commit a095f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/asciidoc/modules/users/pages/tools/opm.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ This creates a connection to the database, reads all the values and then disconn
----
public static void main(String[] args) {
PlcEntityManager em = new PlcEntityManager();
MyEntity entity = em.connect(MyEntity.class, "s7://...");
MyEntity entity = em.read(MyEntity.class, "s7://...");
System.out.println(entity.getPressure());
}
----
Expand Down

0 comments on commit a095f2d

Please sign in to comment.