Mission Core
Mission Core
- Версия
- {core?.version??'—'}
- Время ответа
- {snapshot?.latency==null?'—':`${Math.max(1,Math.round(snapshot.latency))} мс`}
- Обработчики устройств готовы
- {core?`${core.plugin_runtimes.ready} / ${core.plugin_runtimes.total}`:'—'}
diff --git a/apps/control-station/src/core/system/contourHealth.ts b/apps/control-station/src/core/system/contourHealth.ts
index 3259db5..b31f3b9 100644
--- a/apps/control-station/src/core/system/contourHealth.ts
+++ b/apps/control-station/src/core/system/contourHealth.ts
@@ -59,7 +59,7 @@ export function boardAvailable(vehicle:Vehicle):boolean{
return vehicle.enrollment==='paired'&&vehicle.connectivity==='online';
}
export function contourSummary(snapshot:ContourSnapshot|null){
- if(!snapshot)return {tone:'warning' as const,label:'Проверяем состояние',online:null,total:null};
+ if(!snapshot)return {tone:'warning' as const,label:'Проверка состояния',online:null,total:null};
const total=snapshot.workers!==null&&snapshot.vehicles!==null?1+snapshot.workers.length+snapshot.vehicles.length:null;
const online=Number(snapshot.core!==null)+(snapshot.workers??[]).filter(item=>workerAvailable(item.telemetry)).length+(snapshot.vehicles??[]).filter(boardAvailable).length;
if(snapshot.errors.length)return {tone:'warning' as const,label:'Проверка неполная',online,total};
diff --git a/apps/control-station/src/workspaces/ContourHealthWorkspace.tsx b/apps/control-station/src/workspaces/ContourHealthWorkspace.tsx
index 4b58e51..e1b5e8a 100644
--- a/apps/control-station/src/workspaces/ContourHealthWorkspace.tsx
+++ b/apps/control-station/src/workspaces/ContourHealthWorkspace.tsx
@@ -45,12 +45,12 @@ export function ContourHealthWorkspace({state,headerToolsHost}:{state:MissionRun
const summary=contourSummary(snapshot);
const core=snapshot?.core;
const {controlledDevice,deviceControlConnectivity}=contourRuntimeAuthorityPresentation(state);
- const refresh=
Mission Core, зарегистрированные вычислители и бортовые компьютеры аппаратов.