import { MachineryEntry } from '@/pages/machinery/MachineryEntry'
import { MachineryArchive } from '@/pages/machinery/MachineryArchive'
import { DriverArchive } from '@/pages/machinery/DriverArchive'
import { RealTimeMonitoring } from '@/pages/machinery/RealTimeMonitoring'
import { FaultDiagnosis } from '@/pages/machinery/FaultDiagnosis'
import { PrecisionFarming } from '@/pages/machinery/PrecisionFarming'
import { SchedulingManagement } from '@/pages/machinery/SchedulingManagement'

export const machineryRoutes = [
  {
    path: 'machinery',
    children: [
      {
        index: true,
        element: <MachineryEntry />
      },
      {
        path: 'archive',
        element: <MachineryArchive />
      },
      {
        path: 'driver-archive',
        element: <DriverArchive />
      },
      {
        path: 'real-time-monitoring',
        element: <RealTimeMonitoring />
      },
      {
        path: 'fault-diagnosis',
        element: <FaultDiagnosis />
      },
      {
        path: 'precision-farming',
        element: <PrecisionFarming />
      },
      {
        path: 'scheduling-management',
        element: <SchedulingManagement />
      }
    ]
  }
]