/**
 * 设备功能菜单（对齐设备端 tsb_home_page.lua 分类）
 */
export const DEVICE_TAB_NAMES = [
  '常用功能',
  '目标设备监测',
  '目标设备管理',
  '本机设备管理'
]

export const DEVICE_DEMOS = [
  [
    { name: '报税口', route: 'tax', icon: 'money', color: '#007AFF', enabled: true },
    { name: '液位仪', route: 'opw', icon: 'slider', color: '#4CAF50', enabled: true },
    { name: '提枪信号', route: 'raise', icon: 'radio', color: '#F44336', enabled: false },
    { name: '编码器', route: 'coder', icon: 'code', color: '#FF9800', enabled: false },
    { name: '简易示波器', route: 'oscilloscope', icon: 'chart', color: '#FFAB91', enabled: false },
    { name: '帮助', route: 'help', icon: 'question', color: '#CE93D8', enabled: false }
  ],
  [
    { name: '日志监测', route: 'devlog', icon: 'log', color: '#82B1FF', enabled: false },
    { name: '485监测', route: '485log', icon: 'monitor', color: '#A5D6A7', enabled: false },
    { name: '232监测', route: '232log', icon: 'monitor', color: '#FFCCBC', enabled: false },
    { name: '射频局域网监测', route: 'lora', icon: 'link', color: '#FFE082', enabled: false }
  ],
  [
    { name: '固件包下载', route: 'firm', icon: 'download', color: '#2196F3', enabled: false },
    { name: '升级', route: 'upgrade', icon: 'upload', color: '#66BB6A', enabled: false },
    { name: '刷机', route: 'reflash', icon: 'tool', color: '#F4511E', enabled: false },
    { name: 'MQTT配置', route: 'mqtt', icon: 'message', color: '#FFB74D', enabled: false },
    { name: '信道切换', route: 'channel', icon: 'switch', color: '#7E57C2', enabled: false }
  ],
  [
    { name: '本机信息', route: 'devinfo', icon: 'server', color: '#B3E5FC', enabled: false },
    { name: '本机升级', route: 'update', icon: 'upload', color: '#A5D6A7', enabled: false },
    { name: '本机日志', route: 'log', icon: 'documentation', color: '#FFCCBC', enabled: false },
    { name: '亮度管理', route: 'light', icon: 'eye-open', color: '#F2E2C5', enabled: false },
    { name: '网络设置', route: 'wlan', icon: 'international', color: '#CE93D8', enabled: false }
  ]
]
