summaryrefslogtreecommitdiff
path: root/js/Electrical/OpAmp.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/OpAmp.js')
-rw-r--r--js/Electrical/OpAmp.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 0c01a215..ffe642ac 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -29,6 +29,9 @@ function OpAmp() {
OpAmp.prototype.get = function OpAmp() {
}
OpAmp.prototype.set = function OpAmp() {
+ this.OLGain = parseFloat((arguments[0]["OLGain"]))
+ this.SatH = parseFloat((arguments[0]["SatH"]))
+ this.SatL = parseFloat((arguments[0]["SatL"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;