[Fix] Notify global listener after sending plc message
This commit is contained in:
parent
03b629b864
commit
17df054aae
|
@ -425,9 +425,9 @@ public class PlcGwClientHandler extends StrolchComponent implements GlobalPlcLis
|
|||
if (telegramJ.has(PARAM_VALUE)) {
|
||||
String valueS = telegramJ.get(PARAM_VALUE).getAsString();
|
||||
Object value = plcAddress.valueType.parseValue(valueS);
|
||||
this.plcHandler.send(plcAddress.resource, plcAddress.action, value, false, false);
|
||||
this.plcHandler.send(plcAddress.resource, plcAddress.action, value, false, true);
|
||||
} else {
|
||||
this.plcHandler.send(plcAddress.resource, plcAddress.action, false, false);
|
||||
this.plcHandler.send(plcAddress.resource, plcAddress.action, false, true);
|
||||
}
|
||||
|
||||
telegramJ.addProperty(PARAM_STATE, PlcResponseState.Done.name());
|
||||
|
|
Loading…
Reference in New Issue