diff options
Diffstat (limited to 'js/Threshold')
-rw-r--r-- | js/Threshold/GENERAL_f.js | 2 | ||||
-rw-r--r-- | js/Threshold/ZCROSS_f.js | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index a4478629..14bf576d 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -24,6 +24,8 @@ function GENERAL_f() { GENERAL_f.prototype.get = function GENERAL_f() { } GENERAL_f.prototype.set = function GENERAL_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js index cc2b6c08..1e029aee 100644 --- a/js/Threshold/ZCROSS_f.js +++ b/js/Threshold/ZCROSS_f.js @@ -23,6 +23,7 @@ function ZCROSS_f() { ZCROSS_f.prototype.get = function ZCROSS_f() { } ZCROSS_f.prototype.set = function ZCROSS_f() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |