This commit is contained in:
lb
2023-09-12 17:28:58 +08:00
parent b5602d4981
commit cacfdf53c2
10 changed files with 59 additions and 31 deletions

View File

@@ -85,6 +85,8 @@ function sendMsg(ws: WebSocket, type: MsgType) {
break;
case 'run-state':
data = template.runState;
data.fireDirection =
Math.floor(Math.random() * 10) % 2 === 0 ? '南火' : '北火';
break;
case 'realtime':
/** 天然气 实时流量 */