summaryrefslogtreecommitdiff
path: root/js/Electrical/Diode.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/Diode.js')
-rw-r--r--js/Electrical/Diode.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js
index b50e5e1c..ed1dd814 100644
--- a/js/Electrical/Diode.js
+++ b/js/Electrical/Diode.js
@@ -63,4 +63,13 @@ function Diode() {
Diode.prototype.get_popup_title = function Diode() {
return this.set_param_popup_title;
}
+ Diode.prototype.importset = function Diode() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.Ids = ary[0];
+ this.Vt = ary[1];
+ this.Maxexp = ary[2];
+ this.R = ary[3];
+ }
+ Diode.prototype.getContainer = function Diode() { return new BasicBlock(this.x); }
}