diff --git a/src/ts/@overflow/app/views/monitoring/sensor/Detail.tsx b/src/ts/@overflow/app/views/monitoring/sensor/Detail.tsx deleted file mode 100644 index 07c8a89..0000000 --- a/src/ts/@overflow/app/views/monitoring/sensor/Detail.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import * as React from 'react'; -import { RouteComponentProps } from 'react-router'; -import SensorDetailContainer from '@overflow/sensor/react/SensorDetail'; - -class SensorDetail extends React.Component, object> { - - public constructor(props?: RouteComponentProps, context?: object) { - super(props, context); - } - - public render(): JSX.Element { - return ( - - ); - } -} - - -export default SensorDetail; diff --git a/src/ts/@overflow/sensor/api/service/SensorService.ts b/src/ts/@overflow/sensor/api/service/SensorService.ts index f77727c..17cf854 100644 --- a/src/ts/@overflow/sensor/api/service/SensorService.ts +++ b/src/ts/@overflow/sensor/api/service/SensorService.ts @@ -12,19 +12,19 @@ export class SensorService extends Service { } public regist(sensor:Sensor): Promise { - return null; + return this.send('regist', [sensor]); } public readAllByTarget(target:Target): Promise { - return null; + return this.send('readAllByTarget', [target]); } public readAllByProbe(probe: Probe): Promise { - return null; + return this.send('readAllByProbe', [probe]); } public readAllByDomain(domain: Domain): Promise { - return null; + return this.send('readAllByDomain', [domain]); } public read(id:number): Promise {