diff options
Diffstat (limited to 'js/Electrical/Diode.js')
-rw-r--r-- | js/Electrical/Diode.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/Electrical/Diode.js b/js/Electrical/Diode.js index a5b8706a..d8141b81 100644 --- a/js/Electrical/Diode.js +++ b/js/Electrical/Diode.js @@ -31,6 +31,10 @@ function Diode() { Diode.prototype.get = function Diode() { } Diode.prototype.set = function Diode() { + this.Ids = parseFloat((arguments[0]["Ids"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.Maxexp = parseFloat((arguments[0]["Maxexp"])) + this.R = parseFloat((arguments[0]["R"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; |