[Fix] Fixed wrong name generated for output action 2

This commit is contained in:
Robert von Burg 2020-02-28 16:06:10 +01:00
parent 8dead3c65e
commit 65c30f47c9
1 changed files with 2 additions and 2 deletions

View File

@ -233,8 +233,8 @@ public class PlcAddressGenerator {
// action2 value
telegramR = telegramT.getClone();
telegramR.setId("T_" + resource + action2);
telegramR.setName(keyName);
telegramR.setId("T_" + resource + "-" + action2);
telegramR.setName(resource + " - " + action2);
telegramR.getParameter(PARAM_DESCRIPTION, true).setValue(description);
telegramR.getParameter(PARAM_ADDRESS, true).setValue(address);