This commit is contained in:
gtz 2023-12-15 17:33:15 +08:00
parent bb541962dd
commit f32306096f

View File

@ -40,7 +40,8 @@ class XClient {
} }
new 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", // "ws://192.168.1.12:8081/xc-screen/websocket/xc001",
"DCS_DATA", "DCS_DATA",
(msg: MessageEvent) => { (msg: MessageEvent) => {
@ -175,7 +176,8 @@ new XClient(
); );
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", "MES_DATA",
(msg) => { (msg) => {
let serializedData: { type: string; data: any } | null = null; let serializedData: { type: string; data: any } | null = null;
@ -202,7 +204,8 @@ new XClient(
// 产线缺陷相关数据 // 产线缺陷相关数据
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", "QUALITY_DATA",
(msg) => { (msg) => {
let serializedData: MessageItem | null = null; let serializedData: MessageItem | null = null;