0
運行this code給我下面的錯誤(我不知道如何通過日誌級別參數)opendnp3 Python測試主從
File "master.py", line 85, in main
stack_manager = opendnp3.StackManager()
File "/usr/lib/python2.7/dist-packages/opendnp3/pyopendnp3.py", line 2049, in __init__
this = _pyopendnp3.new_StackManager(*args)
TypeError: new_StackManager() takes exactly 2 arguments (0 given)
的錯誤是在管線85
stack_manager = opendnp3.StackManager()
stack_manager.AddTCPv4Client('tcpclient', phys_layer_settings, '127.0.0.1', 4999)
英語更正,相當格式化,實際上增加了涉及的代碼行 –
,我想知道我需要給出哪些對象 –