Skip to content

Commit 0e96b34

Browse files
committed
fix modbus tcp
untested-ish. connects but my modbus tcp server isnt worker :P
1 parent 11bce70 commit 0e96b34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

classes/transports/modbus_tcp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
from classes.protocol_settings import Registry_Type, protocol_settings
33
from pymodbus.client.sync import ModbusTcpClient
44
from .transport_base import transport_base
5+
from .modbus_base import modbus_base
56
from configparser import SectionProxy
67

78

8-
class modbus_tcp(transport_base):
9+
class modbus_tcp(modbus_base):
910
port : str = 502
1011
host : str = ""
1112
client : ModbusTcpClient

0 commit comments

Comments
 (0)