"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const Proximity_1 = __importDefault(require("./Proximity"));
class Sensors {
    messagePrefix;
    static MESSAGE_PREFIX = 'sensors';
    proximity;
    /** @internal */
    constructor(messagePrefix) {
        this.messagePrefix = messagePrefix;
        this.proximity = new Proximity_1.default(this.getMessagePrefix());
    }
    /** @internal */
    handleMessageData(data) {
        this.proximity.handleMessageData(data);
    }
    getMessagePrefix() {
        return this.messagePrefix + '.' + Sensors.MESSAGE_PREFIX;
    }
}
exports.default = Sensors;
//# sourceMappingURL=Sensors.js.map