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