/**
 * 常量统一导出
 * 提供单一入口访问所有常量
 */

export * from './coordinates'
export * from './mockData'
export * from './cameraPresets'

// ========== 从原 constants.js 迁移的常量 ==========

// 视频监控视角类型
export const VIDEO_TYPES = {
  PERSONNEL: 'personnel',
  DRONE: 'drone',
  VEHICLE_EXTERNAL: 'vehicle_external',
  VEHICLE_MEETING: 'vehicle_meeting',
}

// 视频监控列表
export const VIDEO_MONITORS = [
  {
    id: 1,
    type: VIDEO_TYPES.PERSONNEL,
    title: '单兵(张维)设备视角',
    videoSrc:
      'http://222.212.85.86:9000/300bdf2b-a150-406e-be63-d28bd29b409f/demo/ylzg/单兵视角.mp4',
    // dateRange: '2025/9/1-2025/12/1',
    hasAudio: true,
    hasMegaphone: true,
    hasZoom: true,
    hasDirectionControl: false,
  },
  {
    id: 2,
    type: VIDEO_TYPES.DRONE,
    title: '无人机(001)视角',
    videoSrc:
      'http://222.212.85.86:9000/300bdf2b-a150-406e-be63-d28bd29b409f/demo/ylzg/无人机视角.mp4',
    // dateRange: '2025/9/1-2025/12/1',
    hasAudio: false,
    hasMegaphone: true,
    hasZoom: true,
    // hasDirectionControl: true, //暂时隐藏控制器 有需要再打开
    hasDirectionControl: false,
  },
  {
    id: 3,
    type: VIDEO_TYPES.VEHICLE_EXTERNAL,
    title: '设备操作视角',
    videoSrc:
      'http://222.212.85.86:9000/300bdf2b-a150-406e-be63-d28bd29b409f/demo/ylzg/设备视角.mp4',
    // dateRange: '2025/9/1-2025/12/1',
    hasAudio: true,
    hasMegaphone: true,
    hasZoom: true,
    hasDirectionControl: false,
  },
  {
    id: 4,
    type: VIDEO_TYPES.VEHICLE_MEETING,
    title: '指挥会议室视角',
    videoSrc:
      'http://222.212.85.86:9000/300bdf2b-a150-406e-be63-d28bd29b409f/demo/ylzg/指挥会议室视角.mp4',
    // dateRange: '2025/9/1-2025/12/1',
    hasAudio: true,
    hasMegaphone: true,
    hasZoom: true,
    hasDirectionControl: false,
  },
]

// 方向枚举
export const DIRECTIONS = {
  LEFT: 'left',
  RIGHT: 'right',
  UP: 'up',
  DOWN: 'down',
}

// 现场设备标签页
export const DISPATCH_TABS = [
  { key: 'personnel', label: '现场单兵', count: 3 },
  { key: 'equipment', label: '现场设备', count: 3 },
  { key: 'drone', label: '现场无人机', count: 1 },
]

// 响应等级
export const RESPONSE_LEVELS = [
  { value: 1, label: '一级', color: '#FF0624' },
  { value: 2, label: '二级', color: '#FF800B' },
  { value: 3, label: '三级', color: '#FFC107' },
  { value: 4, label: '四级', color: '#11BB77' },
]

// 地图观看设备功能
export const DEVICE_WATCH = {
  key: 'watchDevice',
  label: '正在观看卫星设备',
  icon: '正在观看卫星设备',
}

// 地图测量工具
export const MAP_TOOLS = [
  { key: 'modelCompare', label: '模型对比', icon: '模型对比' },
  { key: 'measurePosition', label: '测量位置', icon: '测量位置' },
  { key: 'measureDistance', label: '测量距离', icon: '测量距离' },
  { key: 'measureVolume', label: '测量方量', icon: '测量方量' },
  { key: 'clearPoints', label: '清除点', icon: '清除点' },
]
