From f32306096f630bc2dbfc03c020efc18b98b313c6 Mon Sep 17 00:00:00 2001 From: gtz <535262213@qq.com> Date: Fri, 15 Dec 2023 17:33:15 +0800 Subject: [PATCH] '1' --- src/utils/index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/utils/index.ts b/src/utils/index.ts index 6f18d10..f7076f3 100644 --- a/src/utils/index.ts +++ b/src/utils/index.ts @@ -40,7 +40,8 @@ class XClient { } new XClient( - "ws://m306416y13.yicp.fun:35441/xc-screen/websocket/xc001", + // "ws://m306416y13.yicp.fun:35441/xc-screen/websocket/xc001", + "ws://10.70.180.10:8081/xc-screen/websocket/xc001", // "ws://192.168.1.12:8081/xc-screen/websocket/xc001", "DCS_DATA", (msg: MessageEvent) => { @@ -175,7 +176,8 @@ new XClient( ); new XClient( - "ws://192.168.1.74:48080/websocket/message?userId=ENERGY111", + "ws://10.70.2.2:8080/websocket/message?userId=ENERGY111", + // "ws://192.168.1.74:48080/websocket/message?userId=ENERGY111", "MES_DATA", (msg) => { let serializedData: { type: string; data: any } | null = null; @@ -202,7 +204,8 @@ new XClient( // 产线缺陷相关数据 new XClient( - "ws://192.168.0.33:48082/websocket/message?userId=IS111", + "ws://10.70.2.2:8080/websocket/message?userId=IS111", + // "ws://192.168.0.33:48082/websocket/message?userId=IS111", "QUALITY_DATA", (msg) => { let serializedData: MessageItem | null = null;