From c1792670cbf5ae4edda68d53996b361d474ed124 Mon Sep 17 00:00:00 2001 From: mmc <1556375442@qq.com> Date: Wed, 9 Sep 2026 14:51:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E5=AE=9E=E6=97=B6=E7=9B=91?= =?UTF-8?q?=E6=8E=A7=E7=95=8C=E9=9D=A2=20=EF=BC=8C=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=9C=BA=E5=99=A8=20=E5=BC=B9=E5=87=BA=E6=8A=BD=E5=B1=89?= =?UTF-8?q?=E4=B8=8B=E5=8F=91=E4=BB=BB=E5=8A=A1=EF=BC=8C=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=A0=B9=E6=8D=AE=E6=97=A0=E4=BA=BA=E6=9C=BA?= =?UTF-8?q?=E5=92=8C=E6=9C=BA=E5=99=A8=E4=BA=BA=E5=88=86=E5=88=AB=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20=E6=8A=BD=E5=B1=89=E5=86=85=E5=AE=B9=EF=BC=8C=20?= =?UTF-8?q?=E5=8A=A0=E4=BA=86=20mqtt=E6=96=AD=E8=81=94=E6=9C=BA=E5=99=A8ws?= =?UTF-8?q?=EF=BC=8C=E8=BF=98=E6=9C=AA=E6=B5=8B=E8=AF=95=EF=BC=8C=E5=9F=BA?= =?UTF-8?q?=E6=9C=AC=E6=9E=B6=E6=9E=84=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Map.jsx | 15 +- src/components/devices/DeviceStatusPage.tsx | 1 - src/components/devices/deviceController.js | 10 + src/locales/en/index.ts | 44 + src/locales/zh/index.ts | 46 +- src/pages/RealTimeMonitor.tsx | 1484 ++++++++++++++++--- 6 files changed, 1409 insertions(+), 191 deletions(-) diff --git a/src/components/Map.jsx b/src/components/Map.jsx index c728e5c..2de7482 100644 --- a/src/components/Map.jsx +++ b/src/components/Map.jsx @@ -609,9 +609,9 @@ const CesiumMap = React.forwardRef(({ ifClear, ifClearPlanLine, ifClearNavLine, `; } else { tooltip.innerHTML = ` -
{t('devices.targetDevice')}: {selectedDevice.deviceAlias || selectedDevice.name || selectedDevice.serialNumber}
+{t('devices.routeName')}: {route.workName || route.name}
+ {route.points?.length &&{t('devices.routePointCount')}: {route.points.length}
} +