diff options
Diffstat (limited to 'js/NonLinear')
-rw-r--r-- | js/NonLinear/ABSBLK_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/ABS_VALUE.js | 6 | ||||
-rw-r--r-- | js/NonLinear/COSBLK_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/DLRADAPT_f.js | 11 | ||||
-rw-r--r-- | js/NonLinear/EXPBLK_f.js | 6 | ||||
-rw-r--r-- | js/NonLinear/EXPBLK_m.js | 6 | ||||
-rw-r--r-- | js/NonLinear/FSV_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/INTRP2BLK_f.js | 8 | ||||
-rw-r--r-- | js/NonLinear/INTRPLBLK_f.js | 7 | ||||
-rw-r--r-- | js/NonLinear/INVBLK.js | 1 | ||||
-rw-r--r-- | js/NonLinear/INVBLK_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/LOGBLK_f.js | 6 | ||||
-rw-r--r-- | js/NonLinear/LOOKUP2D.js | 10 | ||||
-rw-r--r-- | js/NonLinear/LOOKUP_c.js | 10 | ||||
-rw-r--r-- | js/NonLinear/LOOKUP_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/MAXMIN.js | 8 | ||||
-rw-r--r-- | js/NonLinear/MAX_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/MIN_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/POWBLK_f.js | 6 | ||||
-rw-r--r-- | js/NonLinear/PRODUCT.js | 6 | ||||
-rw-r--r-- | js/NonLinear/PROD_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/QUANT_f.js | 7 | ||||
-rw-r--r-- | js/NonLinear/SATURATION.js | 8 | ||||
-rw-r--r-- | js/NonLinear/SAT_f.js | 8 | ||||
-rw-r--r-- | js/NonLinear/SIGNUM.js | 6 | ||||
-rw-r--r-- | js/NonLinear/SINBLK_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/TANBLK_f.js | 1 | ||||
-rw-r--r-- | js/NonLinear/TrigFun.js | 6 |
28 files changed, 136 insertions, 0 deletions
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); } } |