This commit is contained in:
crusader
2018-06-04 14:19:55 +09:00
parent 378c65c514
commit 0fe54aaa86
4 changed files with 67 additions and 66 deletions

View File

@@ -39,7 +39,7 @@ export class SensorService {
// return this.rpcService.call('SensorService.readAllByTarget', target, pageParams);
// }
public read(id: string): Observable<Sensor> {
public read(id: number): Observable<Sensor> {
return this.rpcService.call<Sensor>('SensorService.read', id);
}
}