This commit is contained in:
mmc
2026-04-22 09:43:55 +08:00
parent 262ef5e24f
commit 4cbc6e03f7
12 changed files with 459 additions and 42 deletions

View File

@@ -1,12 +1,5 @@
import { Device, Alert, VideoRecord, User } from './types';
export const MOCK_USER: User = {
id: 'user-1',
name: 'mabaoyu',
role: 'admin',
avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Felix',
};
export const DEVICES: Device[] = [
{ id: 'R001', name: '巡检机器人 A1', type: '巡检型', status: 'online', battery: 85, cpu: 12, temp: 32.08, lastUpdate: '2024-03-20 10:00:00' },
{ id: 'R002', name: '安防辅助 B2', type: '安防型', status: 'alert', battery: 45, cpu: 45, temp: 42.5, lastUpdate: '2024-03-20 09:55:00' },