remove detail

This commit is contained in:
snoop 2017-07-28 19:01:00 +09:00
parent 821effa2ad
commit 42e0751c63
2 changed files with 4 additions and 23 deletions

View File

@ -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<RouteComponentProps<object>, object> {
public constructor(props?: RouteComponentProps<object>, context?: object) {
super(props, context);
}
public render(): JSX.Element {
return (
<SensorDetailContainer />
);
}
}
export default SensorDetail;

View File

@ -12,19 +12,19 @@ export class SensorService extends Service {
}
public regist(sensor:Sensor): Promise<Sensor> {
return null;
return this.send<Sensor>('regist', [sensor]);
}
public readAllByTarget(target:Target): Promise<Sensor[]> {
return null;
return this.send<Sensor[]>('readAllByTarget', [target]);
}
public readAllByProbe(probe: Probe): Promise<Sensor[]> {
return null;
return this.send<Sensor[]>('readAllByProbe', [probe]);
}
public readAllByDomain(domain: Domain): Promise<Sensor[]> {
return null;
return this.send<Sensor[]>('readAllByDomain', [domain]);
}
public read(id:number): Promise<Sensor> {