remove detail
This commit is contained in:
parent
821effa2ad
commit
42e0751c63
|
@ -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;
|
|
|
@ -12,19 +12,19 @@ export class SensorService extends Service {
|
||||||
}
|
}
|
||||||
|
|
||||||
public regist(sensor:Sensor): Promise<Sensor> {
|
public regist(sensor:Sensor): Promise<Sensor> {
|
||||||
return null;
|
return this.send<Sensor>('regist', [sensor]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public readAllByTarget(target:Target): Promise<Sensor[]> {
|
public readAllByTarget(target:Target): Promise<Sensor[]> {
|
||||||
return null;
|
return this.send<Sensor[]>('readAllByTarget', [target]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public readAllByProbe(probe: Probe): Promise<Sensor[]> {
|
public readAllByProbe(probe: Probe): Promise<Sensor[]> {
|
||||||
return null;
|
return this.send<Sensor[]>('readAllByProbe', [probe]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public readAllByDomain(domain: Domain): Promise<Sensor[]> {
|
public readAllByDomain(domain: Domain): Promise<Sensor[]> {
|
||||||
return null;
|
return this.send<Sensor[]>('readAllByDomain', [domain]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public read(id:number): Promise<Sensor> {
|
public read(id:number): Promise<Sensor> {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user