From eafb72ff945e825625a78cd6d721438ae802a38d Mon Sep 17 00:00:00 2001 From: liang-ys Date: Mon, 16 Mar 2026 17:39:13 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E6=94=B9opc=E8=BD=AC=E5=8F=91?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E7=9A=84=E9=85=8D=E7=BD=AE=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/src/fes/protocol/opc_ua_server_s/DataProcThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/src/fes/protocol/opc_ua_server_s/DataProcThread.cpp b/product/src/fes/protocol/opc_ua_server_s/DataProcThread.cpp index e8b75b6a..5d31b3b7 100644 --- a/product/src/fes/protocol/opc_ua_server_s/DataProcThread.cpp +++ b/product/src/fes/protocol/opc_ua_server_s/DataProcThread.cpp @@ -482,8 +482,8 @@ void COpcUaDataProcThread::handleChgMiData() int COpcUaDataProcThread::initServer() { - std::string serverIp=m_ptrCFesChan->m_Param.NetRoute[0].NetDesc; - int port=m_ptrCFesChan->m_Param.NetRoute[0].PortNo; + std::string serverIp(m_ptrCFesChan->m_Param.szResParam1); + int port=m_ptrCFesChan->m_Param.LocalPortNo; std::ostringstream oss;