myems-web/src/layouts/MyEMSRoutes.js

Summary

Maintainability
A
2 hrs
Test Coverage
import React from 'react';
import { Redirect, Route, Switch } from 'react-router-dom';
// import Activity from '../components/page/Activity';
// import Associations from '../components/page/Associations';
// import Billing from '../components/page/Billing';
// import CustomerDetails from '../components/page/CustomerDetails';
// import EventDetail from '../components/page/EventDetail';
// import EventCreate from '../components/page/EventCreate';
// import Events from '../components/page/Events';
// import Faq from '../components/page/Faq';
// import Invoice from '../components/page/Invoice';
// import InvitePeople from '../components/page/InvitePeople';
// import Notifications from '../components/page/Notifications';
// import People from '../components/page/People';
// import Pricing from '../components/pricing/Pricing';
// import PricingAlt from '../components/pricing/PricingAlt';
// import Profile from '../components/profile/Profile';
// import Settings from '../components/page/Settings';
// import Starter from '../components/extra/Starter';
// import GettingStarted from '../components/documentation/GettingStarted';
// import Alerts from '../components/bootstrap-components/Alerts';
// import FalconAccordions from '../components/bootstrap-components/FalconAccordions';
// import Spinners from '../components/bootstrap-components/Spinners';
// import Carousel from '../components/bootstrap-components/Carousel';
// import Avatar from '../components/bootstrap-components/Avatar';
// import Badges from '../components/bootstrap-components/Badges';
// import Backgrounds from '../components/bootstrap-components/Backgrounds';
// import Breadcrumbs from '../components/bootstrap-components/Breadcrumb';
// import Buttons from '../components/bootstrap-components/Buttons';
// import Cards from '../components/bootstrap-components/Cards';
// import Collapses from '../components/bootstrap-components/Collapses';
// import Dropdowns from '../components/bootstrap-components/Dropdowns';
// import Forms from '../components/bootstrap-components/Forms';
// import ListGroups from '../components/bootstrap-components/ListGroups';
// import Modals from '../components/bootstrap-components/Modals';
// import Navs from '../components/bootstrap-components/Navs';
// import Navbars from '../components/bootstrap-components/Navbars';
// import PageHeaders from '../components/bootstrap-components/PageHeaders';
// import Paginations from '../components/bootstrap-components/Paginations';
// import Popovers from '../components/bootstrap-components/Popovers';
// import ProgressBar from '../components/bootstrap-components/ProgressBar';
// import Tables from '../components/bootstrap-components/Tables';
// import Tooltips from '../components/bootstrap-components/Tooltips';
// import NavBarTop from '../components/bootstrap-components/NavBarTop';
// import VerticalNavbar from '../components/bootstrap-components/VerticalNavbar';
// import Sidepanel from '../components/bootstrap-components/Sidepanel';
// import CookieNotice from '../components/bootstrap-components/CookieNotice';
// import Borders from '../components/utilities/Borders';
// import Clearfix from '../components/utilities/Clearfix';
// import CloseIcon from '../components/utilities/CloseIcon';
// import Colors from '../components/utilities/Colors';
// import Display from '../components/utilities/Display';
// import Embed from '../components/utilities/Embed';
// import Figures from '../components/utilities/Figures';
// import Flex from '../components/utilities/Flex';
// import Grid from '../components/utilities/Grid';
// import Sizing from '../components/utilities/Sizing';
// import Spacing from '../components/utilities/Spacing';
// import StretchedLink from '../components/utilities/StretchedLink';
// import Typography from '../components/utilities/Typography';
// import VerticalAlign from '../components/utilities/VerticalAlign';
// import Visibility from '../components/utilities/Visibility';
// import Typed from '../components/plugins/Typed';
// import ImageLightbox from '../components/plugins/ImageLightbox';
// import GoogleMapExample from '../components/plugins/GoogleMap';
// import Chart from '../components/plugins/Chart';
// import CountUpExample from '../components/plugins/Countup';
// import DatetimeExample from '../components/plugins/Datetime';
// import FontAwesome from '../components/plugins/FontAwesome';
// import Echarts from '../components/plugins/Echarts';
// import Toastify from '../components/plugins/Toastify';
// import Select from '../components/plugins/Select';
// import SlickCarousel from '../components/plugins/SlickCarousel';
// import ReactBootstrapTable2 from '../components/plugins/ReactBootstrapTable2';
// import ReactBeautifulDnD from '../components/plugins/ReactBeautifulDnD';
// import EmailDetail from '../components/email/EmailDetail';
// import Inbox from '../components/email/Inbox';
// import Compose from '../components/email/Compose';
// import QuillEditorExample from '../components/plugins/Quill';
// import BulkSelect from '../components/plugins/BulkSelect';
// import ChangeLog from '../components/changelog/ChangeLog';
// import ProgressBarJs from '../components/plugins/ProgressBarJs';
// import Products from '../components/e-commerce/Products';
// import ProductDetails from '../components/e-commerce/ProductDetails';
// import ShoppingCart from '../components/e-commerce/ShoppingCart';
// import FavouriteItems from '../components/e-commerce/FavouriteItems';
// import Orders from '../components/e-commerce/Orders';
// import OrderDetails from '../components/e-commerce/OrderDetails';
// import Customers from '../components/e-commerce/Customers';
// import Checkout from '../components/e-commerce/Checkout';
// import Feed from '../components/feed/Feed';
// import Plyr from '../components/plugins/Plyr';
// import Scrollbar from '../components/plugins/Scrollbar';
// import Leaflet from '../components/plugins/Leaflet';
// import EchartMap from '../components/plugins/EchartMap';
// import InboxProvider from '../components/email/inbox/InboxProvider';
// import ReactHookFrom from '../components/plugins/ReactHookFrom';
// import Lottie from '../components/plugins/Lottie';
// import Dropzone from '../components/plugins/Dropzone';
// import CodeHighlightDoc from '../components/plugins/CodeHighlightDoc';
// import EmojiMart from '../components/plugins/EmojiMart';
// import Chat from '../components/chat/Chat';
// import Widgets from '../components/widgets/Widgets';
// import Kanban from '../components/kanban/Kanban';
// Space
import SpaceEnergyCategory from '../components/MyEMS/Space/SpaceEnergyCategory';
import SpaceEnergyItem from '../components/MyEMS/Space/SpaceEnergyItem';
import SpaceCarbon from '../components/MyEMS/Space/SpaceCarbon';
import SpaceCost from '../components/MyEMS/Space/SpaceCost';
import SpaceOutput from '../components/MyEMS/Space/SpaceOutput';
import SpaceIncome from '../components/MyEMS/Space/SpaceIncome';
import SpaceEfficiency from '../components/MyEMS/Space/SpaceEfficiency';
import SpaceLoad from '../components/MyEMS/Space/SpaceLoad';
import SpaceStatistics from '../components/MyEMS/Space/SpaceStatistics';
import SpaceSaving from '../components/MyEMS/Space/SpaceSaving';
import SpacePlan from '../components/MyEMS/Space/SpacePlan';
import SpaceEnvironmentMonitor from '../components/MyEMS/Space/SpaceEnvironmentMonitor';
import EnterProduction from '../components/MyEMS/Space/EnterProduction';
import SpaceProduction from '../components/MyEMS/Space/SpaceProduction';

// Equipment
import EquipmentBatch from '../components/MyEMS/Equipment/EquipmentBatch';
import EquipmentCarbon from '../components/MyEMS/Equipment/EquipmentCarbon';
import EquipmentCost from '../components/MyEMS/Equipment/EquipmentCost';
import EquipmentEfficiency from '../components/MyEMS/Equipment/EquipmentEfficiency';
import EquipmentEnergyCategory from '../components/MyEMS/Equipment/EquipmentEnergyCategory';
import EquipmentEnergyItem from '../components/MyEMS/Equipment/EquipmentEnergyItem';
import EquipmentIncome from '../components/MyEMS/Equipment/EquipmentIncome';
import EquipmentLoad from '../components/MyEMS/Equipment/EquipmentLoad';
import EquipmentOutput from '../components/MyEMS/Equipment/EquipmentOutput';
import EquipmentSaving from '../components/MyEMS/Equipment/EquipmentSaving';
import EquipmentPlan from '../components/MyEMS/Equipment/EquipmentPlan';
import EquipmentStatistics from '../components/MyEMS/Equipment/EquipmentStatistics';
import EquipmentTracking from '../components/MyEMS/Equipment/EquipmentTracking';
// Meter
import MeterBatch from '../components/MyEMS/Meter/MeterBatch';
import MeterCarbon from '../components/MyEMS/Meter/MeterCarbon';
import MeterComparison from '../components/MyEMS/Meter/MeterComparison';
import MeterCost from '../components/MyEMS/Meter/MeterCost';
import MeterEnergy from '../components/MyEMS/Meter/MeterEnergy';
import MeterRealtime from '../components/MyEMS/Meter/MeterRealtime';
import MeterSaving from '../components/MyEMS/Meter/MeterSaving';
import MeterPlan from '../components/MyEMS/Meter/MeterPlan';
import MeterSubmetersBalance from '../components/MyEMS/Meter/MeterSubmetersBalance';
import MeterTracking from '../components/MyEMS/Meter/MeterTracking';
import MeterTrend from '../components/MyEMS/Meter/MeterTrend';
import OfflineMeterBatch from '../components/MyEMS/Meter/OfflineMeterBatch';
import OfflineMeterCarbon from '../components/MyEMS/Meter/OfflineMeterCarbon';
import OfflineMeterCost from '../components/MyEMS/Meter/OfflineMeterCost';
import OfflineMeterEnergy from '../components/MyEMS/Meter/OfflineMeterEnergy';
import OfflineMeterSaving from '../components/MyEMS/Meter/OfflineMeterSaving';
import OfflineMeterPlan from '../components/MyEMS/Meter/OfflineMeterPlan';
import OfflineMeterInput from '../components/MyEMS/Meter/OfflineMeterInput';
import VirtualMeterBatch from '../components/MyEMS/Meter/VirtualMeterBatch';
import VirtualMeterCarbon from '../components/MyEMS/Meter/VirtualMeterCarbon';
import VirtualMeterCost from '../components/MyEMS/Meter/VirtualMeterCost';
import VirtualMeterEnergy from '../components/MyEMS/Meter/VirtualMeterEnergy';
import VirtualMeterSaving from '../components/MyEMS/Meter/VirtualMeterSaving';
import VirtualMeterPlan from '../components/MyEMS/Meter/VirtualMeterPlan';
// Tenant
import TenantEnergyCategory from '../components/MyEMS/Tenant/TenantEnergyCategory';
import TenantEnergyItem from '../components/MyEMS/Tenant/TenantEnergyItem';
import TenantCarbon from '../components/MyEMS/Tenant/TenantCarbon';
import TenantCost from '../components/MyEMS/Tenant/TenantCost';
import TenantLoad from '../components/MyEMS/Tenant/TenantLoad';
import TenantStatistics from '../components/MyEMS/Tenant/TenantStatistics';
import TenantSaving from '../components/MyEMS/Tenant/TenantSaving';
import TenantPlan from '../components/MyEMS/Tenant/TenantPlan';
import TenantBill from '../components/MyEMS/Tenant/TenantBill';
import TenantBatch from '../components/MyEMS/Tenant/TenantBatch';
// Store
import StoreEnergyCategory from '../components/MyEMS/Store/StoreEnergyCategory';
import StoreEnergyItem from '../components/MyEMS/Store/StoreEnergyItem';
import StoreCarbon from '../components/MyEMS/Store/StoreCarbon';
import StoreCost from '../components/MyEMS/Store/StoreCost';
import StoreLoad from '../components/MyEMS/Store/StoreLoad';
import StoreStatistics from '../components/MyEMS/Store/StoreStatistics';
import StoreSaving from '../components/MyEMS/Store/StoreSaving';
import StorePlan from '../components/MyEMS/Store/StorePlan';
import StoreBatch from '../components/MyEMS/Store/StoreBatch';
// Shopfloor
import ShopfloorEnergyCategory from '../components/MyEMS/Shopfloor/ShopfloorEnergyCategory';
import ShopfloorEnergyItem from '../components/MyEMS/Shopfloor/ShopfloorEnergyItem';
import ShopfloorCarbon from '../components/MyEMS/Shopfloor/ShopfloorCarbon';
import ShopfloorCost from '../components/MyEMS/Shopfloor/ShopfloorCost';
import ShopfloorLoad from '../components/MyEMS/Shopfloor/ShopfloorLoad';
import ShopfloorStatistics from '../components/MyEMS/Shopfloor/ShopfloorStatistics';
import ShopfloorSaving from '../components/MyEMS/Shopfloor/ShopfloorSaving';
import ShopfloorPlan from '../components/MyEMS/Shopfloor/ShopfloorPlan';
import ShopfloorBatch from '../components/MyEMS/Shopfloor/ShopfloorBatch';
// CombinedEquipment
import CombinedEquipmentBatch from '../components/MyEMS/CombinedEquipment/CombinedEquipmentBatch';
import CombinedEquipmentCarbon from '../components/MyEMS/CombinedEquipment/CombinedEquipmentCarbon';
import CombinedEquipmentCost from '../components/MyEMS/CombinedEquipment/CombinedEquipmentCost';
import CombinedEquipmentEfficiency from '../components/MyEMS/CombinedEquipment/CombinedEquipmentEfficiency';
import CombinedEquipmentEnergyCategory from '../components/MyEMS/CombinedEquipment/CombinedEquipmentEnergyCategory';
import CombinedEquipmentEnergyItem from '../components/MyEMS/CombinedEquipment/CombinedEquipmentEnergyItem';
import CombinedEquipmentLoad from '../components/MyEMS/CombinedEquipment/CombinedEquipmentLoad';
import CombinedEquipmentIncome from '../components/MyEMS/CombinedEquipment/CombinedEquipmentIncome';
import CombinedEquipmentOutput from '../components/MyEMS/CombinedEquipment/CombinedEquipmentOutput';
import CombinedEquipmentSaving from '../components/MyEMS/CombinedEquipment/CombinedEquipmentSaving';
import CombinedEquipmentPlan from '../components/MyEMS/CombinedEquipment/CombinedEquipmentPlan';
import CombinedEquipmentStatistics from '../components/MyEMS/CombinedEquipment/CombinedEquipmentStatistics';
// Auxiliary System
import EnergyFlowDiagram from '../components/MyEMS/AuxiliarySystem/EnergyFlowDiagram';
import DistributionSystem from '../components/MyEMS/AuxiliarySystem/DistributionSystem';
// Knowledge Base
import KnowledgeBase from '../components/MyEMS/KnowledgeBase/KnowledgeBase';
// Notification
import Notification from '../components/MyEMS/Notification/Notification';
// FDD
import FDDFault from '../components/MyEMS/FDD/Fault';
// Monitoring
import SpaceEquipments from '../components/MyEMS/Monitoring/SpaceEquipments';
import CombinedEquipments from '../components/MyEMS/Monitoring/CombinedEquipments';
// Advanced Reporting
import AdvancedReporting from '../components/MyEMS/AdvancedReporting/AdvancedReporting';


// const InboxRoutes = ({ match: { url } }) => (
//   <InboxProvider>
//     <Switch>
//       <Route path={`${url}/email-detail`} exact component={EmailDetail} />
//       <Route path={`${url}/inbox`} exact component={Inbox} />
//       <Route path={`${url}/compose`} exact component={Compose} />

//       {/*Redirect*/}
//       <Redirect to="/errors/404" />
//     </Switch>
//   </InboxProvider>
// );

// const ProductRoutes = ({ match: { url } }) => (
//   <Switch>
//     <Route path={`${url}/products/:productLayout`} exact component={Products} />
//     <Route path={`${url}/checkout`} exact component={Checkout} />
//     <Route path={`${url}/product-details/:id`} exact component={ProductDetails} />
//     <Route path={`${url}/product-details/`} exact component={ProductDetails} />
//     <Route path={`${url}/shopping-cart`} exact component={ShoppingCart} />
//     <Route path={`${url}/orders`} exact component={Orders} />
//     <Route path={`${url}/order-details`} exact component={OrderDetails} />
//     <Route path={`${url}/customers`} exact component={Customers} />
//     <Route path={`${url}/favourite-items`} exact component={FavouriteItems} />

//     {/*Redirect*/}
//     <Redirect to="/errors/404" />
//   </Switch>
// );

const MyEMSRoutes = () => (
  <Switch>
    {/* <Route path="/feed" exact component={Feed} /> */}
    {/*Pages*/}
    {/* <Route path="/pages/activity" exact component={Activity} />
    <Route path="/pages/associations" exact component={Associations} />
    <Route path="/pages/billing" exact component={Billing} />
    <Route path="/pages/customer-details" exact component={CustomerDetails} />
    <Route path="/pages/event-detail" exact component={EventDetail} />
    <Route path="/pages/event-create" exact component={EventCreate} />
    <Route path="/pages/events" exact component={Events} />
    <Route path="/pages/faq" exact component={Faq} />
    <Route path="/pages/invoice" exact component={Invoice} />
    <Route path="/pages/invite-people" exact component={InvitePeople} />
    <Route path="/pages/notifications" exact component={Notifications} />
    <Route path="/pages/people" exact component={People} />
    <Route path="/pages/pricing" exact component={Pricing} />
    <Route path="/pages/pricing-alt" exact component={PricingAlt} />
    <Route path="/pages/profile" exact component={Profile} />
    <Route path="/pages/settings" exact component={Settings} />
    <Route path="/pages/starter" exact component={Starter} /> */}
    {/*chat*/}
    {/* <Route path="/chat" exact component={Chat} /> */}
    {/*kanban*/}
    {/* <Route path="/kanban" exact component={Kanban} /> */}
    {/*E commerce*/}
    {/* <Route path="/e-commerce" component={ProductRoutes} /> */}

    {/*Email*/}
    {/* <Route path="/email" component={InboxRoutes} /> */}

    {/*widgets*/}
    {/* <Route path="/widgets" component={Widgets} /> */}

    {/*Documentation*/}
    {/* <Route path="/documentation" exact component={GettingStarted} /> */}

    {/*Changelog*/}
    {/* <Route path="/changelog" exact component={ChangeLog} /> */}

    {/*Components*/}
    {/* <Route path="/components/alerts" exact component={Alerts} />
    <Route path="/components/accordions" exact component={FalconAccordions} />
    <Route path="/components/avatar" exact component={Avatar} />
    <Route path="/components/badges" exact component={Badges} />
    <Route path="/components/backgrounds" exact component={Backgrounds} />
    <Route path="/components/breadcrumb" exact component={Breadcrumbs} />
    <Route path="/components/buttons" exact component={Buttons} />
    <Route path="/components/cards" exact component={Cards} />
    <Route path="/components/cookie-notice" exact component={CookieNotice} />
    <Route path="/components/collapses" exact component={Collapses} />
    <Route path="/components/dropdowns" exact component={Dropdowns} />
    <Route path="/components/forms" exact component={Forms} />
    <Route path="/components/listgroups" exact component={ListGroups} />
    <Route path="/components/modals" exact component={Modals} />
    <Route path="/components/navs" exact component={Navs} />
    <Route path="/components/navbars" exact component={Navbars} />
    <Route path="/components/navbar-top" exact component={NavBarTop} />
    <Route path="/components/navbar-vertical" exact component={VerticalNavbar} />
    <Route path="/components/Sidepanel" exact component={Sidepanel} />
    <Route path="/components/pageheaders" exact component={PageHeaders} />
    <Route path="/components/paginations" exact component={Paginations} />
    <Route path="/components/popovers" exact component={Popovers} />
    <Route path="/components/progress" exact component={ProgressBar} />
    <Route path="/components/tables" exact component={Tables} />
    <Route path="/components/tooltips" exact component={Tooltips} />
    <Route path="/components/spinners" exact component={Spinners} />
    <Route path="/components/carousel" exact component={Carousel} /> */}

    {/*Utilities*/}
    {/* <Route path="/utilities/borders" exact component={Borders} />
    <Route path="/utilities/clearfix" exact component={Clearfix} />
    <Route path="/utilities/closeIcon" exact component={CloseIcon} />
    <Route path="/utilities/colors" exact component={Colors} />
    <Route path="/utilities/display" exact component={Display} />
    <Route path="/utilities/embed" exact component={Embed} />
    <Route path="/utilities/figures" exact component={Figures} />
    <Route path="/utilities/flex" exact component={Flex} />
    <Route path="/utilities/grid" exact component={Grid} />
    <Route path="/utilities/sizing" exact component={Sizing} />
    <Route path="/utilities/spacing" exact component={Spacing} />
    <Route path="/utilities/stretchedLink" exact component={StretchedLink} />
    <Route path="/utilities/typography" exact component={Typography} />
    <Route path="/utilities/verticalAlign" exact component={VerticalAlign} />
    <Route path="/utilities/visibility" exact component={Visibility} /> */}

    {/*Plugins*/}
    {/* <Route path="/plugins/bulk-select" exact component={BulkSelect} />
    <Route path="/plugins/typed" exact component={Typed} />
    <Route path="/plugins/image-lightbox" exact component={ImageLightbox} />
    <Route path="/plugins/lottie" exact component={Lottie} />
    <Route path="/plugins/google-map" exact component={GoogleMapExample} />
    <Route path="/plugins/wysiwyg" exact component={QuillEditorExample} />
    <Route path="/plugins/chart" exact component={Chart} />
    <Route path="/plugins/countup" exact component={CountUpExample} />
    <Route path="/plugins/datetime" exact component={DatetimeExample} />
    <Route path="/plugins/fontawesome" exact component={FontAwesome} />
    <Route path="/plugins/echarts" exact component={Echarts} />
    <Route path="/plugins/toastify" exact component={Toastify} />
    <Route path="/plugins/select" exact component={Select} />
    <Route path="/plugins/slick-carousel" exact component={SlickCarousel} />
    <Route path="/plugins/scroll-bar" exact component={Scrollbar} />
    <Route path="/plugins/progressbar" exact component={ProgressBarJs} />
    <Route path="/plugins/plyr" exact component={Plyr} />
    <Route path="/plugins/react-hook-form" exact component={ReactHookFrom} />
    <Route path="/plugins/leaflet-map" exact component={Leaflet} />
    <Route path="/plugins/echart-map" exact component={EchartMap} />
    <Route path="/plugins/dropzone" exact component={Dropzone} />
    <Route path="/plugins/code-highlight" exact component={CodeHighlightDoc} />
    <Route path="/plugins/emoji-mart" exact component={EmojiMart} />
    <Route path="/plugins/react-bootstrap-table2" exact component={ReactBootstrapTable2} />
    <Route path="/plugins/react-beautiful-dnd" exact component={ReactBeautifulDnD} /> */}

    {/*Space*/}
    <Route path="/space/energycategory" exact component={SpaceEnergyCategory} />
    <Route path="/space/energyitem" exact component={SpaceEnergyItem} />
    <Route path="/space/carbon" exact component={SpaceCarbon} />
    <Route path="/space/cost" exact component={SpaceCost} />
    <Route path="/space/output" exact component={SpaceOutput} />
    <Route path="/space/income" exact component={SpaceIncome} />
    <Route path="/space/efficiency" exact component={SpaceEfficiency} />
    <Route path="/space/load" exact component={SpaceLoad} />
    <Route path="/space/statistics" exact component={SpaceStatistics} />
    <Route path="/space/saving" exact component={SpaceSaving} />
    <Route path="/space/plan" exact component={SpacePlan} />
    <Route path="/space/environmentmonitor" exact component={SpaceEnvironmentMonitor} />
    <Route path="/space/enterproduction" exact component={EnterProduction} />
    <Route path="/space/production" exact component={SpaceProduction} />

    {/*Equipment*/}
    <Route path="/equipment/batch" exact component={EquipmentBatch} />
    <Route path="/equipment/carbon" exact component={EquipmentCarbon} />
    <Route path="/equipment/cost" exact component={EquipmentCost} />
    <Route path="/equipment/efficiency" exact component={EquipmentEfficiency} />
    <Route path="/equipment/energycategory" exact component={EquipmentEnergyCategory} />
    <Route path="/equipment/energyitem" exact component={EquipmentEnergyItem} />
    <Route path="/equipment/income" exact component={EquipmentIncome} />
    <Route path="/equipment/load" exact component={EquipmentLoad} />
    <Route path="/equipment/output" exact component={EquipmentOutput} />
    <Route path="/equipment/saving" exact component={EquipmentSaving} />
    <Route path="/equipment/plan" exact component={EquipmentPlan} />
    <Route path="/equipment/statistics" exact component={EquipmentStatistics} />
    <Route path="/equipment/tracking" exact component={EquipmentTracking} />

    {/*Meter*/}
    <Route path="/meter/meterenergy" exact component={MeterEnergy} />
    <Route path="/meter/metercarbon" exact component={MeterCarbon} />
    <Route path="/meter/metercomparison" exact component={MeterComparison} />
    <Route path="/meter/metercost" exact component={MeterCost} />
    <Route path="/meter/metertrend" exact component={MeterTrend} />
    <Route path="/meter/meterrealtime" exact component={MeterRealtime} />
    <Route path="/meter/metersaving" exact component={MeterSaving} />
    <Route path="/meter/meterplan" exact component={MeterPlan} />
    <Route path="/meter/metersubmetersbalance" exact component={MeterSubmetersBalance} />
    <Route path="/meter/meterbatch" exact component={MeterBatch} />
    <Route path="/meter/metertracking" exact component={MeterTracking} />
    <Route path="/meter/virtualmetersaving" exact component={VirtualMeterSaving} />
    <Route path="/meter/virtualmeterplan" exact component={VirtualMeterPlan} />
    <Route path="/meter/virtualmeterenergy" exact component={VirtualMeterEnergy} />
    <Route path="/meter/virtualmetercarbon" exact component={VirtualMeterCarbon} />
    <Route path="/meter/virtualmetercost" exact component={VirtualMeterCost} />
    <Route path="/meter/virtualmeterbatch" exact component={VirtualMeterBatch} />
    <Route path="/meter/offlinemeterenergy" exact component={OfflineMeterEnergy} />
    <Route path="/meter/offlinemetercarbon" exact component={OfflineMeterCarbon} />
    <Route path="/meter/offlinemetercost" exact component={OfflineMeterCost} />
    <Route path="/meter/offlinemeterbatch" exact component={OfflineMeterBatch} />
    <Route path="/meter/offlinemetersaving" exact component={OfflineMeterSaving} />
    <Route path="/meter/offlinemeterplan" exact component={OfflineMeterPlan} />
    <Route path="/meter/offlinemeterinput" exact component={OfflineMeterInput} />

    {/*Tenant*/}
    <Route path="/tenant/energycategory" exact component={TenantEnergyCategory} />
    <Route path="/tenant/energyitem" exact component={TenantEnergyItem} />
    <Route path="/tenant/carbon" exact component={TenantCarbon} />
    <Route path="/tenant/cost" exact component={TenantCost} />
    <Route path="/tenant/load" exact component={TenantLoad} />
    <Route path="/tenant/statistics" exact component={TenantStatistics} />
    <Route path="/tenant/saving" exact component={TenantSaving} />
    <Route path="/tenant/plan" exact component={TenantPlan} />
    <Route path="/tenant/bill" exact component={TenantBill} />
    <Route path="/tenant/batch" exact component={TenantBatch} />

    {/*Sotore*/}
    <Route path="/store/energycategory" exact component={StoreEnergyCategory} />
    <Route path="/store/energyitem" exact component={StoreEnergyItem} />
    <Route path="/store/carbon" exact component={StoreCarbon} />
    <Route path="/store/cost" exact component={StoreCost} />
    <Route path="/store/load" exact component={StoreLoad} />
    <Route path="/store/statistics" exact component={StoreStatistics} />
    <Route path="/store/saving" exact component={StoreSaving} />
    <Route path="/store/plan" exact component={StorePlan} />
    <Route path="/store/batch" exact component={StoreBatch} />

    {/*Shopfloor*/}
    <Route path="/shopfloor/energycategory" exact component={ShopfloorEnergyCategory} />
    <Route path="/shopfloor/energyitem" exact component={ShopfloorEnergyItem} />
    <Route path="/shopfloor/carbon" exact component={ShopfloorCarbon} />
    <Route path="/shopfloor/cost" exact component={ShopfloorCost} />
    <Route path="/shopfloor/load" exact component={ShopfloorLoad} />
    <Route path="/shopfloor/statistics" exact component={ShopfloorStatistics} />
    <Route path="/shopfloor/saving" exact component={ShopfloorSaving} />
    <Route path="/shopfloor/plan" exact component={ShopfloorPlan} />
    <Route path="/shopfloor/batch" exact component={ShopfloorBatch} />

    {/*CombinedEquipment*/}
    <Route path="/combinedequipment/batch" exact component={CombinedEquipmentBatch} />
    <Route path="/combinedequipment/carbon" exact component={CombinedEquipmentCarbon} />
    <Route path="/combinedequipment/cost" exact component={CombinedEquipmentCost} />
    <Route path="/combinedequipment/efficiency" exact component={CombinedEquipmentEfficiency} />
    <Route path="/combinedequipment/energycategory" exact component={CombinedEquipmentEnergyCategory} />
    <Route path="/combinedequipment/energyitem" exact component={CombinedEquipmentEnergyItem} />
    <Route path="/combinedequipment/income" exact component={CombinedEquipmentIncome} />
    <Route path="/combinedequipment/load" exact component={CombinedEquipmentLoad} />
    <Route path="/combinedequipment/output" exact component={CombinedEquipmentOutput} />
    <Route path="/combinedequipment/saving" exact component={CombinedEquipmentSaving} />
    <Route path="/combinedequipment/plan" exact component={CombinedEquipmentPlan} />
    <Route path="/combinedequipment/statistics" exact component={CombinedEquipmentStatistics} />

    {/*Auxiliary System*/}
    <Route path="/auxiliarysystem/energyflowdiagram" exact component={EnergyFlowDiagram} />
    <Route path="/auxiliarysystem/distributionsystem" exact component={DistributionSystem} />

    {/*Knowledge Base*/}
    <Route path="/knowledgebase" exact component={KnowledgeBase} />

    {/* Notification */}
    <Route path="/notification" exact component={Notification} />

    {/*FDD*/}
    <Route path="/fdd" exact component={FDDFault} />

    {/*Equipment Monitoring*/}
    <Route path="/monitoring/spaceequipments" exact component={SpaceEquipments} />
    <Route path="/monitoring/combinedequipments" exact component={CombinedEquipments} />

    {/*Advanced Reporting*/}
    <Route path="/advancedreporting" exact component={AdvancedReporting} />

    {/*Redirect*/}
    {/* MAKE SURE THIS IS THE LATEST ROUTE */}
    <Redirect to="/errors/404" />
  </Switch>
);

export default MyEMSRoutes;