summaryrefslogtreecommitdiff
path: root/js/Threshold/POSTONEG_f.js
blob: 8913a9950d946482e41154eb03c8351606b31da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* autogenerated from "macros/Threshold/POSTONEG_f.sci" */
function POSTONEG_f() {
    POSTONEG_f.prototype.define = function POSTONEG_f() {
        rpar = [[-1],[-1],[-1],[0]];
        this.model = scicos_model();
        this.model.sim = list("zcross",1);
        this.model.nzcross = new ScilabDouble(1);
        this.model.in1 = new ScilabDouble(1);
        this.model.evtout = new ScilabDouble(1);
        this.model.rpar = [[-1],[-1],[-1],[0]];
        this.model.blocktype = new ScilabString("z");
        this.model.dep_ut = [true,false];
        this.model.firing = [-1];
        gr_i = [];
        this.x = standard_define([2,2],this.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() {
        var options = {
        }
        return options;
    }
    POSTONEG_f.prototype.set = function POSTONEG_f() {
        this.x = arg1;
        this.x.model.firing = [-1];
        return new BasicBlock(this.x);
    }
}