summaryrefslogtreecommitdiff
path: root/js/Misc
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/Misc
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/Misc')
-rw-r--r--js/Misc/AUTOMAT.js1
-rw-r--r--js/Misc/BACKLASH.js8
-rw-r--r--js/Misc/BOUNCE.js14
-rw-r--r--js/Misc/BOUNCEXY.js13
-rw-r--r--js/Misc/BPLATFORM.js12
-rw-r--r--js/Misc/CBLOCK.js19
-rw-r--r--js/Misc/CBLOCK4.js24
-rw-r--r--js/Misc/CONSTRAINT2_c.js8
-rw-r--r--js/Misc/CONSTRAINT_c.js6
-rw-r--r--js/Misc/DEADBAND.js8
-rw-r--r--js/Misc/DEBUG.js1
-rw-r--r--js/Misc/DEBUG_SCICOS.js1
-rw-r--r--js/Misc/DIFF_f.js7
-rw-r--r--js/Misc/DSUPER.js1
-rw-r--r--js/Misc/EDGETRIGGER.js6
-rw-r--r--js/Misc/EDGE_TRIGGER.js1
-rw-r--r--js/Misc/ENDBLK.js1
-rw-r--r--js/Misc/Extract_Activation.js1
-rw-r--r--js/Misc/HYSTHERESIS.js10
-rw-r--r--js/Misc/IMPSPLIT_f.js1
-rw-r--r--js/Misc/LOGICAL_OP.js9
-rw-r--r--js/Misc/MBLOCK.js12
-rw-r--r--js/Misc/MEMORY_f.js7
-rw-r--r--js/Misc/MPBLOCK.js1
-rw-r--r--js/Misc/PAL_f.js1
-rw-r--r--js/Misc/PENDULUM_ANIM.js12
-rw-r--r--js/Misc/RATELIMITER.js7
-rw-r--r--js/Misc/RELATIONALOP.js8
-rw-r--r--js/Misc/SPLIT_f.js1
-rw-r--r--js/Misc/SUPER_f.js1
-rw-r--r--js/Misc/TEXT_f.js8
-rw-r--r--js/Misc/c_block.js9
-rw-r--r--js/Misc/fortran_block.js9
-rw-r--r--js/Misc/func_block.js1
-rw-r--r--js/Misc/generic_block.js18
-rw-r--r--js/Misc/generic_block2.js20
-rw-r--r--js/Misc/generic_block3.js24
-rw-r--r--js/Misc/scifunc_block.js14
-rw-r--r--js/Misc/scifunc_block_m.js14
39 files changed, 319 insertions, 0 deletions
diff --git a/js/Misc/AUTOMAT.js b/js/Misc/AUTOMAT.js
index 77e8c8ef..cc529bd8 100644
--- a/js/Misc/AUTOMAT.js
+++ b/js/Misc/AUTOMAT.js
@@ -140,4 +140,5 @@ function AUTOMAT() {
AUTOMAT.prototype.get_popup_title = function AUTOMAT() {
return;
}
+ AUTOMAT.prototype.getContainer = function AUTOMAT() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js
index 9dfbb549..bdac4b01 100644
--- a/js/Misc/BACKLASH.js
+++ b/js/Misc/BACKLASH.js
@@ -60,4 +60,12 @@ function BACKLASH() {
BACKLASH.prototype.get_popup_title = function BACKLASH() {
return this.set_param_popup_title;
}
+ BACKLASH.prototype.importset = function BACKLASH() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.ini = ary[0];
+ this.gap = ary[1];
+ this.zcr = ary[2];
+ }
+ BACKLASH.prototype.getContainer = function BACKLASH() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index b9ff94bb..4ff83082 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -140,4 +140,18 @@ function BOUNCE() {
BOUNCE.prototype.get_popup_title = function BOUNCE() {
return this.set_param_popup_title;
}
+ BOUNCE.prototype.importset = function BOUNCE() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.rpar1 = ary[0];
+ this.rpar2 = ary[1];
+ this.walls = ary[2];
+ this.xt = ary[3];
+ this.xd = ary[4];
+ this.y = ary[5];
+ this.yd = ary[6];
+ this.g = ary[7];
+ this.C = ary[8];
+ }
+ BOUNCE.prototype.getContainer = function BOUNCE() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js
index 1c2436a5..4ae53e7f 100644
--- a/js/Misc/BOUNCEXY.js
+++ b/js/Misc/BOUNCEXY.js
@@ -117,4 +117,17 @@ function BOUNCEXY() {
BOUNCEXY.prototype.get_popup_title = function BOUNCEXY() {
return this.set_param_popup_title;
}
+ BOUNCEXY.prototype.importset = function BOUNCEXY() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.clrs = ary[0];
+ this.siz = ary[1];
+ this.win = ary[2];
+ this.imode = ary[3];
+ this.xmin = ary[4];
+ this.xmax = ary[5];
+ this.ymin = ary[6];
+ this.ymax = ary[7];
+ }
+ BOUNCEXY.prototype.getContainer = function BOUNCEXY() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js
index ce5defd9..95a1cf14 100644
--- a/js/Misc/BPLATFORM.js
+++ b/js/Misc/BPLATFORM.js
@@ -85,4 +85,16 @@ function BPLATFORM() {
BPLATFORM.prototype.get_popup_title = function BPLATFORM() {
return this.set_param_popup_title;
}
+ BPLATFORM.prototype.importset = function BPLATFORM() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.plen = ary[0];
+ this.csiz = ary[1];
+ this.phi = ary[2];
+ this.xmin = ary[3];
+ this.xmax = ary[4];
+ this.ymin = ary[5];
+ this.ymax = ary[6];
+ }
+ BPLATFORM.prototype.getContainer = function BPLATFORM() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js
index b5c5e41a..aa40a63d 100644
--- a/js/Misc/CBLOCK.js
+++ b/js/Misc/CBLOCK.js
@@ -169,4 +169,23 @@ function CBLOCK() {
CBLOCK.prototype.get_popup_title = function CBLOCK() {
return this.set_param_popup_title;
}
+ CBLOCK.prototype.importset = function CBLOCK() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.function_name = ary[0];
+ this.impli = ary[1];
+ this.i = ary[2];
+ this.o = ary[3];
+ this.ci = ary[4];
+ this.co = ary[5];
+ this.xx = ary[6];
+ this.ng = ary[7];
+ this.z = ary[8];
+ this.rpar = ary[9];
+ this.ipar = ary[10];
+ this.auto0 = ary[11];
+ this.depu = ary[12];
+ this.dept = ary[13];
+ }
+ CBLOCK.prototype.getContainer = function CBLOCK() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js
index 89762f05..7b3c01f0 100644
--- a/js/Misc/CBLOCK4.js
+++ b/js/Misc/CBLOCK4.js
@@ -161,4 +161,28 @@ function CBLOCK4() {
CBLOCK4.prototype.get_popup_title = function CBLOCK4() {
return this.set_param_popup_title;
}
+ CBLOCK4.prototype.importset = function CBLOCK4() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.function_name = ary[0];
+ this.impli = 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];
+ }
+ CBLOCK4.prototype.getContainer = function CBLOCK4() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js
index 07f81384..d05bfa47 100644
--- a/js/Misc/CONSTRAINT2_c.js
+++ b/js/Misc/CONSTRAINT2_c.js
@@ -85,4 +85,12 @@ function CONSTRAINT2_c() {
CONSTRAINT2_c.prototype.get_popup_title = function CONSTRAINT2_c() {
return this.set_param_popup_title;
}
+ CONSTRAINT2_c.prototype.importset = function CONSTRAINT2_c() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.x0 = ary[0];
+ this.xd0 = ary[1];
+ this.id = ary[2];
+ }
+ CONSTRAINT2_c.prototype.getContainer = function CONSTRAINT2_c() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js
index cb70864b..32a84f72 100644
--- a/js/Misc/CONSTRAINT_c.js
+++ b/js/Misc/CONSTRAINT_c.js
@@ -62,4 +62,10 @@ function CONSTRAINT_c() {
CONSTRAINT_c.prototype.get_popup_title = function CONSTRAINT_c() {
return this.set_param_popup_title;
}
+ CONSTRAINT_c.prototype.importset = function CONSTRAINT_c() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.x0 = ary[0];
+ }
+ CONSTRAINT_c.prototype.getContainer = function CONSTRAINT_c() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js
index 581e8621..c158cd59 100644
--- a/js/Misc/DEADBAND.js
+++ b/js/Misc/DEADBAND.js
@@ -66,4 +66,12 @@ function DEADBAND() {
DEADBAND.prototype.get_popup_title = function DEADBAND() {
return this.set_param_popup_title;
}
+ DEADBAND.prototype.importset = function DEADBAND() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.maxp = ary[0];
+ this.minp = ary[1];
+ this.zeroc = ary[2];
+ }
+ DEADBAND.prototype.getContainer = function DEADBAND() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index 353cb3cf..64e6a5a0 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -52,4 +52,5 @@ function DEBUG() {
DEBUG.prototype.get_popup_title = function DEBUG() {
return;
}
+ DEBUG.prototype.getContainer = function DEBUG() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/DEBUG_SCICOS.js b/js/Misc/DEBUG_SCICOS.js
index 3a9b614a..5f938c77 100644
--- a/js/Misc/DEBUG_SCICOS.js
+++ b/js/Misc/DEBUG_SCICOS.js
@@ -21,4 +21,5 @@ function DEBUG_SCICOS() {
DEBUG_SCICOS.prototype.get_popup_title = function DEBUG_SCICOS() {
return;
}
+ DEBUG_SCICOS.prototype.getContainer = function DEBUG_SCICOS() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js
index be998d72..6e159300 100644
--- a/js/Misc/DIFF_f.js
+++ b/js/Misc/DIFF_f.js
@@ -48,4 +48,11 @@ function DIFF_f() {
DIFF_f.prototype.get_popup_title = function DIFF_f() {
return this.set_param_popup_title;
}
+ DIFF_f.prototype.importset = function DIFF_f() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.x0 = ary[0];
+ this.xd0 = ary[1];
+ }
+ DIFF_f.prototype.getContainer = function DIFF_f() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/DSUPER.js b/js/Misc/DSUPER.js
index 3697e699..555b2888 100644
--- a/js/Misc/DSUPER.js
+++ b/js/Misc/DSUPER.js
@@ -55,4 +55,5 @@ function DSUPER() {
DSUPER.prototype.get_popup_title = function DSUPER() {
return;
}
+ DSUPER.prototype.getContainer = function DSUPER() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js
index 52cb2fe1..ceea89f3 100644
--- a/js/Misc/EDGETRIGGER.js
+++ b/js/Misc/EDGETRIGGER.js
@@ -47,4 +47,10 @@ function EDGETRIGGER() {
EDGETRIGGER.prototype.get_popup_title = function EDGETRIGGER() {
return this.set_param_popup_title;
}
+ EDGETRIGGER.prototype.importset = function EDGETRIGGER() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.edge = ary[0];
+ }
+ EDGETRIGGER.prototype.getContainer = function EDGETRIGGER() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/EDGE_TRIGGER.js b/js/Misc/EDGE_TRIGGER.js
index 8be4e5f6..6220c636 100644
--- a/js/Misc/EDGE_TRIGGER.js
+++ b/js/Misc/EDGE_TRIGGER.js
@@ -159,4 +159,5 @@ function EDGE_TRIGGER() {
EDGE_TRIGGER.prototype.get_popup_title = function EDGE_TRIGGER() {
return;
}
+ EDGE_TRIGGER.prototype.getContainer = function EDGE_TRIGGER() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js
index e26372f8..3754ec9d 100644
--- a/js/Misc/ENDBLK.js
+++ b/js/Misc/ENDBLK.js
@@ -87,4 +87,5 @@ function ENDBLK() {
ENDBLK.prototype.get_popup_title = function ENDBLK() {
return;
}
+ ENDBLK.prototype.getContainer = function ENDBLK() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/Extract_Activation.js b/js/Misc/Extract_Activation.js
index aadd3cf8..1495b6f9 100644
--- a/js/Misc/Extract_Activation.js
+++ b/js/Misc/Extract_Activation.js
@@ -98,4 +98,5 @@ function Extract_Activation() {
Extract_Activation.prototype.get_popup_title = function Extract_Activation() {
return;
}
+ Extract_Activation.prototype.getContainer = function Extract_Activation() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js
index 0d077460..01e90b54 100644
--- a/js/Misc/HYSTHERESIS.js
+++ b/js/Misc/HYSTHERESIS.js
@@ -67,4 +67,14 @@ function HYSTHERESIS() {
HYSTHERESIS.prototype.get_popup_title = function HYSTHERESIS() {
return this.set_param_popup_title;
}
+ HYSTHERESIS.prototype.importset = function HYSTHERESIS() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.high_lim = ary[0];
+ this.low_lim = ary[1];
+ this.out_high = ary[2];
+ this.out_low = ary[3];
+ this.nzz = ary[4];
+ }
+ HYSTHERESIS.prototype.getContainer = function HYSTHERESIS() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js
index de6c6964..e9db9006 100644
--- a/js/Misc/IMPSPLIT_f.js
+++ b/js/Misc/IMPSPLIT_f.js
@@ -27,4 +27,5 @@ function IMPSPLIT_f() {
IMPSPLIT_f.prototype.get_popup_title = function IMPSPLIT_f() {
return;
}
+ IMPSPLIT_f.prototype.getContainer = function IMPSPLIT_f() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js
index 8937a967..9c2ac4d6 100644
--- a/js/Misc/LOGICAL_OP.js
+++ b/js/Misc/LOGICAL_OP.js
@@ -140,4 +140,13 @@ function LOGICAL_OP() {
LOGICAL_OP.prototype.get_popup_title = function LOGICAL_OP() {
return this.set_param_popup_title;
}
+ LOGICAL_OP.prototype.importset = function LOGICAL_OP() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.nin = ary[0];
+ this.rule = ary[1];
+ this.Datatype = ary[2];
+ this.tp = ary[3];
+ }
+ LOGICAL_OP.prototype.getContainer = function LOGICAL_OP() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js
index 8794da27..a5bec067 100644
--- a/js/Misc/MBLOCK.js
+++ b/js/Misc/MBLOCK.js
@@ -312,4 +312,16 @@ function MBLOCK() {
MBLOCK.prototype.get_popup_title = function MBLOCK() {
return this.set_param_popup_title;
}
+ MBLOCK.prototype.importset = function MBLOCK() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.Tin = ary[0];
+ this.Tintype = ary[1];
+ this.Tout = ary[2];
+ this.Touttype = ary[3];
+ this.Tparam = ary[4];
+ this.pprop = ary[5];
+ this.Tfunam = ary[6];
+ }
+ MBLOCK.prototype.getContainer = function MBLOCK() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js
index d4b2d559..eb34aa4f 100644
--- a/js/Misc/MEMORY_f.js
+++ b/js/Misc/MEMORY_f.js
@@ -69,4 +69,11 @@ function MEMORY_f() {
MEMORY_f.prototype.get_popup_title = function MEMORY_f() {
return this.set_param_popup_title;
}
+ MEMORY_f.prototype.importset = function MEMORY_f() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.a = ary[0];
+ this.inh = ary[1];
+ }
+ MEMORY_f.prototype.getContainer = function MEMORY_f() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/MPBLOCK.js b/js/Misc/MPBLOCK.js
index fc44e9c0..50121a28 100644
--- a/js/Misc/MPBLOCK.js
+++ b/js/Misc/MPBLOCK.js
@@ -281,4 +281,5 @@ function MPBLOCK() {
MPBLOCK.prototype.get_popup_title = function MPBLOCK() {
return;
}
+ MPBLOCK.prototype.getContainer = function MPBLOCK() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/PAL_f.js b/js/Misc/PAL_f.js
index 54867d90..81181489 100644
--- a/js/Misc/PAL_f.js
+++ b/js/Misc/PAL_f.js
@@ -37,4 +37,5 @@ function PAL_f() {
PAL_f.prototype.get_popup_title = function PAL_f() {
return;
}
+ PAL_f.prototype.getContainer = function PAL_f() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js
index 69b40f0c..4e6b0e86 100644
--- a/js/Misc/PENDULUM_ANIM.js
+++ b/js/Misc/PENDULUM_ANIM.js
@@ -85,4 +85,16 @@ function PENDULUM_ANIM() {
PENDULUM_ANIM.prototype.get_popup_title = function PENDULUM_ANIM() {
return this.set_param_popup_title;
}
+ PENDULUM_ANIM.prototype.importset = function PENDULUM_ANIM() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.plen = ary[0];
+ this.csiz = ary[1];
+ this.phi = ary[2];
+ this.xmin = ary[3];
+ this.xmax = ary[4];
+ this.ymin = ary[5];
+ this.ymax = ary[6];
+ }
+ PENDULUM_ANIM.prototype.getContainer = function PENDULUM_ANIM() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js
index 6a5674df..510448b5 100644
--- a/js/Misc/RATELIMITER.js
+++ b/js/Misc/RATELIMITER.js
@@ -55,4 +55,11 @@ function RATELIMITER() {
RATELIMITER.prototype.get_popup_title = function RATELIMITER() {
return this.set_param_popup_title;
}
+ RATELIMITER.prototype.importset = function RATELIMITER() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.maxp = ary[0];
+ this.minp = ary[1];
+ }
+ RATELIMITER.prototype.getContainer = function RATELIMITER() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js
index 5809668a..81fe6a15 100644
--- a/js/Misc/RELATIONALOP.js
+++ b/js/Misc/RELATIONALOP.js
@@ -113,4 +113,12 @@ function RELATIONALOP() {
RELATIONALOP.prototype.get_popup_title = function RELATIONALOP() {
return this.set_param_popup_title;
}
+ RELATIONALOP.prototype.importset = function RELATIONALOP() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.rule = ary[0];
+ this.zcr = ary[1];
+ this.Datatype = ary[2];
+ }
+ RELATIONALOP.prototype.getContainer = function RELATIONALOP() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/SPLIT_f.js b/js/Misc/SPLIT_f.js
index 0877647e..b5c80acb 100644
--- a/js/Misc/SPLIT_f.js
+++ b/js/Misc/SPLIT_f.js
@@ -22,4 +22,5 @@ function SPLIT_f() {
SPLIT_f.prototype.get_popup_title = function SPLIT_f() {
return;
}
+ SPLIT_f.prototype.getContainer = function SPLIT_f() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/SUPER_f.js b/js/Misc/SUPER_f.js
index d0cb49cc..9fa83892 100644
--- a/js/Misc/SUPER_f.js
+++ b/js/Misc/SUPER_f.js
@@ -35,4 +35,5 @@ function SUPER_f() {
SUPER_f.prototype.get_popup_title = function SUPER_f() {
return;
}
+ SUPER_f.prototype.getContainer = function SUPER_f() { return new SuperBlock(this.x); }
}
diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js
index a190b625..87fd28ac 100644
--- a/js/Misc/TEXT_f.js
+++ b/js/Misc/TEXT_f.js
@@ -84,4 +84,12 @@ function TEXT_f() {
TEXT_f.prototype.get_popup_title = function TEXT_f() {
return this.set_param_popup_title;
}
+ TEXT_f.prototype.importset = function TEXT_f() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.txt = ary[0];
+ this.font = ary[1];
+ this.siz = ary[2];
+ }
+ TEXT_f.prototype.getContainer = function TEXT_f() { return new TextBlock(this.x); }
}
diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js
index a5d4aaff..233de7e7 100644
--- a/js/Misc/c_block.js
+++ b/js/Misc/c_block.js
@@ -93,4 +93,13 @@ function c_block() {
c_block.prototype.get_popup_title = function c_block() {
return this.set_param_popup_title;
}
+ c_block.prototype.importset = function c_block() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.i = ary[0];
+ this.o = ary[1];
+ this.rpar = ary[2];
+ this.funam = ary[3];
+ }
+ c_block.prototype.getContainer = function c_block() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js
index ab10b0fc..75bef798 100644
--- a/js/Misc/fortran_block.js
+++ b/js/Misc/fortran_block.js
@@ -84,4 +84,13 @@ function fortran_block() {
fortran_block.prototype.get_popup_title = function fortran_block() {
return this.set_param_popup_title;
}
+ fortran_block.prototype.importset = function fortran_block() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.i = ary[0];
+ this.o = ary[1];
+ this.rpar = ary[2];
+ this.funam = ary[3];
+ }
+ fortran_block.prototype.getContainer = function fortran_block() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/func_block.js b/js/Misc/func_block.js
index 29394b60..adf33300 100644
--- a/js/Misc/func_block.js
+++ b/js/Misc/func_block.js
@@ -36,4 +36,5 @@ function func_block() {
func_block.prototype.get_popup_title = function func_block() {
return;
}
+ func_block.prototype.getContainer = function func_block() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js
index c154ad17..e70c0c82 100644
--- a/js/Misc/generic_block.js
+++ b/js/Misc/generic_block.js
@@ -134,4 +134,22 @@ function generic_block() {
generic_block.prototype.get_popup_title = function generic_block() {
return this.set_param_popup_title;
}
+ generic_block.prototype.importset = function generic_block() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.function_name = ary[0];
+ this.funtyp = ary[1];
+ this.i = ary[2];
+ this.o = ary[3];
+ this.ci = ary[4];
+ this.co = ary[5];
+ this.xx = ary[6];
+ this.z = ary[7];
+ this.rpar = ary[8];
+ this.ipar = ary[9];
+ this.auto0 = ary[10];
+ this.depu = ary[11];
+ this.dept = ary[12];
+ }
+ generic_block.prototype.getContainer = function generic_block() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js
index 73fc7e31..1b8583a3 100644
--- a/js/Misc/generic_block2.js
+++ b/js/Misc/generic_block2.js
@@ -140,4 +140,24 @@ function generic_block2() {
generic_block2.prototype.get_popup_title = function generic_block2() {
return this.set_param_popup_title;
}
+ generic_block2.prototype.importset = function generic_block2() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.function_name = ary[0];
+ this.funtyp = ary[1];
+ this.i = ary[2];
+ this.o = ary[3];
+ this.ci = ary[4];
+ this.co = ary[5];
+ this.xx = ary[6];
+ this.z = ary[7];
+ this.rpar = ary[8];
+ this.ipar = ary[9];
+ this.nmode = ary[10];
+ this.nzcr = ary[11];
+ this.auto0 = ary[12];
+ this.depu = ary[13];
+ this.dept = ary[14];
+ }
+ generic_block2.prototype.getContainer = function generic_block2() { return new BasicBlock(this.x); }
}
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); }
}
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index eda2f6f8..0a942142 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -126,4 +126,18 @@ function scifunc_block() {
scifunc_block.prototype.get_popup_title = function scifunc_block() {
return this.set_param_popup_title;
}
+ scifunc_block.prototype.importset = function scifunc_block() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.i = ary[0];
+ this.o = ary[1];
+ this.ci = ary[2];
+ this.co = ary[3];
+ this.xx = ary[4];
+ this.z = ary[5];
+ this.rpar = ary[6];
+ this.auto0 = ary[7];
+ this.deptime = ary[8];
+ }
+ scifunc_block.prototype.getContainer = function scifunc_block() { return new BasicBlock(this.x); }
}
diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js
index e2027a0f..3511ec9e 100644
--- a/js/Misc/scifunc_block_m.js
+++ b/js/Misc/scifunc_block_m.js
@@ -125,4 +125,18 @@ function scifunc_block_m() {
scifunc_block_m.prototype.get_popup_title = function scifunc_block_m() {
return this.set_param_popup_title;
}
+ scifunc_block_m.prototype.importset = function scifunc_block_m() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.i = ary[0];
+ this.o = ary[1];
+ this.ci = ary[2];
+ this.co = ary[3];
+ this.xx = ary[4];
+ this.z = ary[5];
+ this.rpar = ary[6];
+ this.auto0 = ary[7];
+ this.deptime = ary[8];
+ }
+ scifunc_block_m.prototype.getContainer = function scifunc_block_m() { return new BasicBlock(this.x); }
}