import type { Track } from '@/types/map'

export const TRACKS: Track[] = [
  { id: 'T001', name: 'A 区入→出', kind: 'line', fromSiteId: 'S001', toSiteId: 'S002', lengthM: 2.0, bidirectional: true },
  { id: 'T002', name: 'A→B 主干', kind: 'line', fromSiteId: 'S002', toSiteId: 'S003', lengthM: 2.0, bidirectional: true },
  { id: 'T003', name: '入库→充电 1', kind: 'arc', fromSiteId: 'S001', toSiteId: 'S004', lengthM: 3.2, ctrlPts: [{ x: 1500, y: 3500 }] },
  { id: 'T004', name: '出库→充电 2', kind: 'arc', fromSiteId: 'S002', toSiteId: 'S005', lengthM: 3.2, ctrlPts: [{ x: 3500, y: 3500 }] },
  { id: 'T005', name: '路口连接 N', kind: 'line', fromSiteId: 'S002', toSiteId: 'S006', lengthM: 1.8 },
  { id: 'T006', name: '路口连接 S', kind: 'line', fromSiteId: 'S006', toSiteId: 'S007', lengthM: 2.0 },
  { id: 'T007', name: '路口→工位 W1', kind: 'bezier', fromSiteId: 'S007', toSiteId: 'S008', lengthM: 4.0, ctrlPts: [{ x: 5500, y: 2500 }, { x: 6500, y: 2200 }] },
  { id: 'T008', name: '工位 W1↔W2', kind: 'line', fromSiteId: 'S008', toSiteId: 'S009', lengthM: 2.0, bidirectional: true },
  { id: 'T009', name: 'W2→维护', kind: 'nurbs', fromSiteId: 'S009', toSiteId: 'S010', lengthM: 3.5, ctrlPts: [{ x: 8000, y: 3000 }] }
]
