diff options
Diffstat (limited to 'js/Sources/GEN_SQR.js')
-rw-r--r-- | js/Sources/GEN_SQR.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 7bab957c..040f40c4 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -1,6 +1,6 @@ /* autogenerated from "macros/Sources/GEN_SQR.sci" */ function GEN_SQR() { -GEN_SQR.prototype.define = function GEN_SQR() { + GEN_SQR.prototype.define = function GEN_SQR() { scs_m_1=scicos_diagram(version="scicos4.2",props=scicos_params(wpar=[-176.97473,421.18646,173.61587,524.41503,827,480,0,15,827,480,755,614,1.4],Title="SuperBlock",tol=[0.0001,0.000001,1.000e-10,100001,0,0],tf=100000,context=[["if typeof(Amin)<>typeof(Amax) then error(\'Minimum value and Maximum value must have the same type\');end"],["if and(rule<>[1;2]) then error(\'Initial Value must be 1 (for Min) or 2 (for Max)\');end"],["if Amin>Amax then error(\'Maximum value must be greater than the Minimum Value\');end"],["P=%pi/F"],[""]],void1=[],options=tlist(["scsopt","3D","Background","Link","ID","Cmap"],list(true,33),[8,1],[1,5],list([5,1],[4,1]),[0.8,0.8,0.8]),void2=[],void3=[],doc=list())); scs_m_1.objs[1-1]=scicos_block(gui="Counter",graphics=scicos_graphics(orig=[18.229901,339.5057],sz=[60,40],flip=true,theta=0,exprs=[["1"],["2"],["rule"]],pin=[],pout=8,pein=16,peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("counter",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=1,evtout=[],state=[],dstate=0,odstate=list(),rpar=[],ipar=[[1],[2],[1]],opar=list(),blocktype="c",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list()); scs_m_1.objs[2-1]=scicos_block(gui="CONST_m",graphics=scicos_graphics(orig=[38.096074,293.82198],sz=[40,40],flip=true,theta=0,exprs="Amin",pin=[],pout=5,pein=[],peout=[],gr_i=[],id="",in_implicit=[],out_implicit="E"),model=scicos_model(sim=list("cstblk4_m",4),in1=[],in2=[],intyp=1,out=1,out2=1,outtyp=1,evtin=[],evtout=[],state=[],dstate=[],odstate=list(),rpar=[],ipar=[],opar=list(-1),blocktype="d",firing=[],dep_ut=[false,false],label="",nzcross=0,nmode=0,equations=list()),doc=list()); @@ -48,12 +48,12 @@ F=1; exprs=[sci2exp(Amin),sci2exp(Amax),sci2exp(rule),sci2exp(F)]; gr_i=[]; x=standard_define([3,2],model,exprs,gr_i); -} -GEN_SQR.prototype.details = function GEN_SQR() { -} -GEN_SQR.prototype.get = function GEN_SQR() { -} -GEN_SQR.prototype.set = function GEN_SQR() { + } + GEN_SQR.prototype.details = function GEN_SQR() { + } + GEN_SQR.prototype.get = function GEN_SQR() { + } + GEN_SQR.prototype.set = function GEN_SQR() { y=needcompile; arg1.model.ipar=1; typ=list(); @@ -87,5 +87,5 @@ message(lasterror()); ok=false; } } -} + } } |