summaryrefslogtreecommitdiff
path: root/js/Misc/generic_block3.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/generic_block3.js')
-rw-r--r--js/Misc/generic_block3.js20
1 files changed, 20 insertions, 0 deletions
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;