summaryrefslogtreecommitdiff
path: root/js/Electrical/MOTOR.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-25 12:08:56 +0530
committerSunil Shetye2018-06-25 12:45:27 +0530
commit7c70459c10aed0d74ee03896abaf47fefdbf7c8f (patch)
tree6f6acc6a5087295c6e59f0f94bfda5025049d5fa /js/Electrical/MOTOR.js
parent870479a2e4b932426a904b2ebae7e4ee72037326 (diff)
downloadsci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.tar.gz
sci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.tar.bz2
sci2js-7c70459c10aed0d74ee03896abaf47fefdbf7c8f.zip
separate out code for getvalue
Diffstat (limited to 'js/Electrical/MOTOR.js')
-rw-r--r--js/Electrical/MOTOR.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js
index bc9cff54..f0622cc9 100644
--- a/js/Electrical/MOTOR.js
+++ b/js/Electrical/MOTOR.js
@@ -1,23 +1,23 @@
/* 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="";
-x=standard_define([2,2],model,exprs,gr_i);
-x.graphics.out_implicit=[["I"],["I"]];
-x.graphics.in_implicit=["I"];
+ model = scicos_model();
+ model.out = [[1],[1]];
+ model.in1 = [1];
+ model.sim = "motor";
+ model.blocktype = "c";
+ model.dep_ut = [true,false];
+ gr_i = [];
+ exprs = "";
+ x = standard_define([2,2],model,exprs,gr_i);
+ x.graphics.out_implicit = [["I"],["I"]];
+ x.graphics.in_implicit = ["I"];
}
MOTOR.prototype.details = function MOTOR() {
}
MOTOR.prototype.get = function MOTOR() {
}
MOTOR.prototype.set = function MOTOR() {
-x=arg1;
+ x = arg1;
}
}