plc4x-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Łukasz Dywicki (Jira) <j...@apache.org>
Subject [jira] [Created] (PLC4X-252) Provide read and write builder method variants with supplied PlcField
Date Thu, 22 Oct 2020 11:40:00 GMT
Ł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)

Mime
View raw message