diff options
author | Sunil Shetye | 2018-09-17 16:11:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-10-08 11:24:12 +0530 |
commit | f389f174481df676c841ebcc87a7b8b313921bbc (patch) | |
tree | 2551fd05222a78d4441f5883a97980bda1d6b241 /js/Misc/generic_block3.js | |
parent | 4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff) | |
download | sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2 sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip |
add importset and getContainer to combined.js
Diffstat (limited to 'js/Misc/generic_block3.js')
-rw-r--r-- | js/Misc/generic_block3.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js index f4a397c5..5ae91823 100644 --- a/js/Misc/generic_block3.js +++ b/js/Misc/generic_block3.js @@ -154,4 +154,28 @@ function generic_block3() { generic_block3.prototype.get_popup_title = function generic_block3() { return this.set_param_popup_title; } + generic_block3.prototype.importset = function generic_block3() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.function_name = ary[0]; + this.funtyp = ary[1]; + this.in1 = ary[2]; + this.it = ary[3]; + this.out = ary[4]; + this.ot = ary[5]; + this.ci = ary[6]; + this.co = ary[7]; + this.xx = ary[8]; + this.z = ary[9]; + this.oz = ary[10]; + this.rpar = ary[11]; + this.ipar = ary[12]; + this.opar = ary[13]; + this.nmode = ary[14]; + this.nzcr = ary[15]; + this.auto0 = ary[16]; + this.depu = ary[17]; + this.dept = ary[18]; + } + generic_block3.prototype.getContainer = function generic_block3() { return new BasicBlock(this.x); } } |