Wzyyy98 пре 3 година
родитељ
комит
2ad9ceb190
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/pages/link/Channel/Opcua/index.tsx

+ 2 - 2
src/pages/link/Channel/Opcua/index.tsx

@@ -304,8 +304,8 @@ const NewOpc = () => {
 
   useEffect(() => {
     if (pointList && activeKey) {
-      const id = `collector-data-modbus`;
-      const topic = `/collector/MODBUS_TCP/${activeKey}/data`;
+      const id = `collector-data-opcua`;
+      const topic = `/collector/OPC_UA/${activeKey}/data`;
       wsRef.current = subscribeTopic?.(id, topic, {
         pointId: pointList.map((item: any) => item.id),
       })