diff options
Diffstat (limited to 'js/Electrical/ConstantVoltage.js')
-rw-r--r-- | js/Electrical/ConstantVoltage.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index 3c704577..a1b5e336 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -1,6 +1,6 @@ /* autogenerated from "macros/Electrical/ConstantVoltage.sci" */ function ConstantVoltage() { -ConstantVoltage.prototype.define = function ConstantVoltage() { + ConstantVoltage.prototype.define = function ConstantVoltage() { V=0.01; model=scicos_model(); model.rpar=V; @@ -20,12 +20,12 @@ gr_i=[]; x=standard_define([1.5,1.1],model,exprs,list(gr_i,0)); x.graphics.in_implicit=["I"]; x.graphics.out_implicit=["I"]; -} -ConstantVoltage.prototype.details = function ConstantVoltage() { -} -ConstantVoltage.prototype.get = function ConstantVoltage() { -} -ConstantVoltage.prototype.set = function ConstantVoltage() { + } + ConstantVoltage.prototype.details = function ConstantVoltage() { + } + ConstantVoltage.prototype.get = function ConstantVoltage() { + } + ConstantVoltage.prototype.set = function ConstantVoltage() { x=arg1; graphics=arg1.graphics; exprs=graphics.exprs; @@ -42,5 +42,5 @@ x.graphics=graphics; x.model=model; break; } -} + } } |