name changed

This commit is contained in:
snoop 2017-07-21 12:37:20 +09:00
parent 39e8242c6d
commit 29328da8d4
3 changed files with 31 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { Route, RouteProps, Switch } from 'react-router-dom';
import SignIn from '../views/member/SignIn';
import SignUp from '../views/member/SignUp';
import PWChange from '../views/member/ForgotPassword';
import SensorList from '../views/monitoring/sensor/SensorList';
import SensorList from '../views/monitoring/sensor/List';
import ProbeList from '../views/monitoring/probe/List';
import TargetList from '../views/infrastructure/target/List';

View File

@ -0,0 +1,30 @@
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import SensorListContainer from '@overflow/sensor/react/SensorList';
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
import AppContext from '@overflow/commons/context';
import inject from '@overflow/commons/context/decorator/inject';
class SensorSetup extends React.Component<RouteComponentProps<object>, object> {
@inject()
private client: WebSocketRPC;
public constructor(props?: RouteComponentProps<object>, context?: object) {
super(props, context);
let con = AppContext.get<WebSocketRPC>();
}
public render(): JSX.Element {
return (
<SensorListContainer />
);
}
private test(@inject() c: WebSocketRPC): void {
console.log('');
}
}
export default SensorSetup;