/* autogenerated from "macros/Threshold/POSTONEG_f.sci" */
function POSTONEG_f() {
    POSTONEG_f.prototype.define = function POSTONEG_f() {
        rpar = [[-1],[-1],[-1],[0]];
        model = scicos_model();
        model.sim = list("zcross",1);
        model.nzcross = 1;
        model.in1 = 1;
        model.evtout = 1;
        model.rpar = [[-1],[-1],[-1],[0]];
        model.blocktype = "z";
        model.dep_ut = [true,false];
        model.firing = [-1];
        gr_i = [];
        this.x = standard_define([2,2],model,[],gr_i);
        return new BasicBlock(this.x);
    }
    POSTONEG_f.prototype.details = function POSTONEG_f() {
        return this.x;
    }
    POSTONEG_f.prototype.get = function POSTONEG_f() {
    }
    POSTONEG_f.prototype.set = function POSTONEG_f() {
        this.x = arg1;
        this.x.model.firing = [-1];
        return new BasicBlock(this.x);
    }
}