feat(monitor): retain authorized vehicles without locations

This commit is contained in:
lingniu
2026-07-16 16:04:23 +08:00
parent 4688abadef
commit c224907fad
12 changed files with 352 additions and 100 deletions

View File

@@ -60,6 +60,8 @@ export interface CustomerUserInput {
export interface MonitorSummary {
totalVehicles: number;
locationVehicles?: number;
noLocationVehicles?: number;
onlineVehicles: number;
offlineVehicles: number;
drivingVehicles: number;
@@ -593,11 +595,17 @@ export interface VehicleRealtimeRow {
locationSource?: string;
locationConflict?: boolean;
conflictDistanceM?: number;
locationAvailable?: boolean;
longitude: number;
latitude: number;
speedAvailable?: boolean;
speedKmh: number;
socAvailable?: boolean;
socPercent: number;
mileageAvailable?: boolean;
totalMileageKm: number;
todayMileageAvailable?: boolean;
todayMileageKm?: number;
lastSeen: string;
reportIntervalMs?: number;
}