Hi
Write the value to the tag. Is it correct?
private GatewayContext gatewayContext;
public TagUtil(GatewayContext gatewayContext) {
this.gatewayContext = gatewayContext;
}
public void write(String tagPath, Object value) {
List<WriteRequest<TagPath>> list = new ArrayList<>();
list.add(new BasicAsyncWriteRequest(parseTagPath(tagPath), value));
gatewayContext.getTagManager().write(list, null, true);
}
Any help
thank