This is an automated email from the ASF dual-hosted git repository.
hutcheb pushed a change to branch feat/plc4py_code_gen
in repository https://gitbox.apache.org/repos/asf/plc4x.git
from a96ff786c0 chore(plc4py): Start writing modbus logic :)
add 5b996a77a3 chore(plc4py): Renamed Field -> Tag, fixed up tag handlers
No new revisions were added by this update.
Summary of changes:
.../templates/python/enum-template.python.ftlh | 22 +--
.../plc4x/java/modbus/base/tag/ModbusTagCoil.java | 10 +-
sandbox/plc4py/plc4py/api/messages/PlcField.py | 6 +-
sandbox/plc4py/plc4py/api/messages/PlcRequest.py | 16 +-
sandbox/plc4py/plc4py/api/messages/PlcResponse.py | 10 +-
.../plc4py/plc4py/drivers/mock/MockConnection.py | 62 ++------
.../plc4py/drivers/mock/MockReadRequestBuilder.py | 23 +--
.../{modbus/ModbusField.py => mock/MockTag.py} | 16 +-
.../plc4py/drivers/modbus/ModbusConnection.py | 3 +-
sandbox/plc4py/plc4py/drivers/modbus/ModbusTag.py | 177 +++++++++++++++++++++
.../protocols/modbus/readwrite/DriverType.py | 4 +-
.../protocols/modbus/readwrite/ModbusDataType.py | 64 ++++----
.../ModbusDeviceInformationConformityLevel.py | 4 +-
.../readwrite/ModbusDeviceInformationLevel.py | 4 +-
.../ModbusDeviceInformationMoreFollows.py | 4 +-
.../protocols/modbus/readwrite/ModbusErrorCode.py | 4 +-
.../ModbusPDUReadDiscreteInputsRequest.py | 48 +++---
.../simulated/readwrite/SimulatedDataTypeSizes.py | 64 ++++----
sandbox/plc4py/plc4py/spi/messages/PlcRequest.py | 21 +--
sandbox/plc4py/tests/test_plc4py.py | 8 +-
.../tests/unit/plc4py/api/test_PlcRequest.py | 40 ++---
.../drivers/modbus/test_modbus_connection.py | 7 +-
22 files changed, 368 insertions(+), 249 deletions(-)
rename sandbox/plc4py/plc4py/drivers/{modbus/ModbusField.py =>
mock/MockTag.py} (69%)
create mode 100644 sandbox/plc4py/plc4py/drivers/modbus/ModbusTag.py