You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "Łukasz Dywicki (Jira)" <ji...@apache.org> on 2020/10/22 11:40:00 UTC
[jira] [Created] (PLC4X-252) Provide read and write builder method
variants with supplied PlcField
Łukasz Dywicki created PLC4X-252:
------------------------------------
Summary: Provide read and write builder method variants with supplied PlcField
Key: PLC4X-252
URL: https://issues.apache.org/jira/browse/PLC4X-252
Project: Apache PLC4X
Issue Type: Improvement
Components: API
Affects Versions: 0.8.0
Reporter: Łukasz Dywicki
At the present each operation involving driver requires construction of a field "query string". While it permits implementers rely on generic field syntax it also has downsides - it won't capture changes in how fields are constructed.
For that reason we would like to introduce a second option for specifying field queries which would permit passing of `PlcField` instances directly.
{code:lang=java|title=PlcWriteRequest.Builder.java}
PlcWriteRequest.Builder addItem(String name, String fieldQuery, Boolean... values);
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)