From 42e0751c63ddf78aa6e7128a29f0bd1c87e62056 Mon Sep 17 00:00:00 2001 From: snoop Date: Fri, 28 Jul 2017 19:01:00 +0900 Subject: [PATCH] remove detail --- .../app/views/monitoring/sensor/Detail.tsx | 19 ------------------- .../sensor/api/service/SensorService.ts | 8 ++++---- 2 files changed, 4 insertions(+), 23 deletions(-) delete mode 100644 src/ts/@overflow/app/views/monitoring/sensor/Detail.tsx 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 {