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.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js
index 4ec8f9dd..09334c4a 100644
--- a/js/Electrical/OpAmp.js
+++ b/js/Electrical/OpAmp.js
@@ -1,24 +1,5 @@
/* autogenerated from "macros/Electrical/OpAmp.sci" */
function OpAmp() {
-OpAmp.prototype.get = function OpAmp() {
-}
-OpAmp.prototype.set = function OpAmp() {
-x=arg1;
-graphics=arg1.graphics;
-exprs=graphics.exprs;
-model=arg1.model;
-while (false) {
-[ok,OLGain,SatH,SatL,exprs]=scicos_getvalue("Set the Operational Amplifier parameters",["Open Loop Gain","Positive saturation voltage","Negative saturation voltage"],list("vec",1,"vec",1,"vec",1),exprs);
-if (!ok) {
-break
-}
-model.equations.parameters[2-1]=list(OLGain,SatH,SatL);
-graphics.exprs=exprs;
-x.graphics=graphics;
-x.model=model;
-break
-}
-}
OpAmp.prototype.define = function OpAmp() {
S=[];
Z=[];
@@ -43,4 +24,23 @@ x.graphics.out_implicit=["I"];
}
OpAmp.prototype.details = function OpAmp() {
}
+OpAmp.prototype.get = function OpAmp() {
+}
+OpAmp.prototype.set = function OpAmp() {
+x=arg1;
+graphics=arg1.graphics;
+exprs=graphics.exprs;
+model=arg1.model;
+while (false) {
+[ok,OLGain,SatH,SatL,exprs]=scicos_getvalue("Set the Operational Amplifier parameters",["Open Loop Gain","Positive saturation voltage","Negative saturation voltage"],list("vec",1,"vec",1,"vec",1),exprs);
+if (!ok) {
+break
+}
+model.equations.parameters[2-1]=list(OLGain,SatH,SatL);
+graphics.exprs=exprs;
+x.graphics=graphics;
+x.model=model;
+break
+}
+}
}