| | |
| | | export type MonitorGroup = 'CRUISING' | 'HAS_ORDER' | 'OCCUPIED' | 'ABNORMAL' |
| | | |
| | | export type VehicleMonitorStateCode = |
| | | | 'CRUISING' |
| | | | 'PICK_UP' |
| | | | 'DROP_OFF' |
| | | | 'CHARGING' |
| | | | 'PREPARING' |
| | | | 'RETURNING' |
| | | | 'ABNORMAL' |
| | | | 'ODD_OUT' |
| | | export type VehicleMonitorStateCode |
| | | = | 'CRUISING' |
| | | | 'PICK_UP' |
| | | | 'DROP_OFF' |
| | | | 'CHARGING' |
| | | | 'PREPARING' |
| | | | 'RETURNING' |
| | | | 'ABNORMAL' |
| | | | 'ODD_OUT' |
| | | |
| | | export interface VehicleMonitorVo { |
| | | vehicleId: number |
| | |
| | | chargingCount: number |
| | | preparingCount: number |
| | | returningCount: number |
| | | totalAbnormalCount: number |
| | | oddOutCount: number |
| | | abnormalCount: number |
| | | todayCompletedOrders: number |
| | | avgOrdersPerVehicle: number |
| | |
| | | point: boolean |
| | | } |
| | | |
| | | export type SocketStatus = { |
| | | export interface SocketStatus { |
| | | connected: boolean |
| | | lastPushAt: number |
| | | } |