import type { MachineStateHistoryItem } from '../model/types'

export const mockMachineStateHistory: MachineStateHistoryItem[] = [
  {
    id: 1,
    machineId: 1,
    state: 'IDLE',
    startedAt: '2026-07-09T02:10:00.000Z',
    endedAt: '2026-07-09T03:05:00.000Z',
    durationSeconds: 3300,
  },
  {
    id: 2,
    machineId: 1,
    state: 'ENGINE_ON',
    startedAt: '2026-07-09T03:05:00.000Z',
    endedAt: '2026-07-09T03:18:00.000Z',
    durationSeconds: 780,
  },
  {
    id: 3,
    machineId: 1,
    state: 'MOVING',
    startedAt: '2026-07-09T03:18:00.000Z',
    endedAt: null,
    durationSeconds: null,
  },
  {
    id: 4,
    machineId: 2,
    state: 'IDLE',
    startedAt: '2026-07-09T01:40:00.000Z',
    endedAt: '2026-07-09T04:20:00.000Z',
    durationSeconds: 9600,
  },
  {
    id: 5,
    machineId: 2,
    state: 'ENGINE_ON',
    startedAt: '2026-07-09T04:20:00.000Z',
    endedAt: null,
    durationSeconds: null,
  },
  {
    id: 6,
    machineId: 5,
    state: 'ENGINE_ON',
    startedAt: '2026-07-09T04:55:00.000Z',
    endedAt: '2026-07-09T05:08:00.000Z',
    durationSeconds: 780,
  },
  {
    id: 7,
    machineId: 5,
    state: 'MOVING',
    startedAt: '2026-07-09T05:08:00.000Z',
    endedAt: null,
    durationSeconds: null,
  },
  {
    id: 8,
    machineId: 9,
    state: 'MOVING',
    startedAt: '2026-07-07T10:10:00.000Z',
    endedAt: '2026-07-07T12:25:00.000Z',
    durationSeconds: 8100,
  },
  {
    id: 9,
    machineId: 9,
    state: 'NO_DATA',
    startedAt: '2026-07-07T12:25:00.000Z',
    endedAt: null,
    durationSeconds: null,
  },
]
