diff options
Diffstat (limited to 'js/Electrical/Switch.js')
-rw-r--r-- | js/Electrical/Switch.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js index ad7ed43d..46e66473 100644 --- a/js/Electrical/Switch.js +++ b/js/Electrical/Switch.js @@ -29,6 +29,11 @@ function Switch() { return this.x; } Switch.prototype.get = function Switch() { + var options = { + Ron:["Resistance in On state (Ohm)",this.Ron], + Roff:["Resistance in Off state (Ohm)",this.Roff], + } + return options; } Switch.prototype.set = function Switch() { this.Ron = parseFloat((arguments[0]["Ron"])) |