diff options
Diffstat (limited to 'js')
273 files changed, 1855 insertions, 8 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js index 92a467fe..2e97316a 100644 --- a/js/Branching/CLKFROM.js +++ b/js/Branching/CLKFROM.js @@ -51,4 +51,10 @@ function CLKFROM() { CLKFROM.prototype.get_popup_title = function CLKFROM() { return this.set_param_popup_title; } + CLKFROM.prototype.importset = function CLKFROM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + CLKFROM.prototype.getContainer = function CLKFROM() { return new BasicBlock(this.x); } } diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js index ee9672a0..f764da32 100644 --- a/js/Branching/CLKGOTO.js +++ b/js/Branching/CLKGOTO.js @@ -63,4 +63,11 @@ function CLKGOTO() { CLKGOTO.prototype.get_popup_title = function CLKGOTO() { return this.set_param_popup_title; } + CLKGOTO.prototype.importset = function CLKGOTO() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + this.tagvis = ary[1]; + } + CLKGOTO.prototype.getContainer = function CLKGOTO() { return new BasicBlock(this.x); } } diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js index 0db3370b..6d048342 100644 --- a/js/Branching/CLKGotoTagVisibility.js +++ b/js/Branching/CLKGotoTagVisibility.js @@ -57,4 +57,10 @@ function CLKGotoTagVisibility() { CLKGotoTagVisibility.prototype.get_popup_title = function CLKGotoTagVisibility() { return this.set_param_popup_title; } + CLKGotoTagVisibility.prototype.importset = function CLKGotoTagVisibility() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + CLKGotoTagVisibility.prototype.getContainer = function CLKGotoTagVisibility() { return new BasicBlock(this.x); } } diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js index b58dbc36..99f1c7a8 100644 --- a/js/Branching/DEMUX.js +++ b/js/Branching/DEMUX.js @@ -79,4 +79,10 @@ function DEMUX() { DEMUX.prototype.get_popup_title = function DEMUX() { return this.set_param_popup_title; } + DEMUX.prototype.importset = function DEMUX() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.out = ary[0]; + } + DEMUX.prototype.getContainer = function DEMUX() { return new BasicBlock(this.x); } } diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js index 7816a079..ee85ac9f 100644 --- a/js/Branching/DEMUX_f.js +++ b/js/Branching/DEMUX_f.js @@ -79,4 +79,10 @@ function DEMUX_f() { DEMUX_f.prototype.get_popup_title = function DEMUX_f() { return this.set_param_popup_title; } + DEMUX_f.prototype.importset = function DEMUX_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.out = ary[0]; + } + DEMUX_f.prototype.getContainer = function DEMUX_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js index 47e27c34..53b8f658 100644 --- a/js/Branching/ESELECT_f.js +++ b/js/Branching/ESELECT_f.js @@ -89,4 +89,12 @@ function ESELECT_f() { ESELECT_f.prototype.get_popup_title = function ESELECT_f() { return this.set_param_popup_title; } + ESELECT_f.prototype.importset = function ESELECT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.out = ary[0]; + this.inh = ary[1]; + this.nmod = ary[2]; + } + ESELECT_f.prototype.getContainer = function ESELECT_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js index b8f3d95d..96f9681b 100644 --- a/js/Branching/EXTRACTOR.js +++ b/js/Branching/EXTRACTOR.js @@ -53,4 +53,10 @@ function EXTRACTOR() { EXTRACTOR.prototype.get_popup_title = function EXTRACTOR() { return this.set_param_popup_title; } + EXTRACTOR.prototype.importset = function EXTRACTOR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.ind = ary[0]; + } + EXTRACTOR.prototype.getContainer = function EXTRACTOR() { return new BasicBlock(this.x); } } diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js index bc5fd14b..60d86563 100644 --- a/js/Branching/FROM.js +++ b/js/Branching/FROM.js @@ -57,4 +57,10 @@ function FROM() { FROM.prototype.get_popup_title = function FROM() { return this.set_param_popup_title; } + FROM.prototype.importset = function FROM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + FROM.prototype.getContainer = function FROM() { return new BasicBlock(this.x); } } diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js index 3007c53f..4d56fea7 100644 --- a/js/Branching/FROMMO.js +++ b/js/Branching/FROMMO.js @@ -60,4 +60,10 @@ function FROMMO() { FROMMO.prototype.get_popup_title = function FROMMO() { return this.set_param_popup_title; } + FROMMO.prototype.importset = function FROMMO() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + FROMMO.prototype.getContainer = function FROMMO() { return new BasicBlock(this.x); } } diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 3ffb5a40..e297b471 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -66,4 +66,11 @@ function GOTO() { GOTO.prototype.get_popup_title = function GOTO() { return this.set_param_popup_title; } + GOTO.prototype.importset = function GOTO() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + this.tagvis = ary[1]; + } + GOTO.prototype.getContainer = function GOTO() { return new BasicBlock(this.x); } } diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js index 24ed6c75..2f1c451c 100644 --- a/js/Branching/GOTOMO.js +++ b/js/Branching/GOTOMO.js @@ -69,4 +69,11 @@ function GOTOMO() { GOTOMO.prototype.get_popup_title = function GOTOMO() { return this.set_param_popup_title; } + GOTOMO.prototype.importset = function GOTOMO() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + this.tagvis = ary[1]; + } + GOTOMO.prototype.getContainer = function GOTOMO() { return new BasicBlock(this.x); } } diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js index 7a792965..b867eee0 100644 --- a/js/Branching/GotoTagVisibility.js +++ b/js/Branching/GotoTagVisibility.js @@ -57,4 +57,10 @@ function GotoTagVisibility() { GotoTagVisibility.prototype.get_popup_title = function GotoTagVisibility() { return this.set_param_popup_title; } + GotoTagVisibility.prototype.importset = function GotoTagVisibility() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + GotoTagVisibility.prototype.getContainer = function GotoTagVisibility() { return new BasicBlock(this.x); } } diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js index bc999818..d6743019 100644 --- a/js/Branching/GotoTagVisibilityMO.js +++ b/js/Branching/GotoTagVisibilityMO.js @@ -57,4 +57,10 @@ function GotoTagVisibilityMO() { GotoTagVisibilityMO.prototype.get_popup_title = function GotoTagVisibilityMO() { return this.set_param_popup_title; } + GotoTagVisibilityMO.prototype.importset = function GotoTagVisibilityMO() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tag = ary[0]; + } + GotoTagVisibilityMO.prototype.getContainer = function GotoTagVisibilityMO() { return new BasicBlock(this.x); } } diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js index 91d0c2d5..7e7fcaf9 100644 --- a/js/Branching/ISELECT_f.js +++ b/js/Branching/ISELECT_f.js @@ -61,4 +61,11 @@ function ISELECT_f() { ISELECT_f.prototype.get_popup_title = function ISELECT_f() { return this.set_param_popup_title; } + ISELECT_f.prototype.importset = function ISELECT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nout = ary[0]; + this.z0 = ary[1]; + } + ISELECT_f.prototype.getContainer = function ISELECT_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js index 8fafc3b4..8454a557 100644 --- a/js/Branching/ISELECT_m.js +++ b/js/Branching/ISELECT_m.js @@ -81,4 +81,12 @@ function ISELECT_m() { ISELECT_m.prototype.get_popup_title = function ISELECT_m() { return this.set_param_popup_title; } + ISELECT_m.prototype.importset = function ISELECT_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.nout = ary[1]; + this.z0 = ary[2]; + } + ISELECT_m.prototype.getContainer = function ISELECT_m() { return new BasicBlock(this.x); } } diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js index be1ddfe2..c42892d9 100644 --- a/js/Branching/MUX.js +++ b/js/Branching/MUX.js @@ -78,4 +78,10 @@ function MUX() { MUX.prototype.get_popup_title = function MUX() { return this.set_param_popup_title; } + MUX.prototype.importset = function MUX() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + } + MUX.prototype.getContainer = function MUX() { return new BasicBlock(this.x); } } diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js index d3ca9918..274150dd 100644 --- a/js/Branching/MUX_f.js +++ b/js/Branching/MUX_f.js @@ -78,4 +78,10 @@ function MUX_f() { MUX_f.prototype.get_popup_title = function MUX_f() { return this.set_param_popup_title; } + MUX_f.prototype.importset = function MUX_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + } + MUX_f.prototype.getContainer = function MUX_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js index a79a22b8..d15db4f1 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -81,4 +81,12 @@ function M_SWITCH() { M_SWITCH.prototype.get_popup_title = function M_SWITCH() { return this.set_param_popup_title; } + M_SWITCH.prototype.importset = function M_SWITCH() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + this.base = ary[1]; + this.rule = ary[2]; + } + M_SWITCH.prototype.getContainer = function M_SWITCH() { return new BasicBlock(this.x); } } diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js index 9cd2d219..af3171e1 100644 --- a/js/Branching/NRMSOM_f.js +++ b/js/Branching/NRMSOM_f.js @@ -50,4 +50,10 @@ function NRMSOM_f() { NRMSOM_f.prototype.get_popup_title = function NRMSOM_f() { return this.set_param_popup_title; } + NRMSOM_f.prototype.importset = function NRMSOM_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + } + NRMSOM_f.prototype.getContainer = function NRMSOM_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js index 2366b6f8..a6ea9e23 100644 --- a/js/Branching/RELAY_f.js +++ b/js/Branching/RELAY_f.js @@ -64,4 +64,11 @@ function RELAY_f() { RELAY_f.prototype.get_popup_title = function RELAY_f() { return this.set_param_popup_title; } + RELAY_f.prototype.importset = function RELAY_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + this.z0 = ary[1]; + } + RELAY_f.prototype.getContainer = function RELAY_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js index bfcbe004..3b34bd32 100644 --- a/js/Branching/SCALAR2VECTOR.js +++ b/js/Branching/SCALAR2VECTOR.js @@ -57,4 +57,10 @@ function SCALAR2VECTOR() { SCALAR2VECTOR.prototype.get_popup_title = function SCALAR2VECTOR() { return this.set_param_popup_title; } + SCALAR2VECTOR.prototype.importset = function SCALAR2VECTOR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nout = ary[0]; + } + SCALAR2VECTOR.prototype.getContainer = function SCALAR2VECTOR() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js index 68242bb4..aa756d11 100644 --- a/js/Branching/SELECT_f.js +++ b/js/Branching/SELECT_f.js @@ -61,4 +61,11 @@ function SELECT_f() { SELECT_f.prototype.get_popup_title = function SELECT_f() { return this.set_param_popup_title; } + SELECT_f.prototype.importset = function SELECT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + this.z0 = ary[1]; + } + SELECT_f.prototype.getContainer = function SELECT_f() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js index c565473b..c23d47e0 100644 --- a/js/Branching/SELECT_m.js +++ b/js/Branching/SELECT_m.js @@ -81,4 +81,12 @@ function SELECT_m() { SELECT_m.prototype.get_popup_title = function SELECT_m() { return this.set_param_popup_title; } + SELECT_m.prototype.importset = function SELECT_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.nin = ary[1]; + this.z0 = ary[2]; + } + SELECT_m.prototype.getContainer = function SELECT_m() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SELF_SWITCH.js b/js/Branching/SELF_SWITCH.js index 1b56a13d..eff53736 100644 --- a/js/Branching/SELF_SWITCH.js +++ b/js/Branching/SELF_SWITCH.js @@ -44,4 +44,5 @@ function SELF_SWITCH() { SELF_SWITCH.prototype.get_popup_title = function SELF_SWITCH() { return; } + SELF_SWITCH.prototype.getContainer = function SELF_SWITCH() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js index a816db73..1d89a132 100644 --- a/js/Branching/SWITCH2.js +++ b/js/Branching/SWITCH2.js @@ -70,4 +70,12 @@ function SWITCH2() { SWITCH2.prototype.get_popup_title = function SWITCH2() { return this.set_param_popup_title; } + SWITCH2.prototype.importset = function SWITCH2() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.rule = ary[0]; + this.thra = ary[1]; + this.nzz = ary[2]; + } + SWITCH2.prototype.getContainer = function SWITCH2() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index efdaac6e..6d3db25c 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -93,4 +93,13 @@ function SWITCH2_m() { SWITCH2_m.prototype.get_popup_title = function SWITCH2_m() { return this.set_param_popup_title; } + SWITCH2_m.prototype.importset = function SWITCH2_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.ot = ary[0]; + this.rule = ary[1]; + this.thra = ary[2]; + this.nzz = ary[3]; + } + SWITCH2_m.prototype.getContainer = function SWITCH2_m() { return new BasicBlock(this.x); } } diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js index 32240dfd..ee52e45e 100644 --- a/js/Branching/SWITCH_f.js +++ b/js/Branching/SWITCH_f.js @@ -63,4 +63,11 @@ function SWITCH_f() { SWITCH_f.prototype.get_popup_title = function SWITCH_f() { return this.set_param_popup_title; } + SWITCH_f.prototype.importset = function SWITCH_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + this.z0 = ary[1]; + } + SWITCH_f.prototype.getContainer = function SWITCH_f() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/CCS.js b/js/Electrical/CCS.js index 9afa75ad..1dd1dbfb 100644 --- a/js/Electrical/CCS.js +++ b/js/Electrical/CCS.js @@ -62,4 +62,5 @@ function CCS() { CCS.prototype.get_popup_title = function CCS() { return; } + CCS.prototype.getContainer = function CCS() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/CVS.js b/js/Electrical/CVS.js index 4ac0360b..046f609a 100644 --- a/js/Electrical/CVS.js +++ b/js/Electrical/CVS.js @@ -62,4 +62,5 @@ function CVS() { CVS.prototype.get_popup_title = function CVS() { return; } + CVS.prototype.getContainer = function CVS() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Capacitor.js b/js/Electrical/Capacitor.js index 50e5ac3e..b5428523 100644 --- a/js/Electrical/Capacitor.js +++ b/js/Electrical/Capacitor.js @@ -57,4 +57,11 @@ function Capacitor() { Capacitor.prototype.get_popup_title = function Capacitor() { return this.set_param_popup_title; } + Capacitor.prototype.importset = function Capacitor() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.C = ary[0]; + this.v = ary[1]; + } + Capacitor.prototype.getContainer = function Capacitor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index d1a1efb9..c37c72e6 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -54,4 +54,10 @@ function ConstantVoltage() { ConstantVoltage.prototype.get_popup_title = function ConstantVoltage() { return this.set_param_popup_title; } + ConstantVoltage.prototype.importset = function ConstantVoltage() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.V = ary[0]; + } + ConstantVoltage.prototype.getContainer = function ConstantVoltage() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/CurrentSensor.js b/js/Electrical/CurrentSensor.js index 3e80c859..b6366d58 100644 --- a/js/Electrical/CurrentSensor.js +++ b/js/Electrical/CurrentSensor.js @@ -31,4 +31,5 @@ function CurrentSensor() { CurrentSensor.prototype.get_popup_title = function CurrentSensor() { return; } + CurrentSensor.prototype.getContainer = function CurrentSensor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js index b50e5e1c..ed1dd814 100644 --- a/js/Electrical/Diode.js +++ b/js/Electrical/Diode.js @@ -63,4 +63,13 @@ function Diode() { Diode.prototype.get_popup_title = function Diode() { return this.set_param_popup_title; } + Diode.prototype.importset = function Diode() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Ids = ary[0]; + this.Vt = ary[1]; + this.Maxexp = ary[2]; + this.R = ary[3]; + } + Diode.prototype.getContainer = function Diode() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js index da4710ca..ad9d574c 100644 --- a/js/Electrical/Ground.js +++ b/js/Electrical/Ground.js @@ -30,4 +30,5 @@ function Ground() { Ground.prototype.get_popup_title = function Ground() { return; } + Ground.prototype.getContainer = function Ground() { return new GroundBlock(this.x); } } diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js index 71c2b2af..8519cdd0 100644 --- a/js/Electrical/Gyrator.js +++ b/js/Electrical/Gyrator.js @@ -82,4 +82,11 @@ function Gyrator() { Gyrator.prototype.get_popup_title = function Gyrator() { return this.set_param_popup_title; } + Gyrator.prototype.importset = function Gyrator() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.G1 = ary[0]; + this.G2 = ary[1]; + } + Gyrator.prototype.getContainer = function Gyrator() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/IdealTransformer.js b/js/Electrical/IdealTransformer.js index 69d389e8..584ebded 100644 --- a/js/Electrical/IdealTransformer.js +++ b/js/Electrical/IdealTransformer.js @@ -80,4 +80,10 @@ function IdealTransformer() { IdealTransformer.prototype.get_popup_title = function IdealTransformer() { return this.set_param_popup_title; } + IdealTransformer.prototype.importset = function IdealTransformer() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.N = ary[0]; + } + IdealTransformer.prototype.getContainer = function IdealTransformer() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index 1ae39c6e..eb7c148f 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -54,4 +54,10 @@ function Inductor() { Inductor.prototype.get_popup_title = function Inductor() { return this.set_param_popup_title; } + Inductor.prototype.importset = function Inductor() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.L = ary[0]; + } + Inductor.prototype.getContainer = function Inductor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/MOTOR.js b/js/Electrical/MOTOR.js index 7c834816..b950bd46 100644 --- a/js/Electrical/MOTOR.js +++ b/js/Electrical/MOTOR.js @@ -26,4 +26,5 @@ function MOTOR() { MOTOR.prototype.get_popup_title = function MOTOR() { return; } + MOTOR.prototype.getContainer = function MOTOR() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js index 79570aba..036fbadb 100644 --- a/js/Electrical/NMOS.js +++ b/js/Electrical/NMOS.js @@ -76,4 +76,18 @@ function NMOS() { NMOS.prototype.get_popup_title = function NMOS() { return this.set_param_popup_title; } + NMOS.prototype.importset = function NMOS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.W = ary[0]; + this.L = ary[1]; + this.Beta = ary[2]; + this.Vt = ary[3]; + this.K2 = ary[4]; + this.K5 = ary[5]; + this.dW = ary[6]; + this.dL = ary[7]; + this.RDS = ary[8]; + } + NMOS.prototype.getContainer = function NMOS() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js index 5d38e053..08768138 100644 --- a/js/Electrical/NPN.js +++ b/js/Electrical/NPN.js @@ -112,4 +112,26 @@ function NPN() { NPN.prototype.get_popup_title = function NPN() { return this.set_param_popup_title; } + NPN.prototype.importset = function NPN() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Bf = ary[0]; + this.Br = ary[1]; + this.Is = ary[2]; + this.Vak = ary[3]; + this.Tauf = ary[4]; + this.Taur = ary[5]; + this.Ccs = ary[6]; + this.Cje = ary[7]; + this.Cjc = ary[8]; + this.Phie = ary[9]; + this.Me = ary[10]; + this.Phic = ary[11]; + this.Mc = ary[12]; + this.Gbc = ary[13]; + this.Gbe = ary[14]; + this.Vt = ary[15]; + this.EMinMax = ary[16]; + } + NPN.prototype.getContainer = function NPN() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js index 266c2f7e..d9ee0174 100644 --- a/js/Electrical/OpAmp.js +++ b/js/Electrical/OpAmp.js @@ -58,4 +58,12 @@ function OpAmp() { OpAmp.prototype.get_popup_title = function OpAmp() { return this.set_param_popup_title; } + OpAmp.prototype.importset = function OpAmp() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.OLGain = ary[0]; + this.SatH = ary[1]; + this.SatL = ary[2]; + } + OpAmp.prototype.getContainer = function OpAmp() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js index 11a1d8a0..7010094f 100644 --- a/js/Electrical/PMOS.js +++ b/js/Electrical/PMOS.js @@ -76,4 +76,18 @@ function PMOS() { PMOS.prototype.get_popup_title = function PMOS() { return this.set_param_popup_title; } + PMOS.prototype.importset = function PMOS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.W = ary[0]; + this.L = ary[1]; + this.Beta = ary[2]; + this.Vt = ary[3]; + this.K2 = ary[4]; + this.K5 = ary[5]; + this.dW = ary[6]; + this.dL = ary[7]; + this.RDS = ary[8]; + } + PMOS.prototype.getContainer = function PMOS() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js index 6d660004..70d145e0 100644 --- a/js/Electrical/PNP.js +++ b/js/Electrical/PNP.js @@ -112,4 +112,26 @@ function PNP() { PNP.prototype.get_popup_title = function PNP() { return this.set_param_popup_title; } + PNP.prototype.importset = function PNP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Bf = ary[0]; + this.Br = ary[1]; + this.Is = ary[2]; + this.Vak = ary[3]; + this.Tauf = ary[4]; + this.Taur = ary[5]; + this.Ccs = ary[6]; + this.Cje = ary[7]; + this.Cjc = ary[8]; + this.Phie = ary[9]; + this.Me = ary[10]; + this.Phic = ary[11]; + this.Mc = ary[12]; + this.Gbc = ary[13]; + this.Gbe = ary[14]; + this.Vt = ary[15]; + this.EMinMax = ary[16]; + } + PNP.prototype.getContainer = function PNP() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/PotentialSensor.js b/js/Electrical/PotentialSensor.js index 8967885a..431dbde6 100644 --- a/js/Electrical/PotentialSensor.js +++ b/js/Electrical/PotentialSensor.js @@ -31,4 +31,5 @@ function PotentialSensor() { PotentialSensor.prototype.get_popup_title = function PotentialSensor() { return; } + PotentialSensor.prototype.getContainer = function PotentialSensor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js index 5fb15d83..c5e7f9f2 100644 --- a/js/Electrical/Resistor.js +++ b/js/Electrical/Resistor.js @@ -54,4 +54,10 @@ function Resistor() { Resistor.prototype.get_popup_title = function Resistor() { return this.set_param_popup_title; } + Resistor.prototype.importset = function Resistor() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.R = ary[0]; + } + Resistor.prototype.getContainer = function Resistor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js index b23ec90f..a72080d9 100644 --- a/js/Electrical/SineVoltage.js +++ b/js/Electrical/SineVoltage.js @@ -66,4 +66,14 @@ function SineVoltage() { SineVoltage.prototype.get_popup_title = function SineVoltage() { return this.set_param_popup_title; } + SineVoltage.prototype.importset = function SineVoltage() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.V = ary[0]; + this.ph = ary[1]; + this.frq = ary[2]; + this.offset = ary[3]; + this.start = ary[4]; + } + SineVoltage.prototype.getContainer = function SineVoltage() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js index 4126940c..4e9f289a 100644 --- a/js/Electrical/Switch.js +++ b/js/Electrical/Switch.js @@ -58,4 +58,11 @@ function Switch() { Switch.prototype.get_popup_title = function Switch() { return this.set_param_popup_title; } + Switch.prototype.importset = function Switch() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Ron = ary[0]; + this.Roff = ary[1]; + } + Switch.prototype.getContainer = function Switch() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/VVsourceAC.js b/js/Electrical/VVsourceAC.js index 8ee8ea7c..a1eccb99 100644 --- a/js/Electrical/VVsourceAC.js +++ b/js/Electrical/VVsourceAC.js @@ -55,4 +55,10 @@ function VVsourceAC() { VVsourceAC.prototype.get_popup_title = function VVsourceAC() { return this.set_param_popup_title; } + VVsourceAC.prototype.importset = function VVsourceAC() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.FR = ary[0]; + } + VVsourceAC.prototype.getContainer = function VVsourceAC() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/VariableResistor.js b/js/Electrical/VariableResistor.js index 0c6315ad..715cc39c 100644 --- a/js/Electrical/VariableResistor.js +++ b/js/Electrical/VariableResistor.js @@ -31,4 +31,5 @@ function VariableResistor() { VariableResistor.prototype.get_popup_title = function VariableResistor() { return; } + VariableResistor.prototype.getContainer = function VariableResistor() { return new BasicBlock(this.x); } } diff --git a/js/Electrical/VoltageSensor.js b/js/Electrical/VoltageSensor.js index 965b5c36..a131fed8 100644 --- a/js/Electrical/VoltageSensor.js +++ b/js/Electrical/VoltageSensor.js @@ -31,4 +31,5 @@ function VoltageSensor() { VoltageSensor.prototype.get_popup_title = function VoltageSensor() { return; } + VoltageSensor.prototype.getContainer = function VoltageSensor() { return new VoltageSensorBlock(this.x); } } diff --git a/js/Electrical/VsourceAC.js b/js/Electrical/VsourceAC.js index 6afabf23..f508bdcd 100644 --- a/js/Electrical/VsourceAC.js +++ b/js/Electrical/VsourceAC.js @@ -57,4 +57,11 @@ function VsourceAC() { VsourceAC.prototype.get_popup_title = function VsourceAC() { return this.set_param_popup_title; } + VsourceAC.prototype.importset = function VsourceAC() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.VA = ary[0]; + this.FR = ary[1]; + } + VsourceAC.prototype.getContainer = function VsourceAC() { return new BasicBlock(this.x); } } diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js index 015e942d..c21e23dd 100644 --- a/js/Events/ANDBLK.js +++ b/js/Events/ANDBLK.js @@ -79,4 +79,5 @@ function ANDBLK() { ANDBLK.prototype.get_popup_title = function ANDBLK() { return; } + ANDBLK.prototype.getContainer = function ANDBLK() { return new BasicBlock(this.x); } } diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js index e6dc330b..8b04cdd9 100644 --- a/js/Events/ANDLOG_f.js +++ b/js/Events/ANDLOG_f.js @@ -24,4 +24,5 @@ function ANDLOG_f() { ANDLOG_f.prototype.get_popup_title = function ANDLOG_f() { return; } + ANDLOG_f.prototype.getContainer = function ANDLOG_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js index e8c6f920..4507f100 100644 --- a/js/Events/CLKSOMV_f.js +++ b/js/Events/CLKSOMV_f.js @@ -24,4 +24,5 @@ function CLKSOMV_f() { CLKSOMV_f.prototype.get_popup_title = function CLKSOMV_f() { return; } + CLKSOMV_f.prototype.getContainer = function CLKSOMV_f() { return new RoundBlock(this.x); } } diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js index 4fc541d7..b16ce252 100644 --- a/js/Events/CLKSOM_f.js +++ b/js/Events/CLKSOM_f.js @@ -24,4 +24,5 @@ function CLKSOM_f() { CLKSOM_f.prototype.get_popup_title = function CLKSOM_f() { return; } + CLKSOM_f.prototype.getContainer = function CLKSOM_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js index 6b00da1f..e56d8c68 100644 --- a/js/Events/CLKSPLIT_f.js +++ b/js/Events/CLKSPLIT_f.js @@ -23,4 +23,5 @@ function CLKSPLIT_f() { CLKSPLIT_f.prototype.get_popup_title = function CLKSPLIT_f() { return; } + CLKSPLIT_f.prototype.getContainer = function CLKSPLIT_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/END_c.js b/js/Events/END_c.js index dbef2db3..e03dcf87 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -47,4 +47,10 @@ function END_c() { END_c.prototype.get_popup_title = function END_c() { return this.set_param_popup_title; } + END_c.prototype.importset = function END_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tf = ary[0]; + } + END_c.prototype.getContainer = function END_c() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js index 3c8e398f..32ccbf33 100644 --- a/js/Events/EVTDLY_c.js +++ b/js/Events/EVTDLY_c.js @@ -57,4 +57,11 @@ function EVTDLY_c() { EVTDLY_c.prototype.get_popup_title = function EVTDLY_c() { return this.set_param_popup_title; } + EVTDLY_c.prototype.importset = function EVTDLY_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.ff = ary[1]; + } + EVTDLY_c.prototype.getContainer = function EVTDLY_c() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index b9ae3462..9c933f9e 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -57,4 +57,11 @@ function EVTDLY_f() { EVTDLY_f.prototype.get_popup_title = function EVTDLY_f() { return this.set_param_popup_title; } + EVTDLY_f.prototype.importset = function EVTDLY_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.ff = ary[1]; + } + EVTDLY_f.prototype.getContainer = function EVTDLY_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index 38f785c0..28c63462 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -46,4 +46,10 @@ function EVTGEN_f() { EVTGEN_f.prototype.get_popup_title = function EVTGEN_f() { return this.set_param_popup_title; } + EVTGEN_f.prototype.importset = function EVTGEN_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tt = ary[0]; + } + EVTGEN_f.prototype.getContainer = function EVTGEN_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index dea4f4e1..8a6a39ac 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -46,4 +46,10 @@ function EVTVARDLY() { EVTVARDLY.prototype.get_popup_title = function EVTVARDLY() { return this.set_param_popup_title; } + EVTVARDLY.prototype.importset = function EVTVARDLY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.fir = ary[0]; + } + EVTVARDLY.prototype.getContainer = function EVTVARDLY() { return new BasicBlock(this.x); } } diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index 4fc8a9c8..cc851209 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -47,4 +47,10 @@ function HALT_f() { HALT_f.prototype.get_popup_title = function HALT_f() { return this.set_param_popup_title; } + HALT_f.prototype.importset = function HALT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.n = ary[0]; + } + HALT_f.prototype.getContainer = function HALT_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index 37ef1299..be153255 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -79,4 +79,11 @@ function IFTHEL_f() { IFTHEL_f.prototype.get_popup_title = function IFTHEL_f() { return this.set_param_popup_title; } + IFTHEL_f.prototype.importset = function IFTHEL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.inh = ary[0]; + this.nmod = ary[1]; + } + IFTHEL_f.prototype.getContainer = function IFTHEL_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js index dcf736a5..f8cd1604 100644 --- a/js/Events/MCLOCK_f.js +++ b/js/Events/MCLOCK_f.js @@ -98,4 +98,5 @@ function MCLOCK_f() { MCLOCK_f.prototype.get_popup_title = function MCLOCK_f() { return; } + MCLOCK_f.prototype.getContainer = function MCLOCK_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index 9ba515f3..d8d24bc2 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -25,8 +25,8 @@ function MFCLCK_f() { var exprs = this.graphics.exprs; this.set_param_popup_title = "Set Multifrequency clock parameters"; var options = { - dt:["basic period (1/f)",this.dt], - nn:["multiply by (n)",this.nn], + dt:["basic period (1/f)",this.dt], + nn:["multiply by (n)",this.nn], } return options; } @@ -51,4 +51,11 @@ function MFCLCK_f() { MFCLCK_f.prototype.get_popup_title = function MFCLCK_f() { return this.set_param_popup_title; } + MFCLCK_f.prototype.importset = function MFCLCK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.nn = ary[1]; + } + MFCLCK_f.prototype.getContainer = function MFCLCK_f() { return new BasicBlock(this.x); } } diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js index da2cb73e..09c5871c 100644 --- a/js/Events/M_freq.js +++ b/js/Events/M_freq.js @@ -88,4 +88,11 @@ function M_freq() { M_freq.prototype.get_popup_title = function M_freq() { return this.set_param_popup_title; } + M_freq.prototype.importset = function M_freq() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.frequ = ary[0]; + this.offset = ary[1]; + } + M_freq.prototype.getContainer = function M_freq() { return new BasicBlock(this.x); } } diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js index fd0a5f9a..5e0e3840 100644 --- a/js/Events/VirtualCLK0.js +++ b/js/Events/VirtualCLK0.js @@ -25,4 +25,5 @@ function VirtualCLK0() { VirtualCLK0.prototype.get_popup_title = function VirtualCLK0() { return; } + VirtualCLK0.prototype.getContainer = function VirtualCLK0() { return new BasicBlock(this.x); } } diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index eca2fe7b..42e64ddb 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -228,4 +228,11 @@ function freq_div() { freq_div.prototype.get_popup_title = function freq_div() { return this.set_param_popup_title; } + freq_div.prototype.importset = function freq_div() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.%ph = ary[0]; + this.%df = ary[1]; + } + freq_div.prototype.getContainer = function freq_div() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/Bache.js b/js/Hydraulics/Bache.js index 39f3db38..6b678396 100644 --- a/js/Hydraulics/Bache.js +++ b/js/Hydraulics/Bache.js @@ -82,4 +82,18 @@ function Bache() { Bache.prototype.get_popup_title = function Bache() { return this.set_param_popup_title; } + Bache.prototype.importset = function Bache() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Patm = ary[0]; + this.A = ary[1]; + this.ze1 = ary[2]; + this.ze2 = ary[3]; + this.zs1 = ary[4]; + this.zs2 = ary[5]; + this.z0 = ary[6]; + this.T0 = ary[7]; + this.p_rho = ary[8]; + } + Bache.prototype.getContainer = function Bache() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js index 52f64379..61846da9 100644 --- a/js/Hydraulics/Flowmeter.js +++ b/js/Hydraulics/Flowmeter.js @@ -80,4 +80,10 @@ function Flowmeter() { Flowmeter.prototype.get_popup_title = function Flowmeter() { return this.set_param_popup_title; } + Flowmeter.prototype.importset = function Flowmeter() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Qini = ary[0]; + } + Flowmeter.prototype.getContainer = function Flowmeter() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/PerteDP.js b/js/Hydraulics/PerteDP.js index 80939bc5..f0cd6845 100644 --- a/js/Hydraulics/PerteDP.js +++ b/js/Hydraulics/PerteDP.js @@ -71,4 +71,15 @@ function PerteDP() { PerteDP.prototype.get_popup_title = function PerteDP() { return this.set_param_popup_title; } + PerteDP.prototype.importset = function PerteDP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.L = ary[0]; + this.D = ary[1]; + this.lambda = ary[2]; + this.z1 = ary[3]; + this.z2 = ary[4]; + this.p_rho = ary[5]; + } + PerteDP.prototype.getContainer = function PerteDP() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/PuitsP.js b/js/Hydraulics/PuitsP.js index eb2937b3..cce6b1e0 100644 --- a/js/Hydraulics/PuitsP.js +++ b/js/Hydraulics/PuitsP.js @@ -60,4 +60,13 @@ function PuitsP() { PuitsP.prototype.get_popup_title = function PuitsP() { return this.set_param_popup_title; } + PuitsP.prototype.importset = function PuitsP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.P0 = ary[0]; + this.T0 = ary[1]; + this.H0 = ary[2]; + this.option_temperature = ary[3]; + } + PuitsP.prototype.getContainer = function PuitsP() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/SourceP.js b/js/Hydraulics/SourceP.js index 708ea843..cd102435 100644 --- a/js/Hydraulics/SourceP.js +++ b/js/Hydraulics/SourceP.js @@ -62,4 +62,13 @@ function SourceP() { SourceP.prototype.get_popup_title = function SourceP() { return this.set_param_popup_title; } + SourceP.prototype.importset = function SourceP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.P0 = ary[0]; + this.T0 = ary[1]; + this.H0 = ary[2]; + this.option_temperature = ary[3]; + } + SourceP.prototype.getContainer = function SourceP() { return new BasicBlock(this.x); } } diff --git a/js/Hydraulics/VanneReglante.js b/js/Hydraulics/VanneReglante.js index a52ab470..bdbc8f1f 100644 --- a/js/Hydraulics/VanneReglante.js +++ b/js/Hydraulics/VanneReglante.js @@ -59,4 +59,11 @@ function VanneReglante() { VanneReglante.prototype.get_popup_title = function VanneReglante() { return this.set_param_popup_title; } + VanneReglante.prototype.importset = function VanneReglante() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Cvmax = ary[0]; + this.p_rho = ary[1]; + } + VanneReglante.prototype.getContainer = function VanneReglante() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js index a22a133c..24cbcb70 100644 --- a/js/IntegerOp/BITCLEAR.js +++ b/js/IntegerOp/BITCLEAR.js @@ -99,4 +99,11 @@ function BITCLEAR() { BITCLEAR.prototype.get_popup_title = function BITCLEAR() { return this.set_param_popup_title; } + BITCLEAR.prototype.importset = function BITCLEAR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.bit = ary[1]; + } + BITCLEAR.prototype.getContainer = function BITCLEAR() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js index 46a5273b..fa2e3276 100644 --- a/js/IntegerOp/BITSET.js +++ b/js/IntegerOp/BITSET.js @@ -97,4 +97,11 @@ function BITSET() { BITSET.prototype.get_popup_title = function BITSET() { return this.set_param_popup_title; } + BITSET.prototype.importset = function BITSET() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.bit = ary[1]; + } + BITSET.prototype.getContainer = function BITSET() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js index be253a0c..6aeb796a 100644 --- a/js/IntegerOp/CONVERT.js +++ b/js/IntegerOp/CONVERT.js @@ -385,4 +385,12 @@ function CONVERT() { CONVERT.prototype.get_popup_title = function CONVERT() { return this.set_param_popup_title; } + CONVERT.prototype.importset = function CONVERT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.it = ary[0]; + this.ot = ary[1]; + this.np = ary[2]; + } + CONVERT.prototype.getContainer = function CONVERT() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js index e73cbdff..c68f3309 100644 --- a/js/IntegerOp/DFLIPFLOP.js +++ b/js/IntegerOp/DFLIPFLOP.js @@ -104,4 +104,5 @@ function DFLIPFLOP() { DFLIPFLOP.prototype.get_popup_title = function DFLIPFLOP() { return; } + DFLIPFLOP.prototype.getContainer = function DFLIPFLOP() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/DLATCH.js b/js/IntegerOp/DLATCH.js index 3db5ca98..298fd58d 100644 --- a/js/IntegerOp/DLATCH.js +++ b/js/IntegerOp/DLATCH.js @@ -49,4 +49,5 @@ function DLATCH() { DLATCH.prototype.get_popup_title = function DLATCH() { return; } + DLATCH.prototype.getContainer = function DLATCH() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js index 805f0e68..9169912e 100644 --- a/js/IntegerOp/EXTRACTBITS.js +++ b/js/IntegerOp/EXTRACTBITS.js @@ -246,4 +246,13 @@ function EXTRACTBITS() { EXTRACTBITS.prototype.get_popup_title = function EXTRACTBITS() { return this.set_param_popup_title; } + EXTRACTBITS.prototype.importset = function EXTRACTBITS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.rule = ary[1]; + this.bit = ary[2]; + this.scal = ary[3]; + } + EXTRACTBITS.prototype.getContainer = function EXTRACTBITS() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js index ed5a179e..846423e9 100644 --- a/js/IntegerOp/INTMUL.js +++ b/js/IntegerOp/INTMUL.js @@ -119,4 +119,11 @@ function INTMUL() { INTMUL.prototype.get_popup_title = function INTMUL() { return this.set_param_popup_title; } + INTMUL.prototype.importset = function INTMUL() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.np = ary[1]; + } + INTMUL.prototype.getContainer = function INTMUL() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js index a4c3d615..5589328a 100644 --- a/js/IntegerOp/JKFLIPFLOP.js +++ b/js/IntegerOp/JKFLIPFLOP.js @@ -115,4 +115,10 @@ function JKFLIPFLOP() { JKFLIPFLOP.prototype.get_popup_title = function JKFLIPFLOP() { return this.set_param_popup_title; } + JKFLIPFLOP.prototype.importset = function JKFLIPFLOP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.init = ary[0]; + } + JKFLIPFLOP.prototype.getContainer = function JKFLIPFLOP() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js index 8575f03d..72aa91c3 100644 --- a/js/IntegerOp/LOGIC.js +++ b/js/IntegerOp/LOGIC.js @@ -79,4 +79,11 @@ function LOGIC() { LOGIC.prototype.get_popup_title = function LOGIC() { return this.set_param_popup_title; } + LOGIC.prototype.importset = function LOGIC() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.mat = ary[0]; + this.herit = ary[1]; + } + LOGIC.prototype.getContainer = function LOGIC() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js index 21285d80..dfdf4b74 100644 --- a/js/IntegerOp/SHIFT.js +++ b/js/IntegerOp/SHIFT.js @@ -136,4 +136,12 @@ function SHIFT() { SHIFT.prototype.get_popup_title = function SHIFT() { return this.set_param_popup_title; } + SHIFT.prototype.importset = function SHIFT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.nb = ary[1]; + this.np = ary[2]; + } + SHIFT.prototype.getContainer = function SHIFT() { return new BasicBlock(this.x); } } diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js index fbd3038b..c621ccd2 100644 --- a/js/IntegerOp/SRFLIPFLOP.js +++ b/js/IntegerOp/SRFLIPFLOP.js @@ -99,4 +99,10 @@ function SRFLIPFLOP() { SRFLIPFLOP.prototype.get_popup_title = function SRFLIPFLOP() { return this.set_param_popup_title; } + SRFLIPFLOP.prototype.importset = function SRFLIPFLOP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.init = ary[0]; + } + SRFLIPFLOP.prototype.getContainer = function SRFLIPFLOP() { return new BasicBlock(this.x); } } diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js index 82858cb8..e627ceac 100644 --- a/js/Linear/BIGSOM_f.js +++ b/js/Linear/BIGSOM_f.js @@ -52,4 +52,10 @@ function BIGSOM_f() { BIGSOM_f.prototype.get_popup_title = function BIGSOM_f() { return this.set_param_popup_title; } + BIGSOM_f.prototype.importset = function BIGSOM_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.sgn = ary[0]; + } + BIGSOM_f.prototype.getContainer = function BIGSOM_f() { return new BigSom(this.x); } } diff --git a/js/Linear/CLINDUMMY_f.js b/js/Linear/CLINDUMMY_f.js index 73e4bd95..3f18b779 100644 --- a/js/Linear/CLINDUMMY_f.js +++ b/js/Linear/CLINDUMMY_f.js @@ -24,4 +24,5 @@ function CLINDUMMY_f() { CLINDUMMY_f.prototype.get_popup_title = function CLINDUMMY_f() { return; } + CLINDUMMY_f.prototype.getContainer = function CLINDUMMY_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/CLR.js b/js/Linear/CLR.js index b39762ae..099c7f26 100644 --- a/js/Linear/CLR.js +++ b/js/Linear/CLR.js @@ -97,4 +97,11 @@ function CLR() { CLR.prototype.get_popup_title = function CLR() { return this.set_param_popup_title; } + CLR.prototype.importset = function CLR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.num = ary[0]; + this.den = ary[1]; + } + CLR.prototype.getContainer = function CLR() { return new BasicBlock(this.x); } } diff --git a/js/Linear/CLR_f.js b/js/Linear/CLR_f.js index d08a56e2..495190d4 100644 --- a/js/Linear/CLR_f.js +++ b/js/Linear/CLR_f.js @@ -97,4 +97,11 @@ function CLR_f() { CLR_f.prototype.get_popup_title = function CLR_f() { return this.set_param_popup_title; } + CLR_f.prototype.importset = function CLR_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.num = ary[0]; + this.den = ary[1]; + } + CLR_f.prototype.getContainer = function CLR_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/CLSS.js b/js/Linear/CLSS.js index 5f732c5d..84082b48 100644 --- a/js/Linear/CLSS.js +++ b/js/Linear/CLSS.js @@ -112,4 +112,14 @@ function CLSS() { CLSS.prototype.get_popup_title = function CLSS() { return this.set_param_popup_title; } + CLSS.prototype.importset = function CLSS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + CLSS.prototype.getContainer = function CLSS() { return new BasicBlock(this.x); } } diff --git a/js/Linear/CLSS_f.js b/js/Linear/CLSS_f.js index 98eb5131..be51de15 100644 --- a/js/Linear/CLSS_f.js +++ b/js/Linear/CLSS_f.js @@ -102,4 +102,14 @@ function CLSS_f() { CLSS_f.prototype.get_popup_title = function CLSS_f() { return this.set_param_popup_title; } + CLSS_f.prototype.importset = function CLSS_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + CLSS_f.prototype.getContainer = function CLSS_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DELAYV_f.js b/js/Linear/DELAYV_f.js index 027adbd7..5ddae67d 100644 --- a/js/Linear/DELAYV_f.js +++ b/js/Linear/DELAYV_f.js @@ -83,4 +83,12 @@ function DELAYV_f() { DELAYV_f.prototype.get_popup_title = function DELAYV_f() { return this.set_param_popup_title; } + DELAYV_f.prototype.importset = function DELAYV_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + this.zz0 = ary[1]; + this.T = ary[2]; + } + DELAYV_f.prototype.getContainer = function DELAYV_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DELAY_f.js b/js/Linear/DELAY_f.js index ee4b8dae..b2534994 100644 --- a/js/Linear/DELAY_f.js +++ b/js/Linear/DELAY_f.js @@ -159,4 +159,11 @@ function DELAY_f() { DELAY_f.prototype.get_popup_title = function DELAY_f() { return this.set_param_popup_title; } + DELAY_f.prototype.importset = function DELAY_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.z0 = ary[1]; + } + DELAY_f.prototype.getContainer = function DELAY_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js index 7180b6b2..62c44035 100644 --- a/js/Linear/DERIV.js +++ b/js/Linear/DERIV.js @@ -24,4 +24,5 @@ function DERIV() { DERIV.prototype.get_popup_title = function DERIV() { return; } + DERIV.prototype.getContainer = function DERIV() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index 118ba2cb..b4b3be6d 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -66,4 +66,11 @@ function DIFF_c() { DIFF_c.prototype.get_popup_title = function DIFF_c() { return this.set_param_popup_title; } + DIFF_c.prototype.importset = function DIFF_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.x0 = ary[0]; + this.xd0 = ary[1]; + } + DIFF_c.prototype.getContainer = function DIFF_c() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DLR.js b/js/Linear/DLR.js index 04ada0c5..3f81e918 100644 --- a/js/Linear/DLR.js +++ b/js/Linear/DLR.js @@ -93,4 +93,11 @@ function DLR() { DLR.prototype.get_popup_title = function DLR() { return this.set_param_popup_title; } + DLR.prototype.importset = function DLR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.num = ary[0]; + this.den = ary[1]; + } + DLR.prototype.getContainer = function DLR() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DLR_f.js b/js/Linear/DLR_f.js index cc0b8b26..43726a43 100644 --- a/js/Linear/DLR_f.js +++ b/js/Linear/DLR_f.js @@ -93,4 +93,11 @@ function DLR_f() { DLR_f.prototype.get_popup_title = function DLR_f() { return this.set_param_popup_title; } + DLR_f.prototype.importset = function DLR_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.num = ary[0]; + this.den = ary[1]; + } + DLR_f.prototype.getContainer = function DLR_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js index e3b84916..7d586128 100644 --- a/js/Linear/DLSS.js +++ b/js/Linear/DLSS.js @@ -111,4 +111,14 @@ function DLSS() { DLSS.prototype.get_popup_title = function DLSS() { return this.set_param_popup_title; } + DLSS.prototype.importset = function DLSS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + DLSS.prototype.getContainer = function DLSS() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js index e85a06ef..4ffc0451 100644 --- a/js/Linear/DLSS_f.js +++ b/js/Linear/DLSS_f.js @@ -101,4 +101,14 @@ function DLSS_f() { DLSS_f.prototype.get_popup_title = function DLSS_f() { return this.set_param_popup_title; } + DLSS_f.prototype.importset = function DLSS_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + DLSS_f.prototype.getContainer = function DLSS_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DOLLAR.js b/js/Linear/DOLLAR.js index af263c92..9e8aaefe 100644 --- a/js/Linear/DOLLAR.js +++ b/js/Linear/DOLLAR.js @@ -107,4 +107,11 @@ function DOLLAR() { DOLLAR.prototype.get_popup_title = function DOLLAR() { return this.set_param_popup_title; } + DOLLAR.prototype.importset = function DOLLAR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.inh = ary[1]; + } + DOLLAR.prototype.getContainer = function DOLLAR() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DOLLAR_f.js b/js/Linear/DOLLAR_f.js index 04d5cf15..4a7e8a77 100644 --- a/js/Linear/DOLLAR_f.js +++ b/js/Linear/DOLLAR_f.js @@ -71,4 +71,11 @@ function DOLLAR_f() { DOLLAR_f.prototype.get_popup_title = function DOLLAR_f() { return this.set_param_popup_title; } + DOLLAR_f.prototype.importset = function DOLLAR_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.inh = ary[1]; + } + DOLLAR_f.prototype.getContainer = function DOLLAR_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js index 8108e69a..0d966003 100644 --- a/js/Linear/DOLLAR_m.js +++ b/js/Linear/DOLLAR_m.js @@ -107,4 +107,11 @@ function DOLLAR_m() { DOLLAR_m.prototype.get_popup_title = function DOLLAR_m() { return this.set_param_popup_title; } + DOLLAR_m.prototype.importset = function DOLLAR_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.inh = ary[1]; + } + DOLLAR_m.prototype.getContainer = function DOLLAR_m() { return new BasicBlock(this.x); } } diff --git a/js/Linear/GAINBLK.js b/js/Linear/GAINBLK.js index 0c75a5a7..e5411e83 100644 --- a/js/Linear/GAINBLK.js +++ b/js/Linear/GAINBLK.js @@ -174,4 +174,11 @@ function GAINBLK() { GAINBLK.prototype.get_popup_title = function GAINBLK() { return this.set_param_popup_title; } + GAINBLK.prototype.importset = function GAINBLK() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.gain = ary[0]; + this.over = ary[1]; + } + GAINBLK.prototype.getContainer = function GAINBLK() { return new BasicBlock(this.x); } } diff --git a/js/Linear/GAINBLK_f.js b/js/Linear/GAINBLK_f.js index b3b22d63..ed7d0168 100644 --- a/js/Linear/GAINBLK_f.js +++ b/js/Linear/GAINBLK_f.js @@ -61,4 +61,10 @@ function GAINBLK_f() { GAINBLK_f.prototype.get_popup_title = function GAINBLK_f() { return this.set_param_popup_title; } + GAINBLK_f.prototype.importset = function GAINBLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.gain = ary[0]; + } + GAINBLK_f.prototype.getContainer = function GAINBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js index a141ab47..a9c88c8c 100644 --- a/js/Linear/GAIN_f.js +++ b/js/Linear/GAIN_f.js @@ -61,4 +61,10 @@ function GAIN_f() { GAIN_f.prototype.get_popup_title = function GAIN_f() { return this.set_param_popup_title; } + GAIN_f.prototype.importset = function GAIN_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.gain = ary[0]; + } + GAIN_f.prototype.getContainer = function GAIN_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js index 372bee07..d8e67c20 100644 --- a/js/Linear/INTEGRAL.js +++ b/js/Linear/INTEGRAL.js @@ -102,4 +102,14 @@ function INTEGRAL() { INTEGRAL.prototype.get_popup_title = function INTEGRAL() { return this.set_param_popup_title; } + INTEGRAL.prototype.importset = function INTEGRAL() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.x0 = ary[0]; + this.reinit = ary[1]; + this.satur = ary[2]; + this.maxp = ary[3]; + this.lowp = ary[4]; + } + INTEGRAL.prototype.getContainer = function INTEGRAL() { return new BasicBlock(this.x); } } diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js index c7e7854b..7d790a0f 100644 --- a/js/Linear/INTEGRAL_f.js +++ b/js/Linear/INTEGRAL_f.js @@ -46,4 +46,10 @@ function INTEGRAL_f() { INTEGRAL_f.prototype.get_popup_title = function INTEGRAL_f() { return this.set_param_popup_title; } + INTEGRAL_f.prototype.importset = function INTEGRAL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.x0 = ary[0]; + } + INTEGRAL_f.prototype.getContainer = function INTEGRAL_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js index b0efc448..f8ea8987 100644 --- a/js/Linear/INTEGRAL_m.js +++ b/js/Linear/INTEGRAL_m.js @@ -149,4 +149,14 @@ function INTEGRAL_m() { INTEGRAL_m.prototype.get_popup_title = function INTEGRAL_m() { return this.set_param_popup_title; } + INTEGRAL_m.prototype.importset = function INTEGRAL_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.x0 = ary[0]; + this.reinit = ary[1]; + this.satur = ary[2]; + this.maxp = ary[3]; + this.lowp = ary[4]; + } + INTEGRAL_m.prototype.getContainer = function INTEGRAL_m() { return new BasicBlock(this.x); } } diff --git a/js/Linear/PID.js b/js/Linear/PID.js index 8759a559..18a396f6 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -170,4 +170,12 @@ function PID() { PID.prototype.get_popup_title = function PID() { return this.set_param_popup_title; } + PID.prototype.importset = function PID() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.p = ary[0]; + this.i = ary[1]; + this.d = ary[2]; + } + PID.prototype.getContainer = function PID() { return new BasicBlock(this.x); } } diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js index 86c391b7..154d8450 100644 --- a/js/Linear/REGISTER.js +++ b/js/Linear/REGISTER.js @@ -99,4 +99,11 @@ function REGISTER() { REGISTER.prototype.get_popup_title = function REGISTER() { return this.set_param_popup_title; } + REGISTER.prototype.importset = function REGISTER() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.z0 = ary[0]; + this.it = ary[1]; + } + REGISTER.prototype.getContainer = function REGISTER() { return new BasicBlock(this.x); } } diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js index 3e660cc3..7ed6089e 100644 --- a/js/Linear/REGISTER_f.js +++ b/js/Linear/REGISTER_f.js @@ -53,4 +53,10 @@ function REGISTER_f() { REGISTER_f.prototype.get_popup_title = function REGISTER_f() { return this.set_param_popup_title; } + REGISTER_f.prototype.importset = function REGISTER_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.z0 = ary[0]; + } + REGISTER_f.prototype.getContainer = function REGISTER_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js index 76c5b115..1e78b462 100644 --- a/js/Linear/SAMPHOLD.js +++ b/js/Linear/SAMPHOLD.js @@ -26,4 +26,5 @@ function SAMPHOLD() { SAMPHOLD.prototype.get_popup_title = function SAMPHOLD() { return; } + SAMPHOLD.prototype.getContainer = function SAMPHOLD() { return new BasicBlock(this.x); } } diff --git a/js/Linear/SAMPHOLD_m.js b/js/Linear/SAMPHOLD_m.js index 5626fe8c..be5826c3 100644 --- a/js/Linear/SAMPHOLD_m.js +++ b/js/Linear/SAMPHOLD_m.js @@ -61,4 +61,10 @@ function SAMPHOLD_m() { SAMPHOLD_m.prototype.get_popup_title = function SAMPHOLD_m() { return this.set_param_popup_title; } + SAMPHOLD_m.prototype.importset = function SAMPHOLD_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.it = ary[0]; + } + SAMPHOLD_m.prototype.getContainer = function SAMPHOLD_m() { return new BasicBlock(this.x); } } diff --git a/js/Linear/SAMPLEHOLD_f.js b/js/Linear/SAMPLEHOLD_f.js index aa828d29..016d61cf 100644 --- a/js/Linear/SAMPLEHOLD_f.js +++ b/js/Linear/SAMPLEHOLD_f.js @@ -26,4 +26,5 @@ function SAMPLEHOLD_f() { SAMPLEHOLD_f.prototype.get_popup_title = function SAMPLEHOLD_f() { return; } + SAMPLEHOLD_f.prototype.getContainer = function SAMPLEHOLD_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/SOM_f.js b/js/Linear/SOM_f.js index f2f1902f..75244d12 100644 --- a/js/Linear/SOM_f.js +++ b/js/Linear/SOM_f.js @@ -42,4 +42,5 @@ function SOM_f() { SOM_f.prototype.get_popup_title = function SOM_f() { return; } + SOM_f.prototype.getContainer = function SOM_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js index 665519fc..576abc20 100644 --- a/js/Linear/SUMMATION.js +++ b/js/Linear/SUMMATION.js @@ -161,4 +161,12 @@ function SUMMATION() { SUMMATION.prototype.get_popup_title = function SUMMATION() { return this.set_param_popup_title; } + SUMMATION.prototype.importset = function SUMMATION() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Datatype = ary[0]; + this.sgn = ary[1]; + this.satur = ary[2]; + } + SUMMATION.prototype.getContainer = function SUMMATION() { return new Summation(this.x); } } diff --git a/js/Linear/SUM_f.js b/js/Linear/SUM_f.js index 679e71cc..5e1478b1 100644 --- a/js/Linear/SUM_f.js +++ b/js/Linear/SUM_f.js @@ -24,4 +24,5 @@ function SUM_f() { SUM_f.prototype.get_popup_title = function SUM_f() { return; } + SUM_f.prototype.getContainer = function SUM_f() { return new RoundBlock(this.x); } } diff --git a/js/Linear/TCLSS.js b/js/Linear/TCLSS.js index 63c2ab86..c59b26d2 100644 --- a/js/Linear/TCLSS.js +++ b/js/Linear/TCLSS.js @@ -109,4 +109,14 @@ function TCLSS() { TCLSS.prototype.get_popup_title = function TCLSS() { return this.set_param_popup_title; } + TCLSS.prototype.importset = function TCLSS() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + TCLSS.prototype.getContainer = function TCLSS() { return new BasicBlock(this.x); } } diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index 35a50172..96dea00a 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -109,4 +109,14 @@ function TCLSS_f() { TCLSS_f.prototype.get_popup_title = function TCLSS_f() { return this.set_param_popup_title; } + TCLSS_f.prototype.importset = function TCLSS_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.A = ary[0]; + this.B = ary[1]; + this.C = ary[2]; + this.D = ary[3]; + this.x0 = ary[4]; + } + TCLSS_f.prototype.getContainer = function TCLSS_f() { return new BasicBlock(this.x); } } diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js index 8a9510ac..c963cec6 100644 --- a/js/Linear/TIME_DELAY.js +++ b/js/Linear/TIME_DELAY.js @@ -75,4 +75,12 @@ function TIME_DELAY() { TIME_DELAY.prototype.get_popup_title = function TIME_DELAY() { return this.set_param_popup_title; } + TIME_DELAY.prototype.importset = function TIME_DELAY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.T = ary[0]; + this.init = ary[1]; + this.N = ary[2]; + } + TIME_DELAY.prototype.getContainer = function TIME_DELAY() { return new BasicBlock(this.x); } } diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js index f5af9a08..cd74717b 100644 --- a/js/Linear/VARIABLE_DELAY.js +++ b/js/Linear/VARIABLE_DELAY.js @@ -74,4 +74,12 @@ function VARIABLE_DELAY() { VARIABLE_DELAY.prototype.get_popup_title = function VARIABLE_DELAY() { return this.set_param_popup_title; } + VARIABLE_DELAY.prototype.importset = function VARIABLE_DELAY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.T = ary[0]; + this.init = ary[1]; + this.N = ary[2]; + } + VARIABLE_DELAY.prototype.getContainer = function VARIABLE_DELAY() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index e4c3f6ea..87dabf7f 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -110,4 +110,11 @@ function CUMSUM() { CUMSUM.prototype.get_popup_title = function CUMSUM() { return this.set_param_popup_title; } + CUMSUM.prototype.importset = function CUMSUM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.decomptyp = ary[1]; + } + CUMSUM.prototype.getContainer = function CUMSUM() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/EXTRACT.js b/js/MatrixOp/EXTRACT.js index 9af77da4..d0a886ca 100644 --- a/js/MatrixOp/EXTRACT.js +++ b/js/MatrixOp/EXTRACT.js @@ -111,4 +111,12 @@ function EXTRACT() { EXTRACT.prototype.get_popup_title = function EXTRACT() { return this.set_param_popup_title; } + EXTRACT.prototype.importset = function EXTRACT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.a = ary[1]; + this.b = ary[2]; + } + EXTRACT.prototype.getContainer = function EXTRACT() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index 726daa2c..2b82a4e1 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -107,4 +107,11 @@ function EXTTRI() { EXTTRI.prototype.get_popup_title = function EXTTRI() { return this.set_param_popup_title; } + EXTTRI.prototype.importset = function EXTTRI() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.decomptyp = ary[1]; + } + EXTTRI.prototype.getContainer = function EXTTRI() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js index 3f8e402b..4a798e34 100644 --- a/js/MatrixOp/MATBKSL.js +++ b/js/MatrixOp/MATBKSL.js @@ -83,4 +83,10 @@ function MATBKSL() { MATBKSL.prototype.get_popup_title = function MATBKSL() { return this.set_param_popup_title; } + MATBKSL.prototype.importset = function MATBKSL() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATBKSL.prototype.getContainer = function MATBKSL() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index b176cd8c..6aa349dc 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -72,4 +72,10 @@ function MATCATH() { MATCATH.prototype.get_popup_title = function MATCATH() { return this.set_param_popup_title; } + MATCATH.prototype.importset = function MATCATH() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + } + MATCATH.prototype.getContainer = function MATCATH() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js index 80a2fee4..64efd3cd 100644 --- a/js/MatrixOp/MATCATV.js +++ b/js/MatrixOp/MATCATV.js @@ -73,4 +73,10 @@ function MATCATV() { MATCATV.prototype.get_popup_title = function MATCATV() { return this.set_param_popup_title; } + MATCATV.prototype.importset = function MATCATV() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nin = ary[0]; + } + MATCATV.prototype.getContainer = function MATCATV() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index b03953df..6625ebc3 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -83,4 +83,10 @@ function MATDET() { MATDET.prototype.get_popup_title = function MATDET() { return this.set_param_popup_title; } + MATDET.prototype.importset = function MATDET() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATDET.prototype.getContainer = function MATDET() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index 80baf684..5d692d08 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -83,4 +83,10 @@ function MATDIAG() { MATDIAG.prototype.get_popup_title = function MATDIAG() { return this.set_param_popup_title; } + MATDIAG.prototype.importset = function MATDIAG() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATDIAG.prototype.getContainer = function MATDIAG() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index b2fd6830..57aaf629 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -83,4 +83,10 @@ function MATDIV() { MATDIV.prototype.get_popup_title = function MATDIV() { return this.set_param_popup_title; } + MATDIV.prototype.importset = function MATDIV() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATDIV.prototype.getContainer = function MATDIV() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js index f7f7e4f5..d15f22e1 100644 --- a/js/MatrixOp/MATEIG.js +++ b/js/MatrixOp/MATEIG.js @@ -108,4 +108,11 @@ function MATEIG() { MATEIG.prototype.get_popup_title = function MATEIG() { return this.set_param_popup_title; } + MATEIG.prototype.importset = function MATEIG() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.decomptyp = ary[1]; + } + MATEIG.prototype.getContainer = function MATEIG() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js index f004fbfb..d2c739a8 100644 --- a/js/MatrixOp/MATEXPM.js +++ b/js/MatrixOp/MATEXPM.js @@ -83,4 +83,10 @@ function MATEXPM() { MATEXPM.prototype.get_popup_title = function MATEXPM() { return this.set_param_popup_title; } + MATEXPM.prototype.importset = function MATEXPM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATEXPM.prototype.getContainer = function MATEXPM() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index 48abfa74..e8b951f7 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -83,4 +83,10 @@ function MATINV() { MATINV.prototype.get_popup_title = function MATINV() { return this.set_param_popup_title; } + MATINV.prototype.importset = function MATINV() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATINV.prototype.getContainer = function MATINV() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index 620509fb..5aaf241f 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -84,4 +84,10 @@ function MATLU() { MATLU.prototype.get_popup_title = function MATLU() { return this.set_param_popup_title; } + MATLU.prototype.importset = function MATLU() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATLU.prototype.getContainer = function MATLU() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index e79cec73..400697de 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -87,4 +87,10 @@ function MATMAGPHI() { MATMAGPHI.prototype.get_popup_title = function MATMAGPHI() { return this.set_param_popup_title; } + MATMAGPHI.prototype.importset = function MATMAGPHI() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.decomptyp = ary[0]; + } + MATMAGPHI.prototype.getContainer = function MATMAGPHI() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js index 93bfe650..ffa485f7 100644 --- a/js/MatrixOp/MATMUL.js +++ b/js/MatrixOp/MATMUL.js @@ -180,4 +180,12 @@ function MATMUL() { MATMUL.prototype.get_popup_title = function MATMUL() { return this.set_param_popup_title; } + MATMUL.prototype.importset = function MATMUL() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dtype = ary[0]; + this.rule = ary[1]; + this.np = ary[2]; + } + MATMUL.prototype.getContainer = function MATMUL() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index 2107fcba..9093cb6f 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -83,4 +83,10 @@ function MATPINV() { MATPINV.prototype.get_popup_title = function MATPINV() { return this.set_param_popup_title; } + MATPINV.prototype.importset = function MATPINV() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + MATPINV.prototype.getContainer = function MATPINV() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index d4ccd783..814c2197 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -117,4 +117,12 @@ function MATRESH() { MATRESH.prototype.get_popup_title = function MATRESH() { return this.set_param_popup_title; } + MATRESH.prototype.importset = function MATRESH() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.l1 = ary[1]; + this.out = ary[2]; + } + MATRESH.prototype.getContainer = function MATRESH() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js index 393c6714..6726938c 100644 --- a/js/MatrixOp/MATSING.js +++ b/js/MatrixOp/MATSING.js @@ -111,4 +111,11 @@ function MATSING() { MATSING.prototype.get_popup_title = function MATSING() { return this.set_param_popup_title; } + MATSING.prototype.importset = function MATSING() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.decomptyp = ary[1]; + } + MATSING.prototype.getContainer = function MATSING() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js index 0a86ae96..53a9b151 100644 --- a/js/MatrixOp/MATSUM.js +++ b/js/MatrixOp/MATSUM.js @@ -112,4 +112,11 @@ function MATSUM() { MATSUM.prototype.get_popup_title = function MATSUM() { return this.set_param_popup_title; } + MATSUM.prototype.importset = function MATSUM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.decomptyp = ary[1]; + } + MATSUM.prototype.getContainer = function MATSUM() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js index c8e18256..3926e941 100644 --- a/js/MatrixOp/MATTRAN.js +++ b/js/MatrixOp/MATTRAN.js @@ -77,4 +77,11 @@ function MATTRAN() { MATTRAN.prototype.get_popup_title = function MATTRAN() { return this.set_param_popup_title; } + MATTRAN.prototype.importset = function MATTRAN() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.rule = ary[1]; + } + MATTRAN.prototype.getContainer = function MATTRAN() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATZCONJ.js b/js/MatrixOp/MATZCONJ.js index a1f59161..098bf472 100644 --- a/js/MatrixOp/MATZCONJ.js +++ b/js/MatrixOp/MATZCONJ.js @@ -37,4 +37,5 @@ function MATZCONJ() { MATZCONJ.prototype.get_popup_title = function MATZCONJ() { return; } + MATZCONJ.prototype.getContainer = function MATZCONJ() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index 68b66103..5546f860 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -87,4 +87,10 @@ function MATZREIM() { MATZREIM.prototype.get_popup_title = function MATZREIM() { return this.set_param_popup_title; } + MATZREIM.prototype.importset = function MATZREIM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.decomptyp = ary[0]; + } + MATZREIM.prototype.getContainer = function MATZREIM() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index 9684b4a5..f2cc67b2 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -73,4 +73,11 @@ function RICC() { RICC.prototype.get_popup_title = function RICC() { return this.set_param_popup_title; } + RICC.prototype.importset = function RICC() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tpe = ary[0]; + this.mod = ary[1]; + } + RICC.prototype.getContainer = function RICC() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index f72a5260..5747895d 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -85,4 +85,11 @@ function ROOTCOEF() { ROOTCOEF.prototype.get_popup_title = function ROOTCOEF() { return this.set_param_popup_title; } + ROOTCOEF.prototype.importset = function ROOTCOEF() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.inp = ary[1]; + } + ROOTCOEF.prototype.getContainer = function ROOTCOEF() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js index da74dd84..22633c30 100644 --- a/js/MatrixOp/SQRT.js +++ b/js/MatrixOp/SQRT.js @@ -65,4 +65,10 @@ function SQRT() { SQRT.prototype.get_popup_title = function SQRT() { return this.set_param_popup_title; } + SQRT.prototype.importset = function SQRT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + } + SQRT.prototype.getContainer = function SQRT() { return new BasicBlock(this.x); } } diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js index d3ca5591..c504c671 100644 --- a/js/MatrixOp/SUBMAT.js +++ b/js/MatrixOp/SUBMAT.js @@ -119,4 +119,15 @@ function SUBMAT() { SUBMAT.prototype.get_popup_title = function SUBMAT() { return this.set_param_popup_title; } + SUBMAT.prototype.importset = function SUBMAT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.a = ary[1]; + this.b = ary[2]; + this.c = ary[3]; + this.d = ary[4]; + this.inp = ary[5]; + } + SUBMAT.prototype.getContainer = function SUBMAT() { return new BasicBlock(this.x); } } 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); } } diff --git a/js/NonLinear/ABSBLK_f.js b/js/NonLinear/ABSBLK_f.js index d4826a04..c8454def 100644 --- a/js/NonLinear/ABSBLK_f.js +++ b/js/NonLinear/ABSBLK_f.js @@ -23,4 +23,5 @@ function ABSBLK_f() { ABSBLK_f.prototype.get_popup_title = function ABSBLK_f() { return; } + ABSBLK_f.prototype.getContainer = function ABSBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js index 239b2bb7..c7b14791 100644 --- a/js/NonLinear/ABS_VALUE.js +++ b/js/NonLinear/ABS_VALUE.js @@ -54,4 +54,10 @@ function ABS_VALUE() { ABS_VALUE.prototype.get_popup_title = function ABS_VALUE() { return this.set_param_popup_title; } + ABS_VALUE.prototype.importset = function ABS_VALUE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.zcr = ary[0]; + } + ABS_VALUE.prototype.getContainer = function ABS_VALUE() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/COSBLK_f.js b/js/NonLinear/COSBLK_f.js index eb561be7..44828d45 100644 --- a/js/NonLinear/COSBLK_f.js +++ b/js/NonLinear/COSBLK_f.js @@ -24,4 +24,5 @@ function COSBLK_f() { COSBLK_f.prototype.get_popup_title = function COSBLK_f() { return; } + COSBLK_f.prototype.getContainer = function COSBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js index 86ae1ef9..ac71f6f0 100644 --- a/js/NonLinear/DLRADAPT_f.js +++ b/js/NonLinear/DLRADAPT_f.js @@ -80,4 +80,15 @@ function DLRADAPT_f() { DLRADAPT_f.prototype.get_popup_title = function DLRADAPT_f() { return this.set_param_popup_title; } + DLRADAPT_f.prototype.importset = function DLRADAPT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.p = ary[0]; + this.rn = ary[1]; + this.rd = ary[2]; + this.g = ary[3]; + this.last_u = ary[4]; + this.last_y = ary[5]; + } + DLRADAPT_f.prototype.getContainer = function DLRADAPT_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js index cd43305a..a6ac47a6 100644 --- a/js/NonLinear/EXPBLK_f.js +++ b/js/NonLinear/EXPBLK_f.js @@ -57,4 +57,10 @@ function EXPBLK_f() { EXPBLK_f.prototype.get_popup_title = function EXPBLK_f() { return this.set_param_popup_title; } + EXPBLK_f.prototype.importset = function EXPBLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + } + EXPBLK_f.prototype.getContainer = function EXPBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js index 94eda0e2..3f6f23cd 100644 --- a/js/NonLinear/EXPBLK_m.js +++ b/js/NonLinear/EXPBLK_m.js @@ -61,4 +61,10 @@ function EXPBLK_m() { EXPBLK_m.prototype.get_popup_title = function EXPBLK_m() { return this.set_param_popup_title; } + EXPBLK_m.prototype.importset = function EXPBLK_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + } + EXPBLK_m.prototype.getContainer = function EXPBLK_m() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/FSV_f.js b/js/NonLinear/FSV_f.js index 9bdec4f5..30e18b7a 100644 --- a/js/NonLinear/FSV_f.js +++ b/js/NonLinear/FSV_f.js @@ -25,4 +25,5 @@ function FSV_f() { FSV_f.prototype.get_popup_title = function FSV_f() { return; } + FSV_f.prototype.getContainer = function FSV_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js index d461f63f..917072a3 100644 --- a/js/NonLinear/INTRP2BLK_f.js +++ b/js/NonLinear/INTRP2BLK_f.js @@ -63,4 +63,12 @@ function INTRP2BLK_f() { INTRP2BLK_f.prototype.get_popup_title = function INTRP2BLK_f() { return this.set_param_popup_title; } + INTRP2BLK_f.prototype.importset = function INTRP2BLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.b = ary[1]; + this.c = ary[2]; + } + INTRP2BLK_f.prototype.getContainer = function INTRP2BLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js index 77157855..6f1ab4dc 100644 --- a/js/NonLinear/INTRPLBLK_f.js +++ b/js/NonLinear/INTRPLBLK_f.js @@ -58,4 +58,11 @@ function INTRPLBLK_f() { INTRPLBLK_f.prototype.get_popup_title = function INTRPLBLK_f() { return this.set_param_popup_title; } + INTRPLBLK_f.prototype.importset = function INTRPLBLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.b = ary[1]; + } + INTRPLBLK_f.prototype.getContainer = function INTRPLBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/INVBLK.js b/js/NonLinear/INVBLK.js index 109812cf..2d44a9a9 100644 --- a/js/NonLinear/INVBLK.js +++ b/js/NonLinear/INVBLK.js @@ -25,4 +25,5 @@ function INVBLK() { INVBLK.prototype.get_popup_title = function INVBLK() { return; } + INVBLK.prototype.getContainer = function INVBLK() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/INVBLK_f.js b/js/NonLinear/INVBLK_f.js index fbf512df..721471b4 100644 --- a/js/NonLinear/INVBLK_f.js +++ b/js/NonLinear/INVBLK_f.js @@ -25,4 +25,5 @@ function INVBLK_f() { INVBLK_f.prototype.get_popup_title = function INVBLK_f() { return; } + INVBLK_f.prototype.getContainer = function INVBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index 7b608c1f..3c68aae9 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -59,4 +59,10 @@ function LOGBLK_f() { LOGBLK_f.prototype.get_popup_title = function LOGBLK_f() { return this.set_param_popup_title; } + LOGBLK_f.prototype.importset = function LOGBLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + } + LOGBLK_f.prototype.getContainer = function LOGBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index 6202c0f7..790cfcbd 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -124,4 +124,14 @@ function LOOKUP2D() { LOOKUP2D.prototype.get_popup_title = function LOOKUP2D() { return this.set_param_popup_title; } + LOOKUP2D.prototype.importset = function LOOKUP2D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.xx = ary[0]; + this.yy = ary[1]; + this.zz = ary[2]; + this.Method = ary[3]; + this.graf = ary[4]; + } + LOOKUP2D.prototype.getContainer = function LOOKUP2D() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/LOOKUP_c.js b/js/NonLinear/LOOKUP_c.js index 180c8d1d..f98fec01 100644 --- a/js/NonLinear/LOOKUP_c.js +++ b/js/NonLinear/LOOKUP_c.js @@ -183,4 +183,14 @@ function LOOKUP_c() { LOOKUP_c.prototype.get_popup_title = function LOOKUP_c() { return this.set_param_popup_title; } + LOOKUP_c.prototype.importset = function LOOKUP_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Method = ary[0]; + this.xx = ary[1]; + this.yy = ary[2]; + this.extrapo = ary[3]; + this.graf = ary[4]; + } + LOOKUP_c.prototype.getContainer = function LOOKUP_c() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/LOOKUP_f.js b/js/NonLinear/LOOKUP_f.js index 25b5a44a..103f1813 100644 --- a/js/NonLinear/LOOKUP_f.js +++ b/js/NonLinear/LOOKUP_f.js @@ -56,4 +56,5 @@ function LOOKUP_f() { LOOKUP_f.prototype.get_popup_title = function LOOKUP_f() { return; } + LOOKUP_f.prototype.getContainer = function LOOKUP_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js index 357236d7..1540c14f 100644 --- a/js/NonLinear/MAXMIN.js +++ b/js/NonLinear/MAXMIN.js @@ -87,4 +87,12 @@ function MAXMIN() { MAXMIN.prototype.get_popup_title = function MAXMIN() { return this.set_param_popup_title; } + MAXMIN.prototype.importset = function MAXMIN() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.mm = ary[0]; + this.nin = ary[1]; + this.zcr = ary[2]; + } + MAXMIN.prototype.getContainer = function MAXMIN() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/MAX_f.js b/js/NonLinear/MAX_f.js index df7b6eaf..9c0d7649 100644 --- a/js/NonLinear/MAX_f.js +++ b/js/NonLinear/MAX_f.js @@ -26,4 +26,5 @@ function MAX_f() { MAX_f.prototype.get_popup_title = function MAX_f() { return; } + MAX_f.prototype.getContainer = function MAX_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/MIN_f.js b/js/NonLinear/MIN_f.js index 67662233..386dc2d2 100644 --- a/js/NonLinear/MIN_f.js +++ b/js/NonLinear/MIN_f.js @@ -26,4 +26,5 @@ function MIN_f() { MIN_f.prototype.get_popup_title = function MIN_f() { return; } + MIN_f.prototype.getContainer = function MIN_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js index ce80dac3..44c57a25 100644 --- a/js/NonLinear/POWBLK_f.js +++ b/js/NonLinear/POWBLK_f.js @@ -59,4 +59,10 @@ function POWBLK_f() { POWBLK_f.prototype.get_popup_title = function POWBLK_f() { return this.set_param_popup_title; } + POWBLK_f.prototype.importset = function POWBLK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + } + POWBLK_f.prototype.getContainer = function POWBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js index 98260819..52cee777 100644 --- a/js/NonLinear/PRODUCT.js +++ b/js/NonLinear/PRODUCT.js @@ -78,4 +78,10 @@ function PRODUCT() { PRODUCT.prototype.get_popup_title = function PRODUCT() { return this.set_param_popup_title; } + PRODUCT.prototype.importset = function PRODUCT() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.sgn = ary[0]; + } + PRODUCT.prototype.getContainer = function PRODUCT() { return new Product(this.x); } } diff --git a/js/NonLinear/PROD_f.js b/js/NonLinear/PROD_f.js index a5f007d0..a46e5775 100644 --- a/js/NonLinear/PROD_f.js +++ b/js/NonLinear/PROD_f.js @@ -22,4 +22,5 @@ function PROD_f() { PROD_f.prototype.get_popup_title = function PROD_f() { return; } + PROD_f.prototype.getContainer = function PROD_f() { return new RoundBlock(this.x); } } diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js index 91536ad0..6cc10e47 100644 --- a/js/NonLinear/QUANT_f.js +++ b/js/NonLinear/QUANT_f.js @@ -66,4 +66,11 @@ function QUANT_f() { QUANT_f.prototype.get_popup_title = function QUANT_f() { return this.set_param_popup_title; } + QUANT_f.prototype.importset = function QUANT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.pas = ary[0]; + this.meth = ary[1]; + } + QUANT_f.prototype.getContainer = function QUANT_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js index ae0bd428..7529acf4 100644 --- a/js/NonLinear/SATURATION.js +++ b/js/NonLinear/SATURATION.js @@ -66,4 +66,12 @@ function SATURATION() { SATURATION.prototype.get_popup_title = function SATURATION() { return this.set_param_popup_title; } + SATURATION.prototype.importset = function SATURATION() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.maxp = ary[0]; + this.minp = ary[1]; + this.zeroc = ary[2]; + } + SATURATION.prototype.getContainer = function SATURATION() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js index 7fb2fc57..1b8a6588 100644 --- a/js/NonLinear/SAT_f.js +++ b/js/NonLinear/SAT_f.js @@ -63,4 +63,12 @@ function SAT_f() { SAT_f.prototype.get_popup_title = function SAT_f() { return this.set_param_popup_title; } + SAT_f.prototype.importset = function SAT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.minp = ary[0]; + this.maxp = ary[1]; + this.pente = ary[2]; + } + SAT_f.prototype.getContainer = function SAT_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js index d76a318f..a45cb83e 100644 --- a/js/NonLinear/SIGNUM.js +++ b/js/NonLinear/SIGNUM.js @@ -54,4 +54,10 @@ function SIGNUM() { SIGNUM.prototype.get_popup_title = function SIGNUM() { return this.set_param_popup_title; } + SIGNUM.prototype.importset = function SIGNUM() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.zcr = ary[0]; + } + SIGNUM.prototype.getContainer = function SIGNUM() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/SINBLK_f.js b/js/NonLinear/SINBLK_f.js index 554e4938..d710855e 100644 --- a/js/NonLinear/SINBLK_f.js +++ b/js/NonLinear/SINBLK_f.js @@ -24,4 +24,5 @@ function SINBLK_f() { SINBLK_f.prototype.get_popup_title = function SINBLK_f() { return; } + SINBLK_f.prototype.getContainer = function SINBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/TANBLK_f.js b/js/NonLinear/TANBLK_f.js index 6a997f03..2a58474e 100644 --- a/js/NonLinear/TANBLK_f.js +++ b/js/NonLinear/TANBLK_f.js @@ -26,4 +26,5 @@ function TANBLK_f() { TANBLK_f.prototype.get_popup_title = function TANBLK_f() { return; } + TANBLK_f.prototype.getContainer = function TANBLK_f() { return new BasicBlock(this.x); } } diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index 57ef3821..4bf5374a 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -52,4 +52,10 @@ function TrigFun() { TrigFun.prototype.get_popup_title = function TrigFun() { return this.set_param_popup_title; } + TrigFun.prototype.importset = function TrigFun() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.fun = ary[0]; + } + TrigFun.prototype.getContainer = function TrigFun() { return new BasicBlock(this.x); } } diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 08cb1956..04444e65 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -22,7 +22,7 @@ function PDE() { var params_pde = label[1-1]; this.set_param_popup_title = "PLEASE, GIVE US THE BLOCK\'s NAME. "; var options = { - rdnom:["New block\'s name :",this.rdnom], + rdnom:["New block\'s name :",this.rdnom], } return options; } @@ -215,4 +215,10 @@ function PDE() { PDE.prototype.get_popup_title = function PDE() { return this.set_param_popup_title; } + PDE.prototype.importset = function PDE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.rdnom = ary[0]; + } + PDE.prototype.getContainer = function PDE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index 68c00ab2..5daa5b0f 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -105,4 +105,16 @@ function AFFICH_m() { AFFICH_m.prototype.get_popup_title = function AFFICH_m() { return this.set_param_popup_title; } + AFFICH_m.prototype.importset = function AFFICH_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.font = ary[1]; + this.fontsize = ary[2]; + this.colr = ary[3]; + this.nt = ary[4]; + this.nd = ary[5]; + this.herit = ary[6]; + } + AFFICH_m.prototype.getContainer = function AFFICH_m() { return new AfficheBlock(this.x); } } diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index e9c5f922..df38915d 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -79,4 +79,14 @@ function BARXY() { BARXY.prototype.get_popup_title = function BARXY() { return this.set_param_popup_title; } + BARXY.prototype.importset = function BARXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.xmin = ary[0]; + this.xmax = ary[1]; + this.ymin = ary[2]; + this.ymax = ary[3]; + this.thickness = ary[4]; + } + BARXY.prototype.getContainer = function BARXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 2625d745..d5387758 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -132,4 +132,20 @@ function CANIMXY() { CANIMXY.prototype.get_popup_title = function CANIMXY() { return this.set_param_popup_title; } + CANIMXY.prototype.importset = function CANIMXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.xmin = ary[6]; + this.xmax = ary[7]; + this.ymin = ary[8]; + this.ymax = ary[9]; + this.N = ary[10]; + } + CANIMXY.prototype.getContainer = function CANIMXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index cc98d47f..0a488c5d 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -149,4 +149,20 @@ function CANIMXY3D() { CANIMXY3D.prototype.get_popup_title = function CANIMXY3D() { return this.set_param_popup_title; } + CANIMXY3D.prototype.importset = function CANIMXY3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.vec_x = ary[6]; + this.vec_y = ary[7]; + this.vec_z = ary[8]; + this.param3ds = ary[9]; + this.N = ary[10]; + } + CANIMXY3D.prototype.getContainer = function CANIMXY3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 1ac1b62d..c22f1199 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -108,4 +108,15 @@ function CEVENTSCOPE() { CEVENTSCOPE.prototype.get_popup_title = function CEVENTSCOPE() { return this.set_param_popup_title; } + CEVENTSCOPE.prototype.importset = function CEVENTSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nclock = ary[0]; + this.clrs = ary[1]; + this.win = ary[2]; + this.wpos = ary[3]; + this.wdim = ary[4]; + this.per = ary[5]; + } + CEVENTSCOPE.prototype.getContainer = function CEVENTSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index cf0effef..fcb6b3e8 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -120,4 +120,18 @@ function CFSCOPE() { CFSCOPE.prototype.get_popup_title = function CFSCOPE() { return this.set_param_popup_title; } + CFSCOPE.prototype.importset = function CFSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.clrs = ary[0]; + this.win = ary[1]; + this.wpos = ary[2]; + this.wdim = ary[3]; + this.ymin = ary[4]; + this.ymax = ary[5]; + this.per = ary[6]; + this.N = ary[7]; + this.wu = ary[8]; + } + CFSCOPE.prototype.getContainer = function CFSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index 95663c9e..19152eda 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -112,4 +112,10 @@ function CLKOUTV_f() { this.x = []; var y = []; } + CLKOUTV_f.prototype.importset = function CLKOUTV_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKOUTV_f.prototype.getContainer = function CLKOUTV_f() { return new EventOutBlock(this.x); } } diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index eaa7c660..7edc92bf 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -54,4 +54,10 @@ function CLKOUT_f() { CLKOUT_f.prototype.get_popup_title = function CLKOUT_f() { return this.set_param_popup_title; } + CLKOUT_f.prototype.importset = function CLKOUT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKOUT_f.prototype.getContainer = function CLKOUT_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index 4afe2f60..50e9d1af 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -83,4 +83,14 @@ function CMAT3D() { CMAT3D.prototype.get_popup_title = function CMAT3D() { return this.set_param_popup_title; } + CMAT3D.prototype.importset = function CMAT3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.vec_x = ary[0]; + this.vec_y = ary[1]; + this.colormap = ary[2]; + this.cmin = ary[3]; + this.cmax = ary[4]; + } + CMAT3D.prototype.getContainer = function CMAT3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index c6933392..93f2a5fa 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -75,4 +75,12 @@ function CMATVIEW() { CMATVIEW.prototype.get_popup_title = function CMATVIEW() { return this.set_param_popup_title; } + CMATVIEW.prototype.importset = function CMATVIEW() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.colormap = ary[0]; + this.cmin = ary[1]; + this.cmax = ary[2]; + } + CMATVIEW.prototype.getContainer = function CMATVIEW() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 2e4bebd8..a99952de 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -158,4 +158,20 @@ function CMSCOPE() { CMSCOPE.prototype.get_popup_title = function CMSCOPE() { return this.set_param_popup_title; } + CMSCOPE.prototype.importset = function CMSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.clrs = ary[1]; + this.win = ary[2]; + this.wpos = ary[3]; + this.wdim = ary[4]; + this.ymin = ary[5]; + this.ymax = ary[6]; + this.per = ary[7]; + this.N = ary[8]; + this.heritance = ary[9]; + this.nom = ary[10]; + } + CMSCOPE.prototype.getContainer = function CMSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 2502f55d..a4e83c96 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -127,4 +127,19 @@ function CSCOPE() { CSCOPE.prototype.get_popup_title = function CSCOPE() { return this.set_param_popup_title; } + CSCOPE.prototype.importset = function CSCOPE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.clrs = ary[0]; + this.win = ary[1]; + this.wpos = ary[2]; + this.wdim = ary[3]; + this.ymin = ary[4]; + this.ymax = ary[5]; + this.per = ary[6]; + this.N = ary[7]; + this.heritance = ary[8]; + this.nom = ary[9]; + } + CSCOPE.prototype.getContainer = function CSCOPE() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index 43bffdb0..87c89fb3 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -131,4 +131,20 @@ function CSCOPXY() { CSCOPXY.prototype.get_popup_title = function CSCOPXY() { return this.set_param_popup_title; } + CSCOPXY.prototype.importset = function CSCOPXY() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.xmin = ary[6]; + this.xmax = ary[7]; + this.ymin = ary[8]; + this.ymax = ary[9]; + this.N = ary[10]; + } + CSCOPXY.prototype.getContainer = function CSCOPXY() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 93e834cf..6a04bae5 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -144,4 +144,20 @@ function CSCOPXY3D() { CSCOPXY3D.prototype.get_popup_title = function CSCOPXY3D() { return this.set_param_popup_title; } + CSCOPXY3D.prototype.importset = function CSCOPXY3D() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nbr_curves = ary[0]; + this.clrs = ary[1]; + this.siz = ary[2]; + this.win = ary[3]; + this.wpos = ary[4]; + this.wdim = ary[5]; + this.vec_x = ary[6]; + this.vec_y = ary[7]; + this.vec_z = ary[8]; + this.param3ds = ary[9]; + this.N = ary[10]; + } + CSCOPXY3D.prototype.getContainer = function CSCOPXY3D() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index cd9a653a..3eaa01e7 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -65,4 +65,10 @@ function OUTIMPL_f() { OUTIMPL_f.prototype.get_popup_title = function OUTIMPL_f() { return this.set_param_popup_title; } + OUTIMPL_f.prototype.importset = function OUTIMPL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + OUTIMPL_f.prototype.getContainer = function OUTIMPL_f() { return new ImplicitOutBlock(this.x); } } diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index fb0a0e92..770f4d40 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -58,4 +58,10 @@ function OUT_f() { OUT_f.prototype.get_popup_title = function OUT_f() { return this.set_param_popup_title; } + OUT_f.prototype.importset = function OUT_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + OUT_f.prototype.getContainer = function OUT_f() { return new ExplicitOutBlock(this.x); } } diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index e3fa3f0f..e001e116 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -82,4 +82,12 @@ function TOWS_c() { TOWS_c.prototype.get_popup_title = function TOWS_c() { return this.set_param_popup_title; } + TOWS_c.prototype.importset = function TOWS_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nz = ary[0]; + this.varnam = ary[1]; + this.herit = ary[2]; + } + TOWS_c.prototype.getContainer = function TOWS_c() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js index 9f748531..0455d2db 100644 --- a/js/Sinks/TRASH_f.js +++ b/js/Sinks/TRASH_f.js @@ -25,4 +25,5 @@ function TRASH_f() { TRASH_f.prototype.get_popup_title = function TRASH_f() { return; } + TRASH_f.prototype.getContainer = function TRASH_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index 88a49090..f8d4fc7c 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -114,4 +114,13 @@ function WFILE_f() { WFILE_f.prototype.get_popup_title = function WFILE_f() { return this.set_param_popup_title; } + WFILE_f.prototype.importset = function WFILE_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.fname1 = ary[1]; + this.frmt1 = ary[2]; + this.N = ary[3]; + } + WFILE_f.prototype.getContainer = function WFILE_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 9fd91deb..ccd1d35f 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -82,4 +82,11 @@ function WRITEAU_f() { WRITEAU_f.prototype.get_popup_title = function WRITEAU_f() { return this.set_param_popup_title; } + WRITEAU_f.prototype.importset = function WRITEAU_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.N = ary[0]; + this.swap = ary[1]; + } + WRITEAU_f.prototype.getContainer = function WRITEAU_f() { return new BasicBlock(this.x); } } diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 08b0d6c9..42165bc6 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -114,4 +114,14 @@ function WRITEC_f() { WRITEC_f.prototype.get_popup_title = function WRITEC_f() { return this.set_param_popup_title; } + WRITEC_f.prototype.importset = function WRITEC_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.fname1 = ary[1]; + this.frmt1 = ary[2]; + this.N = ary[3]; + this.swap = ary[4]; + } + WRITEC_f.prototype.getContainer = function WRITEC_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js index f949749e..b3a24b83 100644 --- a/js/Sources/CLKINV_f.js +++ b/js/Sources/CLKINV_f.js @@ -54,4 +54,10 @@ function CLKINV_f() { CLKINV_f.prototype.get_popup_title = function CLKINV_f() { return this.set_param_popup_title; } + CLKINV_f.prototype.importset = function CLKINV_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKINV_f.prototype.getContainer = function CLKINV_f() { return new EventInBlock(this.x); } } diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index 4c7e52aa..417ce001 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -54,4 +54,10 @@ function CLKIN_f() { CLKIN_f.prototype.get_popup_title = function CLKIN_f() { return this.set_param_popup_title; } + CLKIN_f.prototype.importset = function CLKIN_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + CLKIN_f.prototype.getContainer = function CLKIN_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index cfb7477d..e05114f5 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -118,4 +118,11 @@ function CLOCK_c() { CLOCK_c.prototype.get_popup_title = function CLOCK_c() { return this.set_param_popup_title; } + CLOCK_c.prototype.importset = function CLOCK_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.t0 = ary[1]; + } + CLOCK_c.prototype.getContainer = function CLOCK_c() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index 306da277..d75dcccb 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -119,4 +119,11 @@ function CLOCK_f() { CLOCK_f.prototype.get_popup_title = function CLOCK_f() { return this.set_param_popup_title; } + CLOCK_f.prototype.importset = function CLOCK_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.dt = ary[0]; + this.t0 = ary[1]; + } + CLOCK_f.prototype.getContainer = function CLOCK_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index 2aec9d20..a715a86b 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -56,4 +56,10 @@ function CONST() { CONST.prototype.get_popup_title = function CONST() { return this.set_param_popup_title; } + CONST.prototype.importset = function CONST() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.C = ary[0]; + } + CONST.prototype.getContainer = function CONST() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index 844e9309..68a4a6fa 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -52,4 +52,10 @@ function CONST_f() { CONST_f.prototype.get_popup_title = function CONST_f() { return this.set_param_popup_title; } + CONST_f.prototype.importset = function CONST_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.C = ary[0]; + } + CONST_f.prototype.getContainer = function CONST_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index 9236c840..1040db9b 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -83,4 +83,10 @@ function CONST_m() { CONST_m.prototype.get_popup_title = function CONST_m() { return this.set_param_popup_title; } + CONST_m.prototype.importset = function CONST_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.C = ary[0]; + } + CONST_m.prototype.getContainer = function CONST_m() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CURVE_c.js b/js/Sources/CURVE_c.js index 5c62f653..7cbaa41f 100644 --- a/js/Sources/CURVE_c.js +++ b/js/Sources/CURVE_c.js @@ -171,4 +171,14 @@ function CURVE_c() { CURVE_c.prototype.get_popup_title = function CURVE_c() { return this.set_param_popup_title; } + CURVE_c.prototype.importset = function CURVE_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Method = ary[0]; + this.xx = ary[1]; + this.yy = ary[2]; + this.PeriodicOption = ary[3]; + this.graf = ary[4]; + } + CURVE_c.prototype.getContainer = function CURVE_c() { return new BasicBlock(this.x); } } diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js index 26e020c7..f9c1b557 100644 --- a/js/Sources/CURV_f.js +++ b/js/Sources/CURV_f.js @@ -69,4 +69,5 @@ function CURV_f() { CURV_f.prototype.get_popup_title = function CURV_f() { return; } + CURV_f.prototype.getContainer = function CURV_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js index 998036ca..63e64b2e 100644 --- a/js/Sources/Counter.js +++ b/js/Sources/Counter.js @@ -62,4 +62,12 @@ function Counter() { Counter.prototype.get_popup_title = function Counter() { return this.set_param_popup_title; } + Counter.prototype.importset = function Counter() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.minim = ary[0]; + this.maxim = ary[1]; + this.rule = ary[2]; + } + Counter.prototype.getContainer = function Counter() { return new BasicBlock(this.x); } } diff --git a/js/Sources/FROMWSB.js b/js/Sources/FROMWSB.js index bc33c12c..f56ebcd5 100644 --- a/js/Sources/FROMWSB.js +++ b/js/Sources/FROMWSB.js @@ -89,4 +89,5 @@ function FROMWSB() { FROMWSB.prototype.get_popup_title = function FROMWSB() { return; } + FROMWSB.prototype.getContainer = function FROMWSB() { return new BasicBlock(this.x); } } diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js index 66dceb1c..13706c8a 100644 --- a/js/Sources/FROMWS_c.js +++ b/js/Sources/FROMWS_c.js @@ -88,4 +88,13 @@ function FROMWS_c() { FROMWS_c.prototype.get_popup_title = function FROMWS_c() { return this.set_param_popup_title; } + FROMWS_c.prototype.importset = function FROMWS_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.varnam = ary[0]; + this.Method = ary[1]; + this.ZC = ary[2]; + this.OutEnd = ary[3]; + } + FROMWS_c.prototype.getContainer = function FROMWS_c() { return new BasicBlock(this.x); } } diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js index 8f66cf51..85f63a33 100644 --- a/js/Sources/GENSIN_f.js +++ b/js/Sources/GENSIN_f.js @@ -63,4 +63,12 @@ function GENSIN_f() { GENSIN_f.prototype.get_popup_title = function GENSIN_f() { return this.set_param_popup_title; } + GENSIN_f.prototype.importset = function GENSIN_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.M = ary[0]; + this.F = ary[1]; + this.P = ary[2]; + } + GENSIN_f.prototype.getContainer = function GENSIN_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js index a72bbfd2..0ddba7b2 100644 --- a/js/Sources/GENSQR_f.js +++ b/js/Sources/GENSQR_f.js @@ -55,4 +55,10 @@ function GENSQR_f() { GENSQR_f.prototype.get_popup_title = function GENSQR_f() { return this.set_param_popup_title; } + GENSQR_f.prototype.importset = function GENSQR_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Amplitude = ary[0]; + } + GENSQR_f.prototype.getContainer = function GENSQR_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index dc127a54..f0313073 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -122,4 +122,13 @@ function GEN_SQR() { GEN_SQR.prototype.get_popup_title = function GEN_SQR() { return this.set_param_popup_title; } + GEN_SQR.prototype.importset = function GEN_SQR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.scicos_context.Amin = ary[0]; + this.scicos_context.Amax = ary[1]; + this.scicos_context.rule = ary[2]; + this.scicos_context.F = ary[3]; + } + GEN_SQR.prototype.getContainer = function GEN_SQR() { return new BasicBlock(this.x); } } diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js index e8417fa9..fa9286ea 100644 --- a/js/Sources/Ground_g.js +++ b/js/Sources/Ground_g.js @@ -30,4 +30,5 @@ function Ground_g() { Ground_g.prototype.get_popup_title = function Ground_g() { return; } + Ground_g.prototype.getContainer = function Ground_g() { return new BasicBlock(this.x); } } diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index 5949a756..a8e17ffd 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -65,4 +65,10 @@ function INIMPL_f() { INIMPL_f.prototype.get_popup_title = function INIMPL_f() { return this.set_param_popup_title; } + INIMPL_f.prototype.importset = function INIMPL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.prt = ary[0]; + } + INIMPL_f.prototype.getContainer = function INIMPL_f() { return new ImplicitInBlock(this.x); } } diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js index 8d44dd82..8a5ecbf0 100644 --- a/js/Sources/IN_f.js +++ b/js/Sources/IN_f.js @@ -70,4 +70,5 @@ function IN_f() { IN_f.prototype.get_popup_title = function IN_f() { return; } + IN_f.prototype.getContainer = function IN_f() { return new ExplicitInBlock(this.x); } } diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js index ae60e13d..27c6ded7 100644 --- a/js/Sources/Modulo_Count.js +++ b/js/Sources/Modulo_Count.js @@ -58,4 +58,11 @@ function Modulo_Count() { Modulo_Count.prototype.get_popup_title = function Modulo_Count() { return this.set_param_popup_title; } + Modulo_Count.prototype.importset = function Modulo_Count() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.ini_c = ary[0]; + this.base = ary[1]; + } + Modulo_Count.prototype.getContainer = function Modulo_Count() { return new BasicBlock(this.x); } } diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index 3d6c17f4..6d4c9ad5 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -118,4 +118,13 @@ function PULSE_SC() { PULSE_SC.prototype.get_popup_title = function PULSE_SC() { return this.set_param_popup_title; } + PULSE_SC.prototype.importset = function PULSE_SC() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.scicos_context.E = ary[0]; + this.scicos_context.W = ary[1]; + this.scicos_context.F = ary[2]; + this.scicos_context.A = ary[3]; + } + PULSE_SC.prototype.getContainer = function PULSE_SC() { return new BasicBlock(this.x); } } diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js index 2e68244b..ff2a6293 100644 --- a/js/Sources/RAMP.js +++ b/js/Sources/RAMP.js @@ -58,4 +58,12 @@ function RAMP() { RAMP.prototype.get_popup_title = function RAMP() { return this.set_param_popup_title; } + RAMP.prototype.importset = function RAMP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.slope = ary[0]; + this.stt = ary[1]; + this.iout = ary[2]; + } + RAMP.prototype.getContainer = function RAMP() { return new BasicBlock(this.x); } } diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js index 65c53b2e..1c7482ff 100644 --- a/js/Sources/RAND_f.js +++ b/js/Sources/RAND_f.js @@ -78,4 +78,13 @@ function RAND_f() { RAND_f.prototype.get_popup_title = function RAND_f() { return this.set_param_popup_title; } + RAND_f.prototype.importset = function RAND_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.flag = ary[0]; + this.a = ary[1]; + this.b = ary[2]; + this.seed_c = ary[3]; + } + RAND_f.prototype.getContainer = function RAND_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js index a6d6e050..1fd4035a 100644 --- a/js/Sources/RAND_m.js +++ b/js/Sources/RAND_m.js @@ -104,4 +104,14 @@ function RAND_m() { RAND_m.prototype.get_popup_title = function RAND_m() { return this.set_param_popup_title; } + RAND_m.prototype.importset = function RAND_m() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.typ = ary[0]; + this.flag = ary[1]; + this.a = ary[2]; + this.b = ary[3]; + this.seed_c = ary[4]; + } + RAND_m.prototype.getContainer = function RAND_m() { return new BasicBlock(this.x); } } diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js index 1706e13a..66f068f4 100644 --- a/js/Sources/READAU_f.js +++ b/js/Sources/READAU_f.js @@ -105,4 +105,12 @@ function READAU_f() { READAU_f.prototype.get_popup_title = function READAU_f() { return this.set_param_popup_title; } + READAU_f.prototype.importset = function READAU_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.fname1 = ary[0]; + this.N = ary[1]; + this.swap = ary[2]; + } + READAU_f.prototype.getContainer = function READAU_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index 1506c210..995a8b37 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -152,4 +152,17 @@ function READC_f() { READC_f.prototype.get_popup_title = function READC_f() { return this.set_param_popup_title; } + READC_f.prototype.importset = function READC_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tmask1 = ary[0]; + this.outmask = ary[1]; + this.fname1 = ary[2]; + this.frmt1 = ary[3]; + this.M = ary[4]; + this.N = ary[5]; + this.offset = ary[6]; + this.swap = ary[7]; + } + READC_f.prototype.getContainer = function READC_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js index dd34174b..92232031 100644 --- a/js/Sources/RFILE_f.js +++ b/js/Sources/RFILE_f.js @@ -137,4 +137,14 @@ function RFILE_f() { RFILE_f.prototype.get_popup_title = function RFILE_f() { return this.set_param_popup_title; } + RFILE_f.prototype.importset = function RFILE_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.tmask1 = ary[0]; + this.outmask = ary[1]; + this.fname1 = ary[2]; + this.frmt1 = ary[3]; + this.N = ary[4]; + } + RFILE_f.prototype.getContainer = function RFILE_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js index a952d277..1c8347f0 100644 --- a/js/Sources/SAWTOOTH_f.js +++ b/js/Sources/SAWTOOTH_f.js @@ -25,4 +25,5 @@ function SAWTOOTH_f() { SAWTOOTH_f.prototype.get_popup_title = function SAWTOOTH_f() { return; } + SAWTOOTH_f.prototype.getContainer = function SAWTOOTH_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 65706b32..e8e19127 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -81,4 +81,12 @@ function STEP() { STEP.prototype.get_popup_title = function STEP() { return this.set_param_popup_title; } + STEP.prototype.importset = function STEP() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.temps = ary[0]; + this.in1 = ary[1]; + this.fi = ary[2]; + } + STEP.prototype.getContainer = function STEP() { return new BasicBlock(this.x); } } diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js index e7d89c2d..a1500aa4 100644 --- a/js/Sources/STEP_FUNCTION.js +++ b/js/Sources/STEP_FUNCTION.js @@ -125,4 +125,5 @@ function STEP_FUNCTION() { STEP_FUNCTION.prototype.get_popup_title = function STEP_FUNCTION() { return; } + STEP_FUNCTION.prototype.getContainer = function STEP_FUNCTION() { return new BasicBlock(this.x); } } diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js index acee4c3c..55e66961 100644 --- a/js/Sources/SampleCLK.js +++ b/js/Sources/SampleCLK.js @@ -64,4 +64,11 @@ function SampleCLK() { SampleCLK.prototype.get_popup_title = function SampleCLK() { return this.set_param_popup_title; } + SampleCLK.prototype.importset = function SampleCLK() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.frequ = ary[0]; + this.offset = ary[1]; + } + SampleCLK.prototype.getContainer = function SampleCLK() { return new BasicBlock(this.x); } } diff --git a/js/Sources/Sigbuilder.js b/js/Sources/Sigbuilder.js index fe47c03a..756568d5 100644 --- a/js/Sources/Sigbuilder.js +++ b/js/Sources/Sigbuilder.js @@ -94,4 +94,5 @@ function Sigbuilder() { Sigbuilder.prototype.get_popup_title = function Sigbuilder() { return; } + Sigbuilder.prototype.getContainer = function Sigbuilder() { return new BasicBlock(this.x); } } diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js index f51d4ba6..3c085c61 100644 --- a/js/Sources/TIME_f.js +++ b/js/Sources/TIME_f.js @@ -22,4 +22,5 @@ function TIME_f() { TIME_f.prototype.get_popup_title = function TIME_f() { return; } + TIME_f.prototype.getContainer = function TIME_f() { return new BasicBlock(this.x); } } diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js index 70fcf9f8..975b05a6 100644 --- a/js/Sources/TKSCALE.js +++ b/js/Sources/TKSCALE.js @@ -23,9 +23,9 @@ function TKSCALE() { var exprs = this.graphics.exprs; this.set_param_popup_title = "Set scale block parameters"; var options = { - a:["Min value",this.a], - b:["Max value",this.b], - f:["Normalization",this.f], + a:["Min value",this.a], + b:["Max value",this.b], + f:["Normalization",this.f], } return options; } @@ -47,4 +47,12 @@ function TKSCALE() { TKSCALE.prototype.get_popup_title = function TKSCALE() { return this.set_param_popup_title; } + TKSCALE.prototype.importset = function TKSCALE() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.a = ary[0]; + this.b = ary[1]; + this.f = ary[2]; + } + TKSCALE.prototype.getContainer = function TKSCALE() { return new BasicBlock(this.x); } } diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index af7e11dd..ef70faba 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -30,8 +30,8 @@ function GENERAL_f() { var nout = sum(this.out); this.set_param_popup_title = "Set General Zero-Crossing parameters"; var options = { - in1:["Input size",this.in1], - out:["Number of event output",this.out], + in1:["Input size",this.in1], + out:["Number of event output",this.out], } return options; } @@ -77,4 +77,11 @@ function GENERAL_f() { GENERAL_f.prototype.get_popup_title = function GENERAL_f() { return this.set_param_popup_title; } + GENERAL_f.prototype.importset = function GENERAL_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + this.out = ary[1]; + } + GENERAL_f.prototype.getContainer = function GENERAL_f() { return new BasicBlock(this.x); } } diff --git a/js/Threshold/NEGTOPOS_f.js b/js/Threshold/NEGTOPOS_f.js index 797c7acb..99d3c821 100644 --- a/js/Threshold/NEGTOPOS_f.js +++ b/js/Threshold/NEGTOPOS_f.js @@ -27,4 +27,5 @@ function NEGTOPOS_f() { NEGTOPOS_f.prototype.get_popup_title = function NEGTOPOS_f() { return; } + NEGTOPOS_f.prototype.getContainer = function NEGTOPOS_f() { return new BasicBlock(this.x); } } diff --git a/js/Threshold/POSTONEG_f.js b/js/Threshold/POSTONEG_f.js index 77396854..110dfdaf 100644 --- a/js/Threshold/POSTONEG_f.js +++ b/js/Threshold/POSTONEG_f.js @@ -28,4 +28,5 @@ function POSTONEG_f() { POSTONEG_f.prototype.get_popup_title = function POSTONEG_f() { return; } + POSTONEG_f.prototype.getContainer = function POSTONEG_f() { return new BasicBlock(this.x); } } diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js index 2d1edd28..cae284ce 100644 --- a/js/Threshold/ZCROSS_f.js +++ b/js/Threshold/ZCROSS_f.js @@ -61,4 +61,10 @@ function ZCROSS_f() { ZCROSS_f.prototype.get_popup_title = function ZCROSS_f() { return this.set_param_popup_title; } + ZCROSS_f.prototype.importset = function ZCROSS_f() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.in1 = ary[0]; + } + ZCROSS_f.prototype.getContainer = function ZCROSS_f() { return new BasicBlock(this.x); } } |