更改 新版仿真订阅路径

This commit is contained in:
joylink_cuiweidong 2021-05-31 15:50:35 +08:00
parent 2fd6a971f3
commit 3c34a5b319

View File

@ -13,13 +13,16 @@ export function getTopic(type, group) {
let topic = ''; let topic = '';
switch (type) { switch (type) {
case 'SYSTIME': case 'SYSTIME':
topic = `/user/queue/simulation/${group}/sysTime`; // topic = `/user/queue/simulation/${group}/sysTime`;
topic = `/queue/simulation/${group}/sysTime`;
break; break;
case 'ATS': case 'ATS':
topic = `/user/queue/simulation/${group}/ats`; // topic = `/user/queue/simulation/${group}/ats`;
topic = `/queue/simulation/${group}/ats`;
break; break;
case 'STATE': case 'STATE':
topic = `/user/queue/simulation/${group}/state`; // topic = `/user/queue/simulation/${group}/state`;
topic = `/queue/simulation/${group}/state`;
break; break;
} }
return topic; return topic;