// 人员定位首页相关类型定义

export interface Personnel {
  id: number
  name: string
  department: string
  avatar: string
  status: 'online' | 'offline' | 'warning'
  currentLocation: string
  lastUpdate: Date
}

export interface RealTimeActivity {
  id: number
  personName: string
  action: string
  location: string
  time: Date
  status: 'normal' | 'warning' | 'danger'
  avatar: string
}

export interface Alert {
  id: number
  title: string
  description: string
  type: 'warning' | 'danger' | 'info'
  time: Date
}

export interface AreaStat {
  id: number
  name: string
  personCount: number
  maxCapacity: number
}

export interface Statistics {
  totalPersonnel: number
  onlinePersonnel: number
  alertCount: number
  areaCount: number
}

export interface MapLayers {
  showPersonnel: boolean
  showAreas: boolean
  showAlerts: boolean
} 