"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ZoneRouter = void 0;
class ZoneRouter {
    constructor(values) {
        Object.assign(this, values);
    }
    connectToDevice(devices) {
        return devices.find((d) => d.id === this.connectTo);
    }
}
exports.ZoneRouter = ZoneRouter;
