import React, { Component } from 'react';
import Dashboard from '../components/userComponents/dashboard/Dashboard';
import MonitoredArea from '../components/userComponents/monitoredArea/statistics/Statistics'
import { Switch, Route } from 'react-router-dom';
import ConfigurationContainer from './ConfigurationContainer';
import { AnnotationContainer } from './AnnotationContainer';
import LiveStream from '../components/userComponents/monitoredArea/livestream/LiveStream';
import LiveStreamTable from '../components/userComponents/monitoredArea/table/LiveStreamTable';
/**
* @extends Component
* @hideconstructor
*/
class UserContainer extends Component {
/**
*
* @returns {*}
*/
render() {
return (
<div>
<Switch>
<Route exact path="/" component={Dashboard}/>
<Route exact path="/MonitoredArea" component={MonitoredArea}/>
<Route path="/config" component={ConfigurationContainer}/>
<Route path="/annotation" component={AnnotationContainer}/>
<Route exact path="/live/:id" component={LiveStream}/>
<Route exact path="/live" component={LiveStreamTable}/>
</Switch>
</div>
);
}
}
export default UserContainer;