resolve() {
        for (let i = 0; i < this.output1.length; i++) {
            this.output1[i].value = 0;
        }

        this.output1[this.controlSignalInput.value].value = this.input.value;

        for (let i = 0; i < this.output1.length; i++) {
            simulationArea.simulationQueue.add(this.output1[i]);
        }

        this.setOutputsUpstream(true);
    }
@memberof Demultiplexer
resolve output values based on inputData