You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/10/16 09:17:19 UTC
[plc4x] branch develop updated (040ed71 -> 58827f9)
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git.
from 040ed71 Update blogs-videos-and-slides.adoc
new ea1d8bb Refactor Field Handler Classes
new 28ec2bf Fixed issue in new PlcValues.of function. Is able to correctly pass standard data types now.
new e6df50e Draft for writeFloat in WriteBUffer
new 6db621a Add support for writing floating point.
new 3ca264c Add support for Big Interger write (untested)
new b78b299 replace Modbus fromPLCValue function with staticSerialise functions. (Needs to be fixed to include changes from Data Type PR)
new ccdf77d Merge branch 'develop' into Bug/AddWriteBufferSupportFloatBigInt
new 0b7d25c Moved Modbus over to use the static Serializer. I'll do some more testing tomorrow, but seems to work with Big Ints and Floats
new 28a322b Fixed support for ULINT writing
new 4fdf673 Refactored the BigInteger functions
new 77267cd Merge branch 'Bug/AddWriteBufferSupportFloatBigInt' into RefactorFieldHandler
new 27df4a6 Add support for writing arrays to the hello world write example.
new dd0aab6 Merge branch 'Feature/Hello-World-Write-Arrays' into RefactorFieldHandler
new 45d96cf Implemented staticSerialize write list functions
new cbe9243 Merge branch 'Bug/AddWriteBufferSupportFloatBigInt' into RefactorFieldHandler
new e1c7701 Overrode methods on PlcValue classes and fixed list serializer
new 95dcf27 Add Support for writing lists of booleans
new 90fc914 Modified non Modbus field handler classes to modbus format Wasn't able to test other protocols.
new 8df8207 Reverted Commit 90fc914ec3e72a91af514742fb6dc85a34e99c9f
new af00614 Removed Class Lookup in new PlcValues.of Function Add getPlcDataType to Plcfield Interface to allow generalizing the fieldHandler classes. Add getBooleanArray() to WORD type PlcValue classes. Add fix for staticSerializer when writing lists.
new 5c95e44 Add checking for malformed write requests Modbus When writing arrays if the number of values didn't match the number of addresses a malformed packet was sent. Additional checks have been adedd. Error checking the response for writes has been added so that it reports error codes.
new 58827f9 Merge pull request #192 from hutcheb/RefactorFieldHandler
The 3327 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../language/java/JavaLanguageTemplateHelper.java | 16 +-
.../resources/templates/java/data-io-template.ftlh | 14 +-
.../org/apache/plc4x/java/api/model/PlcField.java | 16 +
.../org/apache/plc4x/java/api/value/PlcBOOL.java | 14 +-
.../org/apache/plc4x/java/api/value/PlcBYTE.java | 118 +-
.../org/apache/plc4x/java/api/value/PlcCHAR.java | 111 +-
.../org/apache/plc4x/java/api/value/PlcDINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcDWORD.java | 118 +-
.../org/apache/plc4x/java/api/value/PlcINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcLINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcLREAL.java | 5 -
.../org/apache/plc4x/java/api/value/PlcLWORD.java | 118 +-
.../org/apache/plc4x/java/api/value/PlcREAL.java | 5 -
.../org/apache/plc4x/java/api/value/PlcSINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcString.java | 6 +
.../org/apache/plc4x/java/api/value/PlcUDINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcUINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcULINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcUSINT.java | 5 -
.../org/apache/plc4x/java/api/value/PlcValues.java | 123 +-
.../org/apache/plc4x/java/api/value/PlcWCHAR.java | 109 +-
.../org/apache/plc4x/java/api/value/PlcWORD.java | 118 +-
.../apache/plc4x/java/abeth/field/AbEthField.java | 5 +
.../plc4x/java/ads/field/AdsFieldHandler.java | 1063 -----------
.../plc4x/java/ads/field/DirectAdsField.java | 5 +
.../plc4x/java/ads/field/SymbolicAdsField.java | 5 +
.../plc4x/java/eip/readwrite/field/EipField.java | 5 +
.../java/eip/readwrite/field/EipFieldHandler.java | 393 +---
.../readwrite/field/FirmataFieldAnalog.java | 5 +
.../readwrite/field/FirmataFieldDigital.java | 5 +
.../readwrite/field/FirmataFieldHandler.java | 104 -
.../plc4x/java/knxnetip/field/KnxNetIpField.java | 5 +
.../java/knxnetip/field/KnxNetIpFieldHandler.java | 80 -
.../plc4x/java/knxnetip/utils/KnxHelper.java | 11 +-
.../apache/plc4x/java/mock/field/MockField.java | 5 +
.../plc4x/java/modbus/field/ModbusField.java | 5 +
.../java/modbus/field/ModbusFieldHandler.java | 1839 ------------------
.../java/modbus/protocol/ModbusProtocolLogic.java | 337 +---
.../apache/plc4x/java/modbus/ModbusEncodeTest.java | 13 +-
.../plc4x/java/opcua/protocol/OpcuaField.java | 5 +
.../java/opcua/protocol/OpcuaPlcFieldHandler.java | 114 --
.../plc4x/java/opcua/OpcuaPlcDriverTest.java | 2 +-
.../plc4x/java/s7/readwrite/field/S7Field.java | 4 +
.../java/s7/readwrite/field/S7PlcFieldHandler.java | 511 -----
.../plc4x/java/simulated/field/SimulatedField.java | 4 +
.../simulated/field/SimulatedFieldHandler.java | 121 +-
.../simulated/field/SimularedFieldHandlerTest.java | 19 +-
.../examples/helloplc4x/write/HelloPlc4xWrite.java | 8 +-
.../spi/connection/DefaultPlcFieldHandler.java | 1991 +++++++++++++++++++-
.../plc4x/java/spi/generation/WriteBuffer.java | 65 +-
.../java/opm/PlcEntityManagerComplexTest.java | 5 +-
src/site/asciidoc/users/protocols/modbus.adoc | 1 +
52 files changed, 3050 insertions(+), 4616 deletions(-)