resolve() {
        if (this.reset.value === 1) {
            this.state = this.preState;
        }
        if (this.inp1.value !== undefined) {
            this.state = this.inp1.value;
        }

        this.output1.value = this.state;
        simulationArea.simulationQueue.add(this.output1);
        
        this.setOutputsUpstream(true);
    }
@memberof Buffer
resolve output values based on inputData