"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeChannelObjectFactory = makeChannelObjectFactory;
const Label_1 = require("../../Label");
const Entities_1 = require("../Entities");
const PMs_1 = require("../PMs");
function makeChannelObjectFactory(appObjects) {
    return function channelObjectFactory(id) {
        const ao = appObjects.getOrCreate(id);
        const channelModelEntity = (0, Entities_1.makeChannelModelObject)(ao);
        new Label_1.ClearCustomLabelUC(ao);
        new Label_1.SetCustomLabelUC(ao);
        // PM
        (0, PMs_1.makeChannelModelObjectPM)(ao);
        (0, Label_1.makeLabelPM)(ao);
        return channelModelEntity;
    };
}
//# sourceMappingURL=channelObjectFactory.js.map