summaryrefslogtreecommitdiff
path: root/js/Electrical/Ground.js
blob: 4818f2da779c4f095e3ef5c95294f3bd74f6e0cf (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
32
33
/* autogenerated from "macros/Electrical/Ground.sci" */
function Ground() {
    Ground.prototype.define = function Ground() {
        model = scicos_model();
        model.in1 = [1];
        model.out = [];
        model.sim = "Ground";
        model.blocktype = "c";
        model.dep_ut = [true,false];
        mo = modelica();
        mo.model = "Ground";
        mo.inputs = "p";
        model.equations = mo;
        exprs = "";
        gr_i = [];
        this.x = standard_define([1,1],model,exprs,list(gr_i,0));
        this.x.graphics.in_implicit = ["I"];
        this.x.graphics.out_implicit = ["I"];
        return new GroundBlock(this.x);
    }
    Ground.prototype.details = function Ground() {
        return this.x;
    }
    Ground.prototype.get = function Ground() {
        var options = {
        }
        return options;
    }
    Ground.prototype.set = function Ground() {
        this.x = arg1;
        return new GroundBlock(this.x);
    }
}