Skip to content

Commit

Permalink
fix(plc4j/simulated): Fixed the way the simulated driver outputs valu…
Browse files Browse the repository at this point in the history
…es on "STDOUT"
  • Loading branch information
chrisdutz committed Feb 6, 2022
1 parent 177284d commit 39edc4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void set(SimulatedField field, PlcValue value) {
state.put(field, value);
return;
case STDOUT:
LOGGER.info("TEST PLC STDOUT [{}]: {}", field.getName(), value.getString());
LOGGER.info("TEST PLC STDOUT [{}]: {}", field.getName(), value.toString());
return;
case RANDOM:
switch (field.getPlcDataType()) {
Expand Down

0 comments on commit 39edc4d

Please sign in to comment.