This is an automated email from the ASF dual-hosted git repository.
tmitsch pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git.
from 4e99caa Merge branch 'develop' of
https://gitbox.apache.org/repos/asf/incubator-plc4x into develop
add f31bf79 Necessary changes to make the (new) plc scraper driver
agnostic: * The PlcField interface has a (default) method to return the
expected java type (to know this upfront) * The PlcConnection interface has a
new "parse()" method which allows to explicitly create a Field instance for a
given type. * Integration of java-type into TriggeredScraper * Tested and added
a TriggeredScraper for Modbus
No new revisions were added by this update.
Summary of changes:
.../org/apache/plc4x/java/api/PlcConnection.java | 12 +++
.../org/apache/plc4x/java/api/model/PlcField.java | 16 ++++
.../plc4x/java/s7/connection/S7PlcConnection.java | 8 ++
.../java/s7/connection/S7PlcConnectionTests.java | 15 ++++
.../org/apache/plc4x/java/s7/model/S7Field.java | 31 ++++++++
.../apache/plc4x/java/s7/model/S7FieldTests.java | 8 ++
plc4j/utils/scraper/pom.xml | 10 +++
.../triggerhandler/TriggerConfiguration.java | 90 +++++++++++++---------
...nner.java => TriggeredScraperRunnerModbus.java} | 29 +++++--
.../triggerhandler/TriggerConfigurationTest.java | 4 +-
.../resources/example_triggered_scraper_modbus.yml | 14 ++--
11 files changed, 184 insertions(+), 53 deletions(-)
copy
plc4j/utils/scraper/src/test/java/org/apache/plc4x/java/scraper/{TriggeredScraperRunner.java
=> TriggeredScraperRunnerModbus.java} (65%)
copy integrations/apache-calcite/src/test/resources/example.yml =>
plc4j/utils/scraper/src/test/resources/example_triggered_scraper_modbus.yml
(84%)