summaryrefslogtreecommitdiff
path: root/js/Sinks/TRASH_f.js
blob: cf48b38b62e0862b8e519957766ba90082b057ab (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
/* autogenerated from "macros/Sinks/TRASH_f.sci" */
function TRASH_f() {
    TRASH_f.prototype.define = function TRASH_f() {
        var in1 = -1;
        this.model = scicos_model();
        this.model.sim = new ScilabString(["trash"]);
        this.model.in = new ScilabDouble([in1]);
        this.model.evtin = new ScilabDouble([1]);
        this.model.blocktype = new ScilabString(["d"]);
        this.model.dep_ut = new ScilabBoolean([false,false]);
        this.exprs = " ";
        this.gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"TRASH_f\",sz(1),sz(2));"]);
        this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabString([this.exprs]),this.gr_i);
        return new BasicBlock(this.x);
    }
    TRASH_f.prototype.details = function TRASH_f() {
        return this.x;
    }
    TRASH_f.prototype.get = function TRASH_f() {
        alert("parameters cannot be modified");
    }
    TRASH_f.prototype.set = function TRASH_f() {
        return new BasicBlock(this.x);
    }
}