File tree Expand file tree Collapse file tree 11 files changed +27
-1
lines changed
Expand file tree Collapse file tree 11 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1515
1616from pymodbus .version import version
1717from pymodbus .server .asynchronous import StartTcpServer
18+ # from pymodbus.server.asynchronous import StartUdpServer #NOSONAR
19+ # from pymodbus.server.asynchronous import StartSerialServer #NOSONAR
1820from pymodbus .device import ModbusDeviceIdentification
1921from pymodbus .datastore import ModbusSequentialDataBlock
2022from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
21-
23+ #from pymodbus.transaction import ( #NOSONAR
24+ # ModbusRtuFramer, #NOSONAR
25+ # ModbusAsciiFramer, #NOSONAR
26+ # ModbusBinaryFramer, #NOSONAR
27+ #) #NOSONAR
2228
2329# --------------------------------------------------------------------------- #
2430# configure the service logging
Original file line number Diff line number Diff line change 1515
1616from pymodbus .version import version
1717from pymodbus .server .async_io import StartTcpServer
18+ # from pymodbus.server.async_io import StartTlsServer #NOSONAR
19+ # from pymodbus.server.async_io import StartUdpServer #NOSONAR
20+ # from pymodbus.server.async_io import StartSerialServer #NOSONAR
1821from pymodbus .device import ModbusDeviceIdentification
1922from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
2023from pymodbus .datastore import ModbusSequentialDataBlock
24+ # from pymodbus.datastore import ModbusSparseDataBlock #NOSONAR
2125
2226# --------------------------------------------------------------------------- #
2327# configure the service logging
Original file line number Diff line number Diff line change 1717from pymodbus .device import ModbusDeviceIdentification
1818from pymodbus .datastore import ModbusSparseDataBlock
1919from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
20+ # from pymodbus.transaction import ModbusRtuFramer, ModbusAsciiFramer #NOSONAR
2021
2122
2223# --------------------------------------------------------------------------- #
Original file line number Diff line number Diff line change 1616from pymodbus .device import ModbusDeviceIdentification
1717from pymodbus .datastore import ModbusSparseDataBlock
1818from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
19+ # from pymodbus.transaction import ModbusRtuFramer, ModbusAsciiFramer #NOSONAR
1920
2021# --------------------------------------------------------------------------- #
2122# configure the service logging
Original file line number Diff line number Diff line change 2929from pymodbus .datastore import ModbusSequentialDataBlock
3030from pymodbus .datastore import ModbusServerContext
3131from pymodbus .datastore .database import SqlSlaveContext
32+ # from pymodbus.transaction import ModbusRtuFramer, ModbusAsciiFramer #NOSONAR
3233
3334# --------------------------------------------------------------------------- #
3435# configure the service logging
Original file line number Diff line number Diff line change 1616from pymodbus .datastore import ModbusSequentialDataBlock
1717from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
1818from pymodbus .constants import Endian
19+ # from pymodbus.payload import BinaryPayloadDecoder #NOSONAR
1920from pymodbus .payload import BinaryPayloadBuilder
2021
2122# --------------------------------------------------------------------------- #
Original file line number Diff line number Diff line change 1515from concurrent .futures import ThreadPoolExecutor as eWorker , as_completed
1616from time import time
1717from pymodbus .client .sync import ModbusTcpClient
18+ # from pymodbus.client.sync import ModbusSerialClient #NOSONAR
1819
1920try :
2021 from multiprocessing import Process as mWorker , log_to_stderr
Original file line number Diff line number Diff line change 1212# import the various server implementations
1313# --------------------------------------------------------------------------- #
1414from pymodbus .version import version
15+ # from pymodbus.server.sync import StartTcpServer #NOSONAR
16+ # from pymodbus.server.sync import StartTlsServer #NOSONAR
17+ # from pymodbus.server.sync import StartUdpServer #NOSONAR
18+ # from pymodbus.server.sync import StartSerialServer #NOSONAR
1519from pymodbus .device import ModbusDeviceIdentification
1620from pymodbus .datastore import ModbusSequentialDataBlock
21+ # from pymodbus.datastore import ModbusSparseDataBlock #NOSONAR
1722from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
23+ # from pymodbus.transaction import ModbusRtuFramer, ModbusBinaryFramer #NOSONAR
1824
1925# --------------------------------------------------------------------------- #
2026# configure the service logging
Original file line number Diff line number Diff line change 2020from pymodbus .device import ModbusDeviceIdentification
2121from pymodbus .datastore import ModbusSequentialDataBlock
2222from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
23+ # from pymodbus.transaction import ModbusRtuFramer, ModbusAsciiFramer #NOSONAR
2324
2425# --------------------------------------------------------------------------- #
2526# import the twisted libraries we need
Original file line number Diff line number Diff line change 1414# --------------------------------------------------------------------------- #
1515from pymodbus .version import version
1616from pymodbus .server .sync import StartTcpServer
17+ # from pymodbus.server.sync import StartUdpServer #NOSONAR
18+ # from pymodbus.server.sync import StartSerialServer #NOSONAR
19+ # from pymodbus.transaction import ModbusRtuFramer, ModbusBinaryFramer #NOSONAR
1720from pymodbus .device import ModbusDeviceIdentification
1821from pymodbus .datastore import ModbusSlaveContext , ModbusServerContext
1922from pymodbus import __version__ as pymodbus_version
You can’t perform that action at this time.
0 commit comments