"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapValue = wrapValue;
const _1 = require("../Class/$");
function wrapValue(data, system) {
    return new (class Value extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['V'];
        }
        read(callback) {
            callback(data);
        }
        write(data, callback) {
            callback(undefined, 'value is read only');
        }
    })(system);
}
//# sourceMappingURL=Value.js.map