2018-06-16 23:54:03 -06:00
|
|
|
import { ConnectionState } from "./ConnectionState";
|
2017-10-04 13:22:10 -06:00
|
|
|
import { SprinklersDevice } from "./SprinklersDevice";
|
|
|
|
|
2018-07-01 02:00:17 -06:00
|
|
|
export interface SprinklersRPC {
|
2018-06-16 23:54:03 -06:00
|
|
|
readonly connectionState: ConnectionState;
|
|
|
|
readonly connected: boolean;
|
|
|
|
|
2017-10-04 13:22:10 -06:00
|
|
|
start(): void;
|
|
|
|
|
|
|
|
getDevice(id: string): SprinklersDevice;
|
|
|
|
|
|
|
|
removeDevice(id: string): void;
|
|
|
|
}
|