summaryrefslogtreecommitdiff
path: root/js/Electrical/MOTOR.js
blob: c5b1a2c35af32abde1ec9aaf3abee552fa62ea6a (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
/* autogenerated from "macros/Electrical/MOTOR.sci" */
function MOTOR() {
    MOTOR.prototype.define = function MOTOR() {
        model = scicos_model();
        model.out = [[1],[1]];
        model.in1 = [1];
        model.sim = "motor";
        model.blocktype = "c";
        model.dep_ut = [true,false];
        gr_i = [];
        exprs = "";
        this.x = standard_define([2,2],model,exprs,gr_i);
        this.x.graphics.out_implicit = [["I"],["I"]];
        this.x.graphics.in_implicit = ["I"];
        return new BasicBlock(this.x);
    }
    MOTOR.prototype.details = function MOTOR() {
        return this.x;
    }
    MOTOR.prototype.get = function MOTOR() {
        var options = {
        }
        return options;
    }
    MOTOR.prototype.set = function MOTOR() {
        this.x = arg1;
        return new BasicBlock(this.x);
    }
}