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