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.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index ffe642ac..b056b0b0 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -27,6 +27,12 @@ function OpAmp() {
return this.x;
}
OpAmp.prototype.get = function OpAmp() {
+ var options = {
+ OLGain:["Open Loop Gain",this.OLGain],
+ SatH:["Positive saturation voltage",this.SatH],
+ SatL:["Negative saturation voltage",this.SatL],
+ }
+ return options;
}
OpAmp.prototype.set = function OpAmp() {
this.OLGain = parseFloat((arguments[0]["OLGain"]))