This commit is contained in:
gtz 2023-12-15 17:33:15 +08:00
부모 bb541962dd
커밋 f32306096f

파일 보기

@ -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;