import { createRouter, createWebHistory } from "vue-router";
import warning from "../views/warning.vue";
import runsystem from "../views/runsystem.vue";
import firesystem from "../views/firesystem.vue";
import firesystem2 from "../views/firesystem2.vue";
import coalFeeding from "../views/coalFeeding.vue";
import coalFeeding2 from "../views/coalFeeding2.vue";
import coalFeedingA from "../views/coalFeedingA.vue";
import plcList from "../views/plcList.vue";
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: "/",
      name: "home",
      component: coalFeeding,
    },
    {
      path: "/warning",
      name: "warning",
      component: warning,
    },
    {
      path: "/plcList",
      name: "plcList",
      component: plcList,
    },
    {
      path: "/runsystem",
      name: "runsystem",
      component: runsystem,
    },
    {
      path: "/firesystem",
      name: "firesystem",
      component: firesystem,
    },
    {
      path: "/firesystem2",
      name: "firesystem2",
      component: firesystem2,
    },
    {
      path: "/coalFeeding",
      name: "coalFeeding",
      component: coalFeeding,
    },
    {
      path: "/coalFeedingA",
      name: "coalFeedingA",
      component: coalFeedingA,
    },
    {
      path: "/coalFeeding2",
      name: "coalFeeding2",
      component: coalFeeding2,
    },
    {
      path: "/startPage",
      name: "startPage",
      component: () => import("../views/startPage.vue"),
    },
  ],
});

export default router;
