UNPKG

signalk-server

Version:

An implementation of a [Signal K](http://signalk.org) server for boats.

20 lines 695 B
import { ALARM_METHOD, Delta, Path, Zone } from '@signalk/server-api'; import { StreamBundle } from './streambundle'; interface ZoneMethods { normalMethod?: ALARM_METHOD; nominalMethod?: ALARM_METHOD; alertMethod?: ALARM_METHOD; warnMethod?: ALARM_METHOD; alarmMethod?: ALARM_METHOD; emergencyMethod?: ALARM_METHOD; } export declare class Zones { private streambundle; private sendDelta; private unsubscribesForPaths; constructor(streambundle: StreamBundle, sendDelta: (delta: Delta) => void); sendNormalDelta(path: Path): void; watchForZones(path: Path, zones: Zone[], methods: ZoneMethods): void; } export {}; //# sourceMappingURL=zones.d.ts.map