更改 新版仿真订阅路径

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 = '';
switch (type) {
case 'SYSTIME':
topic = `/user/queue/simulation/${group}/sysTime`;
// topic = `/user/queue/simulation/${group}/sysTime`;
topic = `/queue/simulation/${group}/sysTime`;
break;
case 'ATS':
topic = `/user/queue/simulation/${group}/ats`;
// topic = `/user/queue/simulation/${group}/ats`;
topic = `/queue/simulation/${group}/ats`;
break;
case 'STATE':
topic = `/user/queue/simulation/${group}/state`;
// topic = `/user/queue/simulation/${group}/state`;
topic = `/queue/simulation/${group}/state`;
break;
}
return topic;