summaryrefslogtreecommitdiff
path: root/js/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc')
-rw-r--r--js/Misc/BACKLASH.js3
-rw-r--r--js/Misc/BOUNCE.js9
-rw-r--r--js/Misc/BOUNCEXY.js8
-rw-r--r--js/Misc/BPLATFORM.js7
-rw-r--r--js/Misc/CBLOCK.js15
-rw-r--r--js/Misc/CBLOCK4.js20
-rw-r--r--js/Misc/CONSTRAINT2_c.js3
-rw-r--r--js/Misc/CONSTRAINT_c.js1
-rw-r--r--js/Misc/DEADBAND.js3
-rw-r--r--js/Misc/DIFF_f.js2
-rw-r--r--js/Misc/EDGETRIGGER.js1
-rw-r--r--js/Misc/HYSTHERESIS.js5
-rw-r--r--js/Misc/LOGICAL_OP.js4
-rw-r--r--js/Misc/MBLOCK.js8
-rw-r--r--js/Misc/MEMORY_f.js2
-rw-r--r--js/Misc/PENDULUM_ANIM.js7
-rw-r--r--js/Misc/RATELIMITER.js2
-rw-r--r--js/Misc/RELATIONALOP.js3
-rw-r--r--js/Misc/TEXT_f.js3
-rw-r--r--js/Misc/c_block.js5
-rw-r--r--js/Misc/fortran_block.js5
-rw-r--r--js/Misc/generic_block.js14
-rw-r--r--js/Misc/generic_block2.js16
-rw-r--r--js/Misc/generic_block3.js20
-rw-r--r--js/Misc/scifunc_block.js10
-rw-r--r--js/Misc/scifunc_block_m.js10
26 files changed, 186 insertions, 0 deletions
diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index ac616dc2..b02a3366 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -20,6 +20,9 @@ function BACKLASH() {
BACKLASH.prototype.get = function BACKLASH() {
}
BACKLASH.prototype.set = function BACKLASH() {
+ this.ini = parseFloat((arguments[0]["ini"]))
+ this.gap = parseFloat((arguments[0]["gap"]))
+ this.zcr = parseFloat((arguments[0]["zcr"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index 72b08147..05e4a011 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -44,6 +44,15 @@ function BOUNCE() {
BOUNCE.prototype.get = function BOUNCE() {
}
BOUNCE.prototype.set = function BOUNCE() {
+ this.rpar1 = parseFloat((arguments[0]["rpar1"]))
+ this.rpar2 = parseFloat((arguments[0]["rpar2"]))
+ this.walls = parseFloat((arguments[0]["walls"]))
+ this.xt = parseFloat((arguments[0]["xt"]))
+ this.xd = parseFloat((arguments[0]["xd"]))
+ this.y = parseFloat((arguments[0]["y"]))
+ this.yd = parseFloat((arguments[0]["yd"]))
+ this.g = parseFloat((arguments[0]["g"]))
+ this.C = parseFloat((arguments[0]["C"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index 949bbda2..459f5f13 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -41,6 +41,14 @@ function BOUNCEXY() {
BOUNCEXY.prototype.get = function BOUNCEXY() {
}
BOUNCEXY.prototype.set = function BOUNCEXY() {
+ this.clrs = parseFloat((arguments[0]["clrs"]))
+ this.siz = parseFloat((arguments[0]["siz"]))
+ this.win = parseFloat((arguments[0]["win"]))
+ this.imode = parseFloat((arguments[0]["imode"]))
+ this.xmin = parseFloat((arguments[0]["xmin"]))
+ this.xmax = parseFloat((arguments[0]["xmax"]))
+ this.ymin = parseFloat((arguments[0]["ymin"]))
+ this.ymax = parseFloat((arguments[0]["ymax"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js
index c4d682b0..943be74d 100644
--- a/js/Misc/BPLATFORM.js
+++ b/js/Misc/BPLATFORM.js
@@ -27,6 +27,13 @@ function BPLATFORM() {
BPLATFORM.prototype.get = function BPLATFORM() {
}
BPLATFORM.prototype.set = function BPLATFORM() {
+ this.plen = parseFloat((arguments[0]["plen"]))
+ this.csiz = parseFloat((arguments[0]["csiz"]))
+ this.phi = parseFloat((arguments[0]["phi"]))
+ this.xmin = parseFloat((arguments[0]["xmin"]))
+ this.xmax = parseFloat((arguments[0]["xmax"]))
+ this.ymin = parseFloat((arguments[0]["ymin"]))
+ this.ymax = parseFloat((arguments[0]["ymax"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js
index 1f1c0ee3..abad4da3 100644
--- a/js/Misc/CBLOCK.js
+++ b/js/Misc/CBLOCK.js
@@ -38,6 +38,21 @@ function CBLOCK() {
CBLOCK.prototype.get = function CBLOCK() {
}
CBLOCK.prototype.set = function CBLOCK() {
+ this.function_name = parseFloat((arguments[0]["function_name"]))
+ this.impli = parseFloat((arguments[0]["impli"]))
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.ng = parseFloat((arguments[0]["ng"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.ipar = parseFloat((arguments[0]["ipar"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.depu = parseFloat((arguments[0]["depu"]))
+ this.dept = parseFloat((arguments[0]["dept"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js
index 6c74ffa9..1370002b 100644
--- a/js/Misc/CBLOCK4.js
+++ b/js/Misc/CBLOCK4.js
@@ -22,6 +22,26 @@ function CBLOCK4() {
CBLOCK4.prototype.get = function CBLOCK4() {
}
CBLOCK4.prototype.set = function CBLOCK4() {
+ this.function_name = parseFloat((arguments[0]["function_name"]))
+ this.impli = parseFloat((arguments[0]["impli"]))
+ this.in1 = parseFloat((arguments[0]["in1"]))
+ this.it = parseFloat((arguments[0]["it"]))
+ this.out = parseFloat((arguments[0]["out"]))
+ this.ot = parseFloat((arguments[0]["ot"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.oz = parseFloat((arguments[0]["oz"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.ipar = parseFloat((arguments[0]["ipar"]))
+ this.opar = parseFloat((arguments[0]["opar"]))
+ this.nmode = parseFloat((arguments[0]["nmode"]))
+ this.nzcr = parseFloat((arguments[0]["nzcr"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.depu = parseFloat((arguments[0]["depu"]))
+ this.dept = parseFloat((arguments[0]["dept"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js
index 803e1508..b30bdd95 100644
--- a/js/Misc/CONSTRAINT2_c.js
+++ b/js/Misc/CONSTRAINT2_c.js
@@ -23,6 +23,9 @@ function CONSTRAINT2_c() {
CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() {
}
CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() {
+ this.x0 = parseFloat((arguments[0]["x0"]))
+ this.xd0 = parseFloat((arguments[0]["xd0"]))
+ this.id = parseFloat((arguments[0]["id"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index e9bd4102..57a6d9b2 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -21,6 +21,7 @@ function CONSTRAINT_c() {
CONSTRAINT_c.prototype.get = function CONSTRAINT_c() {
}
CONSTRAINT_c.prototype.set = function CONSTRAINT_c() {
+ this.x0 = parseFloat((arguments[0]["x0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js
index 094507df..d42e8858 100644
--- a/js/Misc/DEADBAND.js
+++ b/js/Misc/DEADBAND.js
@@ -24,6 +24,9 @@ function DEADBAND() {
DEADBAND.prototype.get = function DEADBAND() {
}
DEADBAND.prototype.set = function DEADBAND() {
+ this.maxp = parseFloat((arguments[0]["maxp"]))
+ this.minp = parseFloat((arguments[0]["minp"]))
+ this.zeroc = parseFloat((arguments[0]["zeroc"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js
index 3f1e2c09..cbc9619d 100644
--- a/js/Misc/DIFF_f.js
+++ b/js/Misc/DIFF_f.js
@@ -20,6 +20,8 @@ function DIFF_f() {
DIFF_f.prototype.get = function DIFF_f() {
}
DIFF_f.prototype.set = function DIFF_f() {
+ this.x0 = parseFloat((arguments[0]["x0"]))
+ this.xd0 = parseFloat((arguments[0]["xd0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js
index 1f9a65a8..c7ee1a2e 100644
--- a/js/Misc/EDGETRIGGER.js
+++ b/js/Misc/EDGETRIGGER.js
@@ -22,6 +22,7 @@ function EDGETRIGGER() {
EDGETRIGGER.prototype.get = function EDGETRIGGER() {
}
EDGETRIGGER.prototype.set = function EDGETRIGGER() {
+ this.edge = parseFloat((arguments[0]["edge"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js
index 39991fb6..246ce23c 100644
--- a/js/Misc/HYSTHERESIS.js
+++ b/js/Misc/HYSTHERESIS.js
@@ -25,6 +25,11 @@ function HYSTHERESIS() {
HYSTHERESIS.prototype.get = function HYSTHERESIS() {
}
HYSTHERESIS.prototype.set = function HYSTHERESIS() {
+ this.high_lim = parseFloat((arguments[0]["high_lim"]))
+ this.low_lim = parseFloat((arguments[0]["low_lim"]))
+ this.out_high = parseFloat((arguments[0]["out_high"]))
+ this.out_low = parseFloat((arguments[0]["out_low"]))
+ this.nzz = parseFloat((arguments[0]["nzz"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index f2849f0e..ec4b80b9 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -22,6 +22,10 @@ function LOGICAL_OP() {
LOGICAL_OP.prototype.get = function LOGICAL_OP() {
}
LOGICAL_OP.prototype.set = function LOGICAL_OP() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.rule = parseFloat((arguments[0]["rule"]))
+ this.Datatype = parseFloat((arguments[0]["Datatype"]))
+ this.tp = parseFloat((arguments[0]["tp"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js
index 4b62ac88..ae8d0cb9 100644
--- a/js/Misc/MBLOCK.js
+++ b/js/Misc/MBLOCK.js
@@ -38,6 +38,14 @@ function MBLOCK() {
MBLOCK.prototype.get = function MBLOCK() {
}
MBLOCK.prototype.set = function MBLOCK() {
+ this.Tin = parseFloat((arguments[0]["Tin"]))
+ this.Tintype = parseFloat((arguments[0]["Tintype"]))
+ this.Tout = parseFloat((arguments[0]["Tout"]))
+ this.Touttype = parseFloat((arguments[0]["Touttype"]))
+ this.Tparam = parseFloat((arguments[0]["Tparam"]))
+ this.pprop = parseFloat((arguments[0]["pprop"]))
+ this.Tfunam = parseFloat((arguments[0]["Tfunam"]))
+ this.lab_1 = parseFloat((arguments[0]["lab_1"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js
index d2c40a37..e6b70b35 100644
--- a/js/Misc/MEMORY_f.js
+++ b/js/Misc/MEMORY_f.js
@@ -23,6 +23,8 @@ function MEMORY_f() {
MEMORY_f.prototype.get = function MEMORY_f() {
}
MEMORY_f.prototype.set = function MEMORY_f() {
+ this.a = parseFloat((arguments[0]["a"]))
+ this.inh = parseFloat((arguments[0]["inh"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js
index a3c97680..73b79503 100644
--- a/js/Misc/PENDULUM_ANIM.js
+++ b/js/Misc/PENDULUM_ANIM.js
@@ -27,6 +27,13 @@ function PENDULUM_ANIM() {
PENDULUM_ANIM.prototype.get = function PENDULUM_ANIM() {
}
PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() {
+ this.plen = parseFloat((arguments[0]["plen"]))
+ this.csiz = parseFloat((arguments[0]["csiz"]))
+ this.phi = parseFloat((arguments[0]["phi"]))
+ this.xmin = parseFloat((arguments[0]["xmin"]))
+ this.xmax = parseFloat((arguments[0]["xmax"]))
+ this.ymin = parseFloat((arguments[0]["ymin"]))
+ this.ymax = parseFloat((arguments[0]["ymax"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js
index e50489de..307ca34c 100644
--- a/js/Misc/RATELIMITER.js
+++ b/js/Misc/RATELIMITER.js
@@ -22,6 +22,8 @@ function RATELIMITER() {
RATELIMITER.prototype.get = function RATELIMITER() {
}
RATELIMITER.prototype.set = function RATELIMITER() {
+ this.maxp = parseFloat((arguments[0]["maxp"]))
+ this.minp = parseFloat((arguments[0]["minp"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js
index 9688365e..2d8fbe24 100644
--- a/js/Misc/RELATIONALOP.js
+++ b/js/Misc/RELATIONALOP.js
@@ -22,6 +22,9 @@ function RELATIONALOP() {
RELATIONALOP.prototype.get = function RELATIONALOP() {
}
RELATIONALOP.prototype.set = function RELATIONALOP() {
+ this.rule = parseFloat((arguments[0]["rule"]))
+ this.zcr = parseFloat((arguments[0]["zcr"]))
+ this.Datatype = parseFloat((arguments[0]["Datatype"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js
index f20ecd02..ff33543c 100644
--- a/js/Misc/TEXT_f.js
+++ b/js/Misc/TEXT_f.js
@@ -21,6 +21,9 @@ function TEXT_f() {
TEXT_f.prototype.get = function TEXT_f() {
}
TEXT_f.prototype.set = function TEXT_f() {
+ this.txt = parseFloat((arguments[0]["txt"]))
+ this.font = parseFloat((arguments[0]["font"]))
+ this.siz = parseFloat((arguments[0]["siz"]))
this.x = arg1;
graphics = arg1.graphics;
orig = graphics.orig;
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js
index 489ae67d..e47820c6 100644
--- a/js/Misc/c_block.js
+++ b/js/Misc/c_block.js
@@ -35,6 +35,11 @@ function c_block() {
c_block.prototype.get = function c_block() {
}
c_block.prototype.set = function c_block() {
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.funam = parseFloat((arguments[0]["funam"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js
index 4aadc4aa..c6e76965 100644
--- a/js/Misc/fortran_block.js
+++ b/js/Misc/fortran_block.js
@@ -26,6 +26,11 @@ function fortran_block() {
fortran_block.prototype.get = function fortran_block() {
}
fortran_block.prototype.set = function fortran_block() {
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.funam = parseFloat((arguments[0]["funam"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index 3f3ce2e5..eab48a00 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -27,6 +27,20 @@ function generic_block() {
generic_block.prototype.get = function generic_block() {
}
generic_block.prototype.set = function generic_block() {
+ this.function_name = parseFloat((arguments[0]["function_name"]))
+ this.funtyp = parseFloat((arguments[0]["funtyp"]))
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.ipar = parseFloat((arguments[0]["ipar"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.depu = parseFloat((arguments[0]["depu"]))
+ this.dept = parseFloat((arguments[0]["dept"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index 5aad8926..1e9b0ca2 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -27,6 +27,22 @@ function generic_block2() {
generic_block2.prototype.get = function generic_block2() {
}
generic_block2.prototype.set = function generic_block2() {
+ this.function_name = parseFloat((arguments[0]["function_name"]))
+ this.funtyp = parseFloat((arguments[0]["funtyp"]))
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.ipar = parseFloat((arguments[0]["ipar"]))
+ this.nmode = parseFloat((arguments[0]["nmode"]))
+ this.nzcr = parseFloat((arguments[0]["nzcr"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.depu = parseFloat((arguments[0]["depu"]))
+ this.dept = parseFloat((arguments[0]["dept"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js
index 7884e95a..0e53bef7 100644
--- a/js/Misc/generic_block3.js
+++ b/js/Misc/generic_block3.js
@@ -23,6 +23,26 @@ function generic_block3() {
generic_block3.prototype.get = function generic_block3() {
}
generic_block3.prototype.set = function generic_block3() {
+ this.function_name = parseFloat((arguments[0]["function_name"]))
+ this.funtyp = parseFloat((arguments[0]["funtyp"]))
+ this.in1 = parseFloat((arguments[0]["in1"]))
+ this.it = parseFloat((arguments[0]["it"]))
+ this.out = parseFloat((arguments[0]["out"]))
+ this.ot = parseFloat((arguments[0]["ot"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.oz = parseFloat((arguments[0]["oz"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.ipar = parseFloat((arguments[0]["ipar"]))
+ this.opar = parseFloat((arguments[0]["opar"]))
+ this.nmode = parseFloat((arguments[0]["nmode"]))
+ this.nzcr = parseFloat((arguments[0]["nzcr"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.depu = parseFloat((arguments[0]["depu"]))
+ this.dept = parseFloat((arguments[0]["dept"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
this.x = arg1;
model = arg1.model;
graphics = arg1.graphics;
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index 18865a9b..783ab8f9 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -35,6 +35,16 @@ function scifunc_block() {
scifunc_block.prototype.get = function scifunc_block() {
}
scifunc_block.prototype.set = function scifunc_block() {
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.deptime = parseFloat((arguments[0]["deptime"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
needcompile = 0;
this.x = arg1;
model = arg1.model;
diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index d9f4e335..b96f422c 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -40,6 +40,16 @@ function scifunc_block_m() {
scifunc_block_m.prototype.get = function scifunc_block_m() {
}
scifunc_block_m.prototype.set = function scifunc_block_m() {
+ this.i = parseFloat((arguments[0]["i"]))
+ this.o = parseFloat((arguments[0]["o"]))
+ this.ci = parseFloat((arguments[0]["ci"]))
+ this.co = parseFloat((arguments[0]["co"]))
+ this.xx = parseFloat((arguments[0]["xx"]))
+ this.z = parseFloat((arguments[0]["z"]))
+ this.rpar = parseFloat((arguments[0]["rpar"]))
+ this.auto0 = parseFloat((arguments[0]["auto0"]))
+ this.deptime = parseFloat((arguments[0]["deptime"]))
+ this.lab = parseFloat((arguments[0]["lab"]))
needcompile = 0;
this.x = arg1;
model = arg1.model;