From 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 20:21:14 +0530 Subject: add set block --- combined.js | 740 +++++++++++++++++++++++++++++++++++ js/Branching/CLKFROM.js | 1 + js/Branching/CLKGOTO.js | 2 + js/Branching/CLKGotoTagVisibility.js | 1 + js/Branching/DEMUX.js | 1 + js/Branching/DEMUX_f.js | 1 + js/Branching/ESELECT_f.js | 3 + js/Branching/EXTRACTOR.js | 1 + js/Branching/FROM.js | 1 + js/Branching/FROMMO.js | 1 + js/Branching/GOTO.js | 2 + js/Branching/GOTOMO.js | 2 + js/Branching/GotoTagVisibility.js | 1 + js/Branching/GotoTagVisibilityMO.js | 1 + js/Branching/ISELECT_f.js | 2 + js/Branching/ISELECT_m.js | 3 + js/Branching/MUX.js | 1 + js/Branching/MUX_f.js | 1 + js/Branching/M_SWITCH.js | 3 + js/Branching/NRMSOM_f.js | 1 + js/Branching/RELAY_f.js | 2 + js/Branching/SCALAR2VECTOR.js | 1 + js/Branching/SELECT_f.js | 2 + js/Branching/SELECT_m.js | 3 + js/Branching/SWITCH2.js | 3 + js/Branching/SWITCH2_m.js | 4 + js/Branching/SWITCH_f.js | 2 + js/Electrical/Capacitor.js | 2 + js/Electrical/ConstantVoltage.js | 1 + js/Electrical/Diode.js | 4 + js/Electrical/Gyrator.js | 2 + js/Electrical/IdealTransformer.js | 1 + js/Electrical/Inductor.js | 1 + js/Electrical/NMOS.js | 9 + js/Electrical/NPN.js | 17 + js/Electrical/OpAmp.js | 3 + js/Electrical/PMOS.js | 9 + js/Electrical/PNP.js | 17 + js/Electrical/Resistor.js | 1 + js/Electrical/SineVoltage.js | 5 + js/Electrical/Switch.js | 2 + js/Electrical/VVsourceAC.js | 1 + js/Electrical/VsourceAC.js | 2 + js/Events/END_c.js | 1 + js/Events/EVTDLY_c.js | 2 + js/Events/EVTDLY_f.js | 2 + js/Events/EVTGEN_f.js | 1 + js/Events/EVTVARDLY.js | 1 + js/Events/HALT_f.js | 1 + js/Events/IFTHEL_f.js | 2 + js/Events/MFCLCK_f.js | 2 + js/Events/M_freq.js | 2 + js/Events/freq_div.js | 2 + js/Hydraulics/Bache.js | 9 + js/Hydraulics/Flowmeter.js | 1 + js/Hydraulics/PerteDP.js | 6 + js/Hydraulics/PuitsP.js | 4 + js/Hydraulics/SourceP.js | 4 + js/Hydraulics/VanneReglante.js | 2 + js/IntegerOp/BITCLEAR.js | 2 + js/IntegerOp/BITSET.js | 2 + js/IntegerOp/CONVERT.js | 3 + js/IntegerOp/EXTRACTBITS.js | 4 + js/IntegerOp/INTMUL.js | 2 + js/IntegerOp/JKFLIPFLOP.js | 2 + js/IntegerOp/LOGIC.js | 2 + js/IntegerOp/SHIFT.js | 3 + js/IntegerOp/SRFLIPFLOP.js | 2 + js/Linear/BIGSOM_f.js | 1 + js/Linear/CLR.js | 2 + js/Linear/CLR_f.js | 2 + js/Linear/CLSS.js | 5 + js/Linear/CLSS_f.js | 5 + js/Linear/DELAYV_f.js | 3 + js/Linear/DELAY_f.js | 2 + js/Linear/DIFF_c.js | 2 + js/Linear/DLR.js | 2 + js/Linear/DLR_f.js | 2 + js/Linear/DLSS.js | 5 + js/Linear/DLSS_f.js | 5 + js/Linear/DOLLAR.js | 2 + js/Linear/DOLLAR_f.js | 2 + js/Linear/DOLLAR_m.js | 2 + js/Linear/GAINBLK.js | 2 + js/Linear/GAINBLK_f.js | 1 + js/Linear/GAIN_f.js | 1 + js/Linear/INTEGRAL.js | 5 + js/Linear/INTEGRAL_f.js | 1 + js/Linear/INTEGRAL_m.js | 5 + js/Linear/PID.js | 4 + js/Linear/REGISTER.js | 2 + js/Linear/REGISTER_f.js | 1 + js/Linear/SAMPHOLD_m.js | 1 + js/Linear/SUMMATION.js | 3 + js/Linear/TCLSS.js | 5 + js/Linear/TCLSS_f.js | 5 + js/Linear/TIME_DELAY.js | 3 + js/Linear/VARIABLE_DELAY.js | 3 + js/MatrixOp/CUMSUM.js | 3 + js/MatrixOp/EXTRACT.js | 3 + js/MatrixOp/EXTTRI.js | 3 + js/MatrixOp/MATBKSL.js | 1 + js/MatrixOp/MATCATH.js | 2 + js/MatrixOp/MATCATV.js | 2 + js/MatrixOp/MATDET.js | 1 + js/MatrixOp/MATDIAG.js | 1 + js/MatrixOp/MATDIV.js | 1 + js/MatrixOp/MATEIG.js | 3 + js/MatrixOp/MATEXPM.js | 1 + js/MatrixOp/MATINV.js | 1 + js/MatrixOp/MATLU.js | 2 + js/MatrixOp/MATMAGPHI.js | 2 + js/MatrixOp/MATMUL.js | 3 + js/MatrixOp/MATPINV.js | 1 + js/MatrixOp/MATRESH.js | 4 + js/MatrixOp/MATSING.js | 3 + js/MatrixOp/MATSUM.js | 3 + js/MatrixOp/MATTRAN.js | 2 + js/MatrixOp/MATZREIM.js | 2 + js/MatrixOp/RICC.js | 2 + js/MatrixOp/ROOTCOEF.js | 2 + js/MatrixOp/SQRT.js | 1 + js/MatrixOp/SUBMAT.js | 6 + js/Misc/BACKLASH.js | 3 + js/Misc/BOUNCE.js | 9 + js/Misc/BOUNCEXY.js | 8 + js/Misc/BPLATFORM.js | 7 + js/Misc/CBLOCK.js | 15 + js/Misc/CBLOCK4.js | 20 + js/Misc/CONSTRAINT2_c.js | 3 + js/Misc/CONSTRAINT_c.js | 1 + js/Misc/DEADBAND.js | 3 + js/Misc/DIFF_f.js | 2 + js/Misc/EDGETRIGGER.js | 1 + js/Misc/HYSTHERESIS.js | 5 + js/Misc/LOGICAL_OP.js | 4 + js/Misc/MBLOCK.js | 8 + js/Misc/MEMORY_f.js | 2 + js/Misc/PENDULUM_ANIM.js | 7 + js/Misc/RATELIMITER.js | 2 + js/Misc/RELATIONALOP.js | 3 + js/Misc/TEXT_f.js | 3 + js/Misc/c_block.js | 5 + js/Misc/fortran_block.js | 5 + js/Misc/generic_block.js | 14 + js/Misc/generic_block2.js | 16 + js/Misc/generic_block3.js | 20 + js/Misc/scifunc_block.js | 10 + js/Misc/scifunc_block_m.js | 10 + js/NonLinear/ABS_VALUE.js | 1 + js/NonLinear/DLRADAPT_f.js | 6 + js/NonLinear/EXPBLK_f.js | 1 + js/NonLinear/EXPBLK_m.js | 1 + js/NonLinear/INTRP2BLK_f.js | 3 + js/NonLinear/INTRPLBLK_f.js | 2 + js/NonLinear/LOGBLK_f.js | 1 + js/NonLinear/LOOKUP2D.js | 5 + js/NonLinear/MAXMIN.js | 3 + js/NonLinear/POWBLK_f.js | 1 + js/NonLinear/PRODUCT.js | 1 + js/NonLinear/QUANT_f.js | 2 + js/NonLinear/SATURATION.js | 3 + js/NonLinear/SAT_f.js | 3 + js/NonLinear/SIGNUM.js | 1 + js/NonLinear/TrigFun.js | 1 + js/PDE/PDE.js | 3 + js/Sinks/AFFICH_m.js | 7 + js/Sinks/BARXY.js | 5 + js/Sinks/CANIMXY.js | 11 + js/Sinks/CANIMXY3D.js | 11 + js/Sinks/CEVENTSCOPE.js | 6 + js/Sinks/CFSCOPE.js | 9 + js/Sinks/CLKOUTV_f.js | 1 + js/Sinks/CLKOUT_f.js | 1 + js/Sinks/CMAT3D.js | 5 + js/Sinks/CMATVIEW.js | 3 + js/Sinks/CMSCOPE.js | 11 + js/Sinks/CSCOPE.js | 10 + js/Sinks/CSCOPXY.js | 11 + js/Sinks/CSCOPXY3D.js | 11 + js/Sinks/OUTIMPL_f.js | 1 + js/Sinks/OUT_f.js | 1 + js/Sinks/TOWS_c.js | 3 + js/Sinks/WFILE_f.js | 4 + js/Sinks/WRITEAU_f.js | 2 + js/Sinks/WRITEC_f.js | 5 + js/Sources/CLKINV_f.js | 1 + js/Sources/CLKIN_f.js | 1 + js/Sources/CLOCK_c.js | 3 + js/Sources/CLOCK_f.js | 3 + js/Sources/CONST.js | 1 + js/Sources/CONST_f.js | 1 + js/Sources/CONST_m.js | 1 + js/Sources/Counter.js | 3 + js/Sources/FROMWS_c.js | 4 + js/Sources/GENSIN_f.js | 3 + js/Sources/GENSQR_f.js | 1 + js/Sources/GEN_SQR.js | 4 + js/Sources/INIMPL_f.js | 1 + js/Sources/Modulo_Count.js | 2 + js/Sources/PULSE_SC.js | 4 + js/Sources/RAMP.js | 3 + js/Sources/RAND_f.js | 4 + js/Sources/RAND_m.js | 5 + js/Sources/READAU_f.js | 3 + js/Sources/READC_f.js | 8 + js/Sources/RFILE_f.js | 5 + js/Sources/STEP.js | 3 + js/Sources/SampleCLK.js | 2 + js/Sources/TKSCALE.js | 3 + js/Threshold/GENERAL_f.js | 2 + js/Threshold/ZCROSS_f.js | 1 + sci2jsyacc.py | 7 +- 213 files changed, 1483 insertions(+), 4 deletions(-) diff --git a/combined.js b/combined.js index a754efee..476d7a42 100644 --- a/combined.js +++ b/combined.js @@ -19,6 +19,7 @@ function CLKFROM() { CLKFROM.prototype.get = function CLKFROM() { } CLKFROM.prototype.set = function CLKFROM() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -66,6 +67,8 @@ function CLKGOTO() { CLKGOTO.prototype.get = function CLKGOTO() { } CLKGOTO.prototype.set = function CLKGOTO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -126,6 +129,7 @@ function CLKGotoTagVisibility() { CLKGotoTagVisibility.prototype.get = function CLKGotoTagVisibility() { } CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -174,6 +178,7 @@ function DEMUX() { DEMUX.prototype.get = function DEMUX() { } DEMUX.prototype.set = function DEMUX() { + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -240,6 +245,7 @@ function DEMUX_f() { DEMUX_f.prototype.get = function DEMUX_f() { } DEMUX_f.prototype.set = function DEMUX_f() { + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -310,6 +316,9 @@ function ESELECT_f() { ESELECT_f.prototype.get = function ESELECT_f() { } ESELECT_f.prototype.set = function ESELECT_f() { + this.out = parseFloat((arguments[0]["out"])) + this.inh = parseFloat((arguments[0]["inh"])) + this.nmod = parseFloat((arguments[0]["nmod"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -375,6 +384,7 @@ function EXTRACTOR() { EXTRACTOR.prototype.get = function EXTRACTOR() { } EXTRACTOR.prototype.set = function EXTRACTOR() { + this.ind = parseFloat((arguments[0]["ind"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -425,6 +435,7 @@ function FROM() { FROM.prototype.get = function FROM() { } FROM.prototype.set = function FROM() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -480,6 +491,7 @@ function FROMMO() { FROMMO.prototype.get = function FROMMO() { } FROMMO.prototype.set = function FROMMO() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -532,6 +544,8 @@ function GOTO() { GOTO.prototype.get = function GOTO() { } GOTO.prototype.set = function GOTO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -594,6 +608,8 @@ function GOTOMO() { GOTOMO.prototype.get = function GOTOMO() { } GOTOMO.prototype.set = function GOTOMO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -653,6 +669,7 @@ function GotoTagVisibility() { GotoTagVisibility.prototype.get = function GotoTagVisibility() { } GotoTagVisibility.prototype.set = function GotoTagVisibility() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -705,6 +722,7 @@ function GotoTagVisibilityMO() { GotoTagVisibilityMO.prototype.get = function GotoTagVisibilityMO() { } GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -755,6 +773,8 @@ function ISELECT_f() { ISELECT_f.prototype.get = function ISELECT_f() { } ISELECT_f.prototype.set = function ISELECT_f() { + this.nout = parseFloat((arguments[0]["nout"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -813,6 +833,9 @@ function ISELECT_m() { ISELECT_m.prototype.get = function ISELECT_m() { } ISELECT_m.prototype.set = function ISELECT_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.nout = parseFloat((arguments[0]["nout"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -869,6 +892,7 @@ function MUX() { MUX.prototype.get = function MUX() { } MUX.prototype.set = function MUX() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -934,6 +958,7 @@ function MUX_f() { MUX_f.prototype.get = function MUX_f() { } MUX_f.prototype.set = function MUX_f() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1001,6 +1026,9 @@ function M_SWITCH() { M_SWITCH.prototype.get = function M_SWITCH() { } M_SWITCH.prototype.set = function M_SWITCH() { + this.nin = parseFloat((arguments[0]["nin"])) + this.base = parseFloat((arguments[0]["base"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1065,6 +1093,7 @@ function NRMSOM_f() { NRMSOM_f.prototype.get = function NRMSOM_f() { } NRMSOM_f.prototype.set = function NRMSOM_f() { + this.nin = parseFloat((arguments[0]["nin"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1111,6 +1140,8 @@ function RELAY_f() { RELAY_f.prototype.get = function RELAY_f() { } RELAY_f.prototype.set = function RELAY_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1158,6 +1189,7 @@ function SCALAR2VECTOR() { SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() { } SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() { + this.nout = parseFloat((arguments[0]["nout"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1210,6 +1242,8 @@ function SELECT_f() { SELECT_f.prototype.get = function SELECT_f() { } SELECT_f.prototype.set = function SELECT_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1268,6 +1302,9 @@ function SELECT_m() { SELECT_m.prototype.get = function SELECT_m() { } SELECT_m.prototype.set = function SELECT_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1330,6 +1367,9 @@ function SWITCH2() { SWITCH2.prototype.get = function SWITCH2() { } SWITCH2.prototype.set = function SWITCH2() { + this.rule = parseFloat((arguments[0]["rule"])) + this.thra = parseFloat((arguments[0]["thra"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1394,6 +1434,10 @@ function SWITCH2_m() { SWITCH2_m.prototype.get = function SWITCH2_m() { } SWITCH2_m.prototype.set = function SWITCH2_m() { + this.ot = parseFloat((arguments[0]["ot"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.thra = parseFloat((arguments[0]["thra"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1466,6 +1510,8 @@ function SWITCH_f() { SWITCH_f.prototype.get = function SWITCH_f() { } SWITCH_f.prototype.set = function SWITCH_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1653,6 +1699,8 @@ function Capacitor() { Capacitor.prototype.get = function Capacitor() { } Capacitor.prototype.set = function Capacitor() { + this.C = parseFloat((arguments[0]["C"])) + this.v = parseFloat((arguments[0]["v"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1702,6 +1750,7 @@ function ConstantVoltage() { ConstantVoltage.prototype.get = function ConstantVoltage() { } ConstantVoltage.prototype.set = function ConstantVoltage() { + this.V = parseFloat((arguments[0]["V"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1785,6 +1834,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; @@ -1891,6 +1944,8 @@ function Gyrator() { Gyrator.prototype.get = function Gyrator() { } Gyrator.prototype.set = function Gyrator() { + this.G1 = parseFloat((arguments[0]["G1"])) + this.G2 = parseFloat((arguments[0]["G2"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -1966,6 +2021,7 @@ function IdealTransformer() { IdealTransformer.prototype.get = function IdealTransformer() { } IdealTransformer.prototype.set = function IdealTransformer() { + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2014,6 +2070,7 @@ function Inductor() { Inductor.prototype.get = function Inductor() { } Inductor.prototype.set = function Inductor() { + this.L = parseFloat((arguments[0]["L"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2096,6 +2153,15 @@ function NMOS() { NMOS.prototype.get = function NMOS() { } NMOS.prototype.set = function NMOS() { + this.W = parseFloat((arguments[0]["W"])) + this.L = parseFloat((arguments[0]["L"])) + this.Beta = parseFloat((arguments[0]["Beta"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.K2 = parseFloat((arguments[0]["K2"])) + this.K5 = parseFloat((arguments[0]["K5"])) + this.dW = parseFloat((arguments[0]["dW"])) + this.dL = parseFloat((arguments[0]["dL"])) + this.RDS = parseFloat((arguments[0]["RDS"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2171,6 +2237,23 @@ function NPN() { NPN.prototype.get = function NPN() { } NPN.prototype.set = function NPN() { + this.Bf = parseFloat((arguments[0]["Bf"])) + this.Br = parseFloat((arguments[0]["Br"])) + this.Is = parseFloat((arguments[0]["Is"])) + this.Vak = parseFloat((arguments[0]["Vak"])) + this.Tauf = parseFloat((arguments[0]["Tauf"])) + this.Taur = parseFloat((arguments[0]["Taur"])) + this.Ccs = parseFloat((arguments[0]["Ccs"])) + this.Cje = parseFloat((arguments[0]["Cje"])) + this.Cjc = parseFloat((arguments[0]["Cjc"])) + this.Phie = parseFloat((arguments[0]["Phie"])) + this.Me = parseFloat((arguments[0]["Me"])) + this.Phic = parseFloat((arguments[0]["Phic"])) + this.Mc = parseFloat((arguments[0]["Mc"])) + this.Gbc = parseFloat((arguments[0]["Gbc"])) + this.Gbe = parseFloat((arguments[0]["Gbe"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.EMinMax = parseFloat((arguments[0]["EMinMax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2220,6 +2303,9 @@ function OpAmp() { OpAmp.prototype.get = function OpAmp() { } OpAmp.prototype.set = function OpAmp() { + this.OLGain = parseFloat((arguments[0]["OLGain"])) + this.SatH = parseFloat((arguments[0]["SatH"])) + this.SatL = parseFloat((arguments[0]["SatL"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2275,6 +2361,15 @@ function PMOS() { PMOS.prototype.get = function PMOS() { } PMOS.prototype.set = function PMOS() { + this.W = parseFloat((arguments[0]["W"])) + this.L = parseFloat((arguments[0]["L"])) + this.Beta = parseFloat((arguments[0]["Beta"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.K2 = parseFloat((arguments[0]["K2"])) + this.K5 = parseFloat((arguments[0]["K5"])) + this.dW = parseFloat((arguments[0]["dW"])) + this.dL = parseFloat((arguments[0]["dL"])) + this.RDS = parseFloat((arguments[0]["RDS"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2350,6 +2445,23 @@ function PNP() { PNP.prototype.get = function PNP() { } PNP.prototype.set = function PNP() { + this.Bf = parseFloat((arguments[0]["Bf"])) + this.Br = parseFloat((arguments[0]["Br"])) + this.Is = parseFloat((arguments[0]["Is"])) + this.Vak = parseFloat((arguments[0]["Vak"])) + this.Tauf = parseFloat((arguments[0]["Tauf"])) + this.Taur = parseFloat((arguments[0]["Taur"])) + this.Ccs = parseFloat((arguments[0]["Ccs"])) + this.Cje = parseFloat((arguments[0]["Cje"])) + this.Cjc = parseFloat((arguments[0]["Cjc"])) + this.Phie = parseFloat((arguments[0]["Phie"])) + this.Me = parseFloat((arguments[0]["Me"])) + this.Phic = parseFloat((arguments[0]["Phic"])) + this.Mc = parseFloat((arguments[0]["Mc"])) + this.Gbc = parseFloat((arguments[0]["Gbc"])) + this.Gbe = parseFloat((arguments[0]["Gbe"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.EMinMax = parseFloat((arguments[0]["EMinMax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2429,6 +2541,7 @@ function Resistor() { Resistor.prototype.get = function Resistor() { } Resistor.prototype.set = function Resistor() { + this.R = parseFloat((arguments[0]["R"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2482,6 +2595,11 @@ function SineVoltage() { SineVoltage.prototype.get = function SineVoltage() { } SineVoltage.prototype.set = function SineVoltage() { + this.V = parseFloat((arguments[0]["V"])) + this.ph = parseFloat((arguments[0]["ph"])) + this.frq = parseFloat((arguments[0]["frq"])) + this.offset = parseFloat((arguments[0]["offset"])) + this.start = parseFloat((arguments[0]["start"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2534,6 +2652,8 @@ function Switch() { Switch.prototype.get = function Switch() { } Switch.prototype.set = function Switch() { + this.Ron = parseFloat((arguments[0]["Ron"])) + this.Roff = parseFloat((arguments[0]["Roff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2583,6 +2703,7 @@ function VVsourceAC() { VVsourceAC.prototype.get = function VVsourceAC() { } VVsourceAC.prototype.set = function VVsourceAC() { + this.FR = parseFloat((arguments[0]["FR"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2695,6 +2816,8 @@ function VsourceAC() { VsourceAC.prototype.get = function VsourceAC() { } VsourceAC.prototype.set = function VsourceAC() { + this.VA = parseFloat((arguments[0]["VA"])) + this.FR = parseFloat((arguments[0]["FR"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2910,6 +3033,7 @@ function END_c() { END_c.prototype.get = function END_c() { } END_c.prototype.set = function END_c() { + this.tf = parseFloat((arguments[0]["tf"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -2954,6 +3078,8 @@ function EVTDLY_c() { EVTDLY_c.prototype.get = function EVTDLY_c() { } EVTDLY_c.prototype.set = function EVTDLY_c() { + this.dt = parseFloat((arguments[0]["dt"])) + this.ff = parseFloat((arguments[0]["ff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3003,6 +3129,8 @@ function EVTDLY_f() { EVTDLY_f.prototype.get = function EVTDLY_f() { } EVTDLY_f.prototype.set = function EVTDLY_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.ff = parseFloat((arguments[0]["ff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3049,6 +3177,7 @@ function EVTGEN_f() { EVTGEN_f.prototype.get = function EVTGEN_f() { } EVTGEN_f.prototype.set = function EVTGEN_f() { + this.tt = parseFloat((arguments[0]["tt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3092,6 +3221,7 @@ function EVTVARDLY() { EVTVARDLY.prototype.get = function EVTVARDLY() { } EVTVARDLY.prototype.set = function EVTVARDLY() { + this.fir = parseFloat((arguments[0]["fir"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3132,6 +3262,7 @@ function HALT_f() { HALT_f.prototype.get = function HALT_f() { } HALT_f.prototype.set = function HALT_f() { + this.n = parseFloat((arguments[0]["n"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3178,6 +3309,8 @@ function IFTHEL_f() { IFTHEL_f.prototype.get = function IFTHEL_f() { } IFTHEL_f.prototype.set = function IFTHEL_f() { + this.inh = parseFloat((arguments[0]["inh"])) + this.nmod = parseFloat((arguments[0]["nmod"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3339,6 +3472,8 @@ function MFCLCK_f() { MFCLCK_f.prototype.get = function MFCLCK_f() { } MFCLCK_f.prototype.set = function MFCLCK_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.nn = parseFloat((arguments[0]["nn"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3380,6 +3515,8 @@ function M_freq() { M_freq.prototype.get = function M_freq() { } M_freq.prototype.set = function M_freq() { + this.frequ = parseFloat((arguments[0]["frequ"])) + this.offset = parseFloat((arguments[0]["offset"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -3563,6 +3700,8 @@ function freq_div() { freq_div.prototype.get = function freq_div() { } freq_div.prototype.set = function freq_div() { + %ph = parseFloat((arguments[0]["%ph"])) + %df = parseFloat((arguments[0]["%df"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="Modulo_Count") { @@ -3691,6 +3830,15 @@ function Bache() { Bache.prototype.get = function Bache() { } Bache.prototype.set = function Bache() { + this.Patm = parseFloat((arguments[0]["Patm"])) + this.A = parseFloat((arguments[0]["A"])) + this.ze1 = parseFloat((arguments[0]["ze1"])) + this.ze2 = parseFloat((arguments[0]["ze2"])) + this.zs1 = parseFloat((arguments[0]["zs1"])) + this.zs2 = parseFloat((arguments[0]["zs2"])) + this.z0 = parseFloat((arguments[0]["z0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3767,6 +3915,7 @@ function Flowmeter() { Flowmeter.prototype.get = function Flowmeter() { } Flowmeter.prototype.set = function Flowmeter() { + this.Qini = parseFloat((arguments[0]["Qini"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3822,6 +3971,12 @@ function PerteDP() { PerteDP.prototype.get = function PerteDP() { } PerteDP.prototype.set = function PerteDP() { + this.L = parseFloat((arguments[0]["L"])) + this.D = parseFloat((arguments[0]["D"])) + this.lambda = parseFloat((arguments[0]["lambda"])) + this.z1 = parseFloat((arguments[0]["z1"])) + this.z2 = parseFloat((arguments[0]["z2"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3871,6 +4026,10 @@ function PuitsP() { PuitsP.prototype.get = function PuitsP() { } PuitsP.prototype.set = function PuitsP() { + this.P0 = parseFloat((arguments[0]["P0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.H0 = parseFloat((arguments[0]["H0"])) + this.option_temperature = parseFloat((arguments[0]["option_temperature"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3922,6 +4081,10 @@ function SourceP() { SourceP.prototype.get = function SourceP() { } SourceP.prototype.set = function SourceP() { + this.P0 = parseFloat((arguments[0]["P0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.H0 = parseFloat((arguments[0]["H0"])) + this.option_temperature = parseFloat((arguments[0]["option_temperature"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -3974,6 +4137,8 @@ function VanneReglante() { VanneReglante.prototype.get = function VanneReglante() { } VanneReglante.prototype.set = function VanneReglante() { + this.Cvmax = parseFloat((arguments[0]["Cvmax"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -4018,6 +4183,8 @@ function BITCLEAR() { BITCLEAR.prototype.get = function BITCLEAR() { } BITCLEAR.prototype.set = function BITCLEAR() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.bit = parseFloat((arguments[0]["bit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -4107,6 +4274,8 @@ function BITSET() { BITSET.prototype.get = function BITSET() { } BITSET.prototype.set = function BITSET() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.bit = parseFloat((arguments[0]["bit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -4196,6 +4365,9 @@ function CONVERT() { CONVERT.prototype.get = function CONVERT() { } CONVERT.prototype.set = function CONVERT() { + this.it = parseFloat((arguments[0]["it"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -4721,6 +4893,10 @@ function EXTRACTBITS() { EXTRACTBITS.prototype.get = function EXTRACTBITS() { } EXTRACTBITS.prototype.set = function EXTRACTBITS() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.bit = parseFloat((arguments[0]["bit"])) + this.scal = parseFloat((arguments[0]["scal"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -4954,6 +5130,8 @@ function INTMUL() { INTMUL.prototype.get = function INTMUL() { } INTMUL.prototype.set = function INTMUL() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -5092,6 +5270,8 @@ function JKFLIPFLOP() { JKFLIPFLOP.prototype.get = function JKFLIPFLOP() { } JKFLIPFLOP.prototype.set = function JKFLIPFLOP() { + this.init = parseFloat((arguments[0]["init"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { @@ -5161,6 +5341,8 @@ function LOGIC() { LOGIC.prototype.get = function LOGIC() { } LOGIC.prototype.set = function LOGIC() { + this.mat = parseFloat((arguments[0]["mat"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5230,6 +5412,9 @@ function SHIFT() { SHIFT.prototype.get = function SHIFT() { } SHIFT.prototype.set = function SHIFT() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.nb = parseFloat((arguments[0]["nb"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -5366,6 +5551,8 @@ function SRFLIPFLOP() { SRFLIPFLOP.prototype.get = function SRFLIPFLOP() { } SRFLIPFLOP.prototype.set = function SRFLIPFLOP() { + this.init = parseFloat((arguments[0]["init"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { @@ -5429,6 +5616,7 @@ function BIGSOM_f() { BIGSOM_f.prototype.get = function BIGSOM_f() { } BIGSOM_f.prototype.set = function BIGSOM_f() { + this.sgn = parseFloat((arguments[0]["sgn"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -5502,6 +5690,8 @@ function CLR() { CLR.prototype.get = function CLR() { } CLR.prototype.set = function CLR() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5578,6 +5768,8 @@ function CLR_f() { CLR_f.prototype.get = function CLR_f() { } CLR_f.prototype.set = function CLR_f() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5656,6 +5848,11 @@ function CLSS() { CLSS.prototype.get = function CLSS() { } CLSS.prototype.set = function CLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5746,6 +5943,11 @@ function CLSS_f() { CLSS_f.prototype.get = function CLSS_f() { } CLSS_f.prototype.set = function CLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5826,6 +6028,9 @@ function DELAYV_f() { DELAYV_f.prototype.get = function DELAYV_f() { } DELAYV_f.prototype.set = function DELAYV_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.zz0 = parseFloat((arguments[0]["zz0"])) + this.T = parseFloat((arguments[0]["T"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -5935,6 +6140,8 @@ function DELAY_f() { DELAY_f.prototype.get = function DELAY_f() { } DELAY_f.prototype.set = function DELAY_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.z0 = parseFloat((arguments[0]["z0"])) ppath = list(0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; @@ -6039,6 +6246,8 @@ function DIFF_c() { DIFF_c.prototype.get = function DIFF_c() { } DIFF_c.prototype.set = function DIFF_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6103,6 +6312,8 @@ function DLR() { DLR.prototype.get = function DLR() { } DLR.prototype.set = function DLR() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6178,6 +6389,8 @@ function DLR_f() { DLR_f.prototype.get = function DLR_f() { } DLR_f.prototype.set = function DLR_f() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6253,6 +6466,11 @@ function DLSS() { DLSS.prototype.get = function DLSS() { } DLSS.prototype.set = function DLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6342,6 +6560,11 @@ function DLSS_f() { DLSS_f.prototype.get = function DLSS_f() { } DLSS_f.prototype.set = function DLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6418,6 +6641,8 @@ function DOLLAR() { DOLLAR.prototype.get = function DOLLAR() { } DOLLAR.prototype.set = function DOLLAR() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6511,6 +6736,8 @@ function DOLLAR_f() { DOLLAR_f.prototype.get = function DOLLAR_f() { } DOLLAR_f.prototype.set = function DOLLAR_f() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6569,6 +6796,8 @@ function DOLLAR_m() { DOLLAR_m.prototype.get = function DOLLAR_m() { } DOLLAR_m.prototype.set = function DOLLAR_m() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6665,6 +6894,8 @@ function GAINBLK() { GAINBLK.prototype.get = function GAINBLK() { } GAINBLK.prototype.set = function GAINBLK() { + this.gain = parseFloat((arguments[0]["gain"])) + this.over = parseFloat((arguments[0]["over"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6811,6 +7042,7 @@ function GAINBLK_f() { GAINBLK_f.prototype.get = function GAINBLK_f() { } GAINBLK_f.prototype.set = function GAINBLK_f() { + this.gain = parseFloat((arguments[0]["gain"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6861,6 +7093,7 @@ function GAIN_f() { GAIN_f.prototype.get = function GAIN_f() { } GAIN_f.prototype.set = function GAIN_f() { + this.gain = parseFloat((arguments[0]["gain"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6913,6 +7146,11 @@ function INTEGRAL() { INTEGRAL.prototype.get = function INTEGRAL() { } INTEGRAL.prototype.set = function INTEGRAL() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.reinit = parseFloat((arguments[0]["reinit"])) + this.satur = parseFloat((arguments[0]["satur"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.lowp = parseFloat((arguments[0]["lowp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -6992,6 +7230,7 @@ function INTEGRAL_f() { INTEGRAL_f.prototype.get = function INTEGRAL_f() { } INTEGRAL_f.prototype.set = function INTEGRAL_f() { + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7038,6 +7277,11 @@ function INTEGRAL_m() { INTEGRAL_m.prototype.get = function INTEGRAL_m() { } INTEGRAL_m.prototype.set = function INTEGRAL_m() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.reinit = parseFloat((arguments[0]["reinit"])) + this.satur = parseFloat((arguments[0]["satur"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.lowp = parseFloat((arguments[0]["lowp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7184,6 +7428,10 @@ function PID() { PID.prototype.get = function PID() { } PID.prototype.set = function PID() { + this.p = parseFloat((arguments[0]["p"])) + this.i = parseFloat((arguments[0]["i"])) + this.d = parseFloat((arguments[0]["d"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) ppath = list(0,0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[this.i-1]; @@ -7279,6 +7527,8 @@ function REGISTER() { REGISTER.prototype.get = function REGISTER() { } REGISTER.prototype.set = function REGISTER() { + this.z0 = parseFloat((arguments[0]["z0"])) + this.it = parseFloat((arguments[0]["it"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7363,6 +7613,7 @@ function REGISTER_f() { REGISTER_f.prototype.get = function REGISTER_f() { } REGISTER_f.prototype.set = function REGISTER_f() { + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7438,6 +7689,7 @@ function SAMPHOLD_m() { SAMPHOLD_m.prototype.get = function SAMPHOLD_m() { } SAMPHOLD_m.prototype.set = function SAMPHOLD_m() { + this.it = parseFloat((arguments[0]["it"])) this.x = arg1; this.x.model.firing = []; graphics = arg1.graphics; @@ -7560,6 +7812,9 @@ function SUMMATION() { SUMMATION.prototype.get = function SUMMATION() { } SUMMATION.prototype.set = function SUMMATION() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.sgn = parseFloat((arguments[0]["sgn"])) + this.satur = parseFloat((arguments[0]["satur"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -7731,6 +7986,11 @@ function TCLSS() { TCLSS.prototype.get = function TCLSS() { } TCLSS.prototype.set = function TCLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7818,6 +8078,11 @@ function TCLSS_f() { TCLSS_f.prototype.get = function TCLSS_f() { } TCLSS_f.prototype.set = function TCLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7900,6 +8165,9 @@ function TIME_DELAY() { TIME_DELAY.prototype.get = function TIME_DELAY() { } TIME_DELAY.prototype.set = function TIME_DELAY() { + this.T = parseFloat((arguments[0]["T"])) + this.init = parseFloat((arguments[0]["init"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -7960,6 +8228,9 @@ function VARIABLE_DELAY() { VARIABLE_DELAY.prototype.get = function VARIABLE_DELAY() { } VARIABLE_DELAY.prototype.set = function VARIABLE_DELAY() { + this.T = parseFloat((arguments[0]["T"])) + this.init = parseFloat((arguments[0]["init"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -8026,6 +8297,9 @@ function CUMSUM() { CUMSUM.prototype.get = function CUMSUM() { } CUMSUM.prototype.set = function CUMSUM() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -8123,6 +8397,9 @@ function EXTRACT() { EXTRACT.prototype.get = function EXTRACT() { } EXTRACT.prototype.set = function EXTRACT() { + this.typ = parseFloat((arguments[0]["typ"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8218,6 +8495,9 @@ function EXTTRI() { EXTTRI.prototype.get = function EXTTRI() { } EXTTRI.prototype.set = function EXTTRI() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -8312,6 +8592,7 @@ function MATBKSL() { MATBKSL.prototype.get = function MATBKSL() { } MATBKSL.prototype.set = function MATBKSL() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8386,6 +8667,8 @@ function MATCATH() { MATCATH.prototype.get = function MATCATH() { } MATCATH.prototype.set = function MATCATH() { + this.nin = parseFloat((arguments[0]["nin"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -8451,6 +8734,8 @@ function MATCATV() { MATCATV.prototype.get = function MATCATV() { } MATCATV.prototype.set = function MATCATV() { + this.nin = parseFloat((arguments[0]["nin"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -8515,6 +8800,7 @@ function MATDET() { MATDET.prototype.get = function MATDET() { } MATDET.prototype.set = function MATDET() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8589,6 +8875,7 @@ function MATDIAG() { MATDIAG.prototype.get = function MATDIAG() { } MATDIAG.prototype.set = function MATDIAG() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8663,6 +8950,7 @@ function MATDIV() { MATDIV.prototype.get = function MATDIV() { } MATDIV.prototype.set = function MATDIV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8737,6 +9025,9 @@ function MATEIG() { MATEIG.prototype.get = function MATEIG() { } MATEIG.prototype.set = function MATEIG() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -8832,6 +9123,7 @@ function MATEXPM() { MATEXPM.prototype.get = function MATEXPM() { } MATEXPM.prototype.set = function MATEXPM() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8906,6 +9198,7 @@ function MATINV() { MATINV.prototype.get = function MATINV() { } MATINV.prototype.set = function MATINV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -8980,6 +9273,8 @@ function MATLU() { MATLU.prototype.get = function MATLU() { } MATLU.prototype.set = function MATLU() { + this.typ = parseFloat((arguments[0]["typ"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9052,6 +9347,8 @@ function MATMAGPHI() { MATMAGPHI.prototype.get = function MATMAGPHI() { } MATMAGPHI.prototype.set = function MATMAGPHI() { + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9119,6 +9416,9 @@ function MATMUL() { MATMUL.prototype.get = function MATMUL() { } MATMUL.prototype.set = function MATMUL() { + this.dtype = parseFloat((arguments[0]["dtype"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = this.x.graphics; label = graphics.exprs; @@ -9284,6 +9584,7 @@ function MATPINV() { MATPINV.prototype.get = function MATPINV() { } MATPINV.prototype.set = function MATPINV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -9358,6 +9659,10 @@ function MATRESH() { MATRESH.prototype.get = function MATRESH() { } MATRESH.prototype.set = function MATRESH() { + this.typ = parseFloat((arguments[0]["typ"])) + this.l1 = parseFloat((arguments[0]["l1"])) + this.out = parseFloat((arguments[0]["out"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9457,6 +9762,9 @@ function MATSING() { MATSING.prototype.get = function MATSING() { } MATSING.prototype.set = function MATSING() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9555,6 +9863,9 @@ function MATSUM() { MATSUM.prototype.get = function MATSUM() { } MATSUM.prototype.set = function MATSUM() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9642,6 +9953,8 @@ function MATTRAN() { MATTRAN.prototype.get = function MATTRAN() { } MATTRAN.prototype.set = function MATTRAN() { + this.typ = parseFloat((arguments[0]["typ"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -9757,6 +10070,8 @@ function MATZREIM() { MATZREIM.prototype.get = function MATZREIM() { } MATZREIM.prototype.set = function MATZREIM() { + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -9835,6 +10150,8 @@ function RICC() { RICC.prototype.get = function RICC() { } RICC.prototype.set = function RICC() { + this.tpe = parseFloat((arguments[0]["tpe"])) + this.mod = parseFloat((arguments[0]["mod"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -9898,6 +10215,8 @@ function ROOTCOEF() { ROOTCOEF.prototype.get = function ROOTCOEF() { } ROOTCOEF.prototype.set = function ROOTCOEF() { + this.typ = parseFloat((arguments[0]["typ"])) + this.inp = parseFloat((arguments[0]["inp"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -9962,6 +10281,7 @@ function SQRT() { SQRT.prototype.get = function SQRT() { } SQRT.prototype.set = function SQRT() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -10031,6 +10351,12 @@ function SUBMAT() { SUBMAT.prototype.get = function SUBMAT() { } SUBMAT.prototype.set = function SUBMAT() { + this.typ = parseFloat((arguments[0]["typ"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.c = parseFloat((arguments[0]["c"])) + this.d = parseFloat((arguments[0]["d"])) + this.inp = parseFloat((arguments[0]["inp"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -10252,6 +10578,9 @@ function BACKLASH() { BACKLASH.prototype.get = function BACKLASH() { } BACKLASH.prototype.set = function BACKLASH() { + this.ini = parseFloat((arguments[0]["ini"])) + this.gap = parseFloat((arguments[0]["gap"])) + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10326,6 +10655,15 @@ function BOUNCE() { BOUNCE.prototype.get = function BOUNCE() { } BOUNCE.prototype.set = function BOUNCE() { + this.rpar1 = parseFloat((arguments[0]["rpar1"])) + this.rpar2 = parseFloat((arguments[0]["rpar2"])) + this.walls = parseFloat((arguments[0]["walls"])) + this.xt = parseFloat((arguments[0]["xt"])) + this.xd = parseFloat((arguments[0]["xd"])) + this.y = parseFloat((arguments[0]["y"])) + this.yd = parseFloat((arguments[0]["yd"])) + this.g = parseFloat((arguments[0]["g"])) + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10433,6 +10771,14 @@ function BOUNCEXY() { BOUNCEXY.prototype.get = function BOUNCEXY() { } BOUNCEXY.prototype.set = function BOUNCEXY() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.imode = parseFloat((arguments[0]["imode"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10515,6 +10861,13 @@ function BPLATFORM() { BPLATFORM.prototype.get = function BPLATFORM() { } BPLATFORM.prototype.set = function BPLATFORM() { + this.plen = parseFloat((arguments[0]["plen"])) + this.csiz = parseFloat((arguments[0]["csiz"])) + this.phi = parseFloat((arguments[0]["phi"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10592,6 +10945,21 @@ function CBLOCK() { CBLOCK.prototype.get = function CBLOCK() { } CBLOCK.prototype.set = function CBLOCK() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.impli = parseFloat((arguments[0]["impli"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.ng = parseFloat((arguments[0]["ng"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -10707,6 +11075,26 @@ function CBLOCK4() { CBLOCK4.prototype.get = function CBLOCK4() { } CBLOCK4.prototype.set = function CBLOCK4() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.impli = parseFloat((arguments[0]["impli"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.it = parseFloat((arguments[0]["it"])) + this.out = parseFloat((arguments[0]["out"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.oz = parseFloat((arguments[0]["oz"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.opar = parseFloat((arguments[0]["opar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -10821,6 +11209,9 @@ function CONSTRAINT2_c() { CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() { } CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) + this.id = parseFloat((arguments[0]["id"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10894,6 +11285,7 @@ function CONSTRAINT_c() { CONSTRAINT_c.prototype.get = function CONSTRAINT_c() { } CONSTRAINT_c.prototype.set = function CONSTRAINT_c() { + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -10950,6 +11342,9 @@ function DEADBAND() { DEADBAND.prototype.get = function DEADBAND() { } DEADBAND.prototype.set = function DEADBAND() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) + this.zeroc = parseFloat((arguments[0]["zeroc"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -11070,6 +11465,8 @@ function DIFF_f() { DIFF_f.prototype.get = function DIFF_f() { } DIFF_f.prototype.set = function DIFF_f() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -11167,6 +11564,7 @@ function EDGETRIGGER() { EDGETRIGGER.prototype.get = function EDGETRIGGER() { } EDGETRIGGER.prototype.set = function EDGETRIGGER() { + this.edge = parseFloat((arguments[0]["edge"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -11556,6 +11954,11 @@ function HYSTHERESIS() { HYSTHERESIS.prototype.get = function HYSTHERESIS() { } HYSTHERESIS.prototype.set = function HYSTHERESIS() { + this.high_lim = parseFloat((arguments[0]["high_lim"])) + this.low_lim = parseFloat((arguments[0]["low_lim"])) + this.out_high = parseFloat((arguments[0]["out_high"])) + this.out_low = parseFloat((arguments[0]["out_low"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -11633,6 +12036,10 @@ function LOGICAL_OP() { LOGICAL_OP.prototype.get = function LOGICAL_OP() { } LOGICAL_OP.prototype.set = function LOGICAL_OP() { + this.nin = parseFloat((arguments[0]["nin"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.tp = parseFloat((arguments[0]["tp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -11764,6 +12171,14 @@ function MBLOCK() { MBLOCK.prototype.get = function MBLOCK() { } MBLOCK.prototype.set = function MBLOCK() { + this.Tin = parseFloat((arguments[0]["Tin"])) + this.Tintype = parseFloat((arguments[0]["Tintype"])) + this.Tout = parseFloat((arguments[0]["Tout"])) + this.Touttype = parseFloat((arguments[0]["Touttype"])) + this.Tparam = parseFloat((arguments[0]["Tparam"])) + this.pprop = parseFloat((arguments[0]["pprop"])) + this.Tfunam = parseFloat((arguments[0]["Tfunam"])) + this.lab_1 = parseFloat((arguments[0]["lab_1"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -12025,6 +12440,8 @@ function MEMORY_f() { MEMORY_f.prototype.get = function MEMORY_f() { } MEMORY_f.prototype.set = function MEMORY_f() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -12389,6 +12806,13 @@ function PENDULUM_ANIM() { PENDULUM_ANIM.prototype.get = function PENDULUM_ANIM() { } PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() { + this.plen = parseFloat((arguments[0]["plen"])) + this.csiz = parseFloat((arguments[0]["csiz"])) + this.phi = parseFloat((arguments[0]["phi"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -12450,6 +12874,8 @@ function RATELIMITER() { RATELIMITER.prototype.get = function RATELIMITER() { } RATELIMITER.prototype.set = function RATELIMITER() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -12497,6 +12923,9 @@ function RELATIONALOP() { RELATIONALOP.prototype.get = function RELATIONALOP() { } RELATIONALOP.prototype.set = function RELATIONALOP() { + this.rule = parseFloat((arguments[0]["rule"])) + this.zcr = parseFloat((arguments[0]["zcr"])) + this.Datatype = parseFloat((arguments[0]["Datatype"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -12648,6 +13077,9 @@ function TEXT_f() { TEXT_f.prototype.get = function TEXT_f() { } TEXT_f.prototype.set = function TEXT_f() { + this.txt = parseFloat((arguments[0]["txt"])) + this.font = parseFloat((arguments[0]["font"])) + this.siz = parseFloat((arguments[0]["siz"])) this.x = arg1; graphics = arg1.graphics; orig = graphics.orig; @@ -12731,6 +13163,11 @@ function c_block() { c_block.prototype.get = function c_block() { } c_block.prototype.set = function c_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.funam = parseFloat((arguments[0]["funam"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -12799,6 +13236,11 @@ function fortran_block() { fortran_block.prototype.get = function fortran_block() { } fortran_block.prototype.set = function fortran_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.funam = parseFloat((arguments[0]["funam"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -12903,6 +13345,20 @@ function generic_block() { generic_block.prototype.get = function generic_block() { } generic_block.prototype.set = function generic_block() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -13003,6 +13459,22 @@ function generic_block2() { generic_block2.prototype.get = function generic_block2() { } generic_block2.prototype.set = function generic_block2() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -13101,6 +13573,26 @@ function generic_block3() { generic_block3.prototype.get = function generic_block3() { } generic_block3.prototype.set = function generic_block3() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.it = parseFloat((arguments[0]["it"])) + this.out = parseFloat((arguments[0]["out"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.oz = parseFloat((arguments[0]["oz"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.opar = parseFloat((arguments[0]["opar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -13219,6 +13711,16 @@ function scifunc_block() { scifunc_block.prototype.get = function scifunc_block() { } scifunc_block.prototype.set = function scifunc_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.deptime = parseFloat((arguments[0]["deptime"])) + this.lab = parseFloat((arguments[0]["lab"])) needcompile = 0; this.x = arg1; model = arg1.model; @@ -13319,6 +13821,16 @@ function scifunc_block_m() { scifunc_block_m.prototype.get = function scifunc_block_m() { } scifunc_block_m.prototype.set = function scifunc_block_m() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.deptime = parseFloat((arguments[0]["deptime"])) + this.lab = parseFloat((arguments[0]["lab"])) needcompile = 0; this.x = arg1; model = arg1.model; @@ -13420,6 +13932,7 @@ function ABS_VALUE() { ABS_VALUE.prototype.get = function ABS_VALUE() { } ABS_VALUE.prototype.set = function ABS_VALUE() { + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13501,6 +14014,12 @@ function DLRADAPT_f() { DLRADAPT_f.prototype.get = function DLRADAPT_f() { } DLRADAPT_f.prototype.set = function DLRADAPT_f() { + this.p = parseFloat((arguments[0]["p"])) + this.rn = parseFloat((arguments[0]["rn"])) + this.rd = parseFloat((arguments[0]["rd"])) + this.g = parseFloat((arguments[0]["g"])) + this.last_u = parseFloat((arguments[0]["last_u"])) + this.last_y = parseFloat((arguments[0]["last_y"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13554,6 +14073,7 @@ function EXPBLK_f() { EXPBLK_f.prototype.get = function EXPBLK_f() { } EXPBLK_f.prototype.set = function EXPBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13606,6 +14126,7 @@ function EXPBLK_m() { EXPBLK_m.prototype.get = function EXPBLK_m() { } EXPBLK_m.prototype.set = function EXPBLK_m() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13681,6 +14202,9 @@ function INTRP2BLK_f() { INTRP2BLK_f.prototype.get = function INTRP2BLK_f() { } INTRP2BLK_f.prototype.set = function INTRP2BLK_f() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.c = parseFloat((arguments[0]["c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13731,6 +14255,8 @@ function INTRPLBLK_f() { INTRPLBLK_f.prototype.get = function INTRPLBLK_f() { } INTRPLBLK_f.prototype.set = function INTRPLBLK_f() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13830,6 +14356,7 @@ function LOGBLK_f() { LOGBLK_f.prototype.get = function LOGBLK_f() { } LOGBLK_f.prototype.set = function LOGBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -13886,6 +14413,11 @@ function LOOKUP2D() { LOOKUP2D.prototype.get = function LOOKUP2D() { } LOOKUP2D.prototype.set = function LOOKUP2D() { + this.xx = parseFloat((arguments[0]["xx"])) + this.yy = parseFloat((arguments[0]["yy"])) + this.zz = parseFloat((arguments[0]["zz"])) + this.Method = parseFloat((arguments[0]["Method"])) + this.graf = parseFloat((arguments[0]["graf"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; @@ -14033,6 +14565,9 @@ function MAXMIN() { MAXMIN.prototype.get = function MAXMIN() { } MAXMIN.prototype.set = function MAXMIN() { + this.mm = parseFloat((arguments[0]["mm"])) + this.nin = parseFloat((arguments[0]["nin"])) + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14157,6 +14692,7 @@ function POWBLK_f() { POWBLK_f.prototype.get = function POWBLK_f() { } POWBLK_f.prototype.set = function POWBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14207,6 +14743,7 @@ function PRODUCT() { PRODUCT.prototype.get = function PRODUCT() { } PRODUCT.prototype.set = function PRODUCT() { + this.sgn = parseFloat((arguments[0]["sgn"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -14299,6 +14836,8 @@ function QUANT_f() { QUANT_f.prototype.get = function QUANT_f() { } QUANT_f.prototype.set = function QUANT_f() { + this.pas = parseFloat((arguments[0]["pas"])) + this.meth = parseFloat((arguments[0]["meth"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14359,6 +14898,9 @@ function SATURATION() { SATURATION.prototype.get = function SATURATION() { } SATURATION.prototype.set = function SATURATION() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) + this.zeroc = parseFloat((arguments[0]["zeroc"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14415,6 +14957,9 @@ function SAT_f() { SAT_f.prototype.get = function SAT_f() { } SAT_f.prototype.set = function SAT_f() { + this.minp = parseFloat((arguments[0]["minp"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.pente = parseFloat((arguments[0]["pente"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14464,6 +15009,7 @@ function SIGNUM() { SIGNUM.prototype.get = function SIGNUM() { } SIGNUM.prototype.set = function SIGNUM() { + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14560,6 +15106,7 @@ function TrigFun() { TrigFun.prototype.get = function TrigFun() { } TrigFun.prototype.set = function TrigFun() { + this.fun = parseFloat((arguments[0]["fun"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14606,6 +15153,9 @@ function PDE() { PDE.prototype.get = function PDE() { } PDE.prototype.set = function PDE() { + this.okk = parseFloat((arguments[0]["okk"])) + this.rdnom = parseFloat((arguments[0]["rdnom"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; @@ -14750,6 +15300,13 @@ function AFFICH_m() { AFFICH_m.prototype.get = function AFFICH_m() { } AFFICH_m.prototype.set = function AFFICH_m() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.font = parseFloat((arguments[0]["font"])) + this.fontsize = parseFloat((arguments[0]["fontsize"])) + this.colr = parseFloat((arguments[0]["colr"])) + this.nt = parseFloat((arguments[0]["nt"])) + this.nd = parseFloat((arguments[0]["nd"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14831,6 +15388,11 @@ function BARXY() { BARXY.prototype.get = function BARXY() { } BARXY.prototype.set = function BARXY() { + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.thickness = parseFloat((arguments[0]["thickness"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -14903,6 +15465,17 @@ function CANIMXY() { CANIMXY.prototype.get = function CANIMXY() { } CANIMXY.prototype.set = function CANIMXY() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15006,6 +15579,17 @@ function CANIMXY3D() { CANIMXY3D.prototype.get = function CANIMXY3D() { } CANIMXY3D.prototype.set = function CANIMXY3D() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.vec_z = parseFloat((arguments[0]["vec_z"])) + this.param3ds = parseFloat((arguments[0]["param3ds"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15117,6 +15701,12 @@ function CEVENTSCOPE() { CEVENTSCOPE.prototype.get = function CEVENTSCOPE() { } CEVENTSCOPE.prototype.set = function CEVENTSCOPE() { + this.nclock = parseFloat((arguments[0]["nclock"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.per = parseFloat((arguments[0]["per"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15208,6 +15798,15 @@ function CFSCOPE() { CFSCOPE.prototype.get = function CFSCOPE() { } CFSCOPE.prototype.set = function CFSCOPE() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.wu = parseFloat((arguments[0]["wu"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15298,6 +15897,7 @@ function CLKOUTV_f() { CLKOUTV_f.prototype.get = function CLKOUTV_f() { } CLKOUTV_f.prototype.set = function CLKOUTV_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -15403,6 +16003,7 @@ function CLKOUT_f() { CLKOUT_f.prototype.get = function CLKOUT_f() { } CLKOUT_f.prototype.set = function CLKOUT_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -15461,6 +16062,11 @@ function CMAT3D() { CMAT3D.prototype.get = function CMAT3D() { } CMAT3D.prototype.set = function CMAT3D() { + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.colormap = parseFloat((arguments[0]["colormap"])) + this.cmin = parseFloat((arguments[0]["cmin"])) + this.cmax = parseFloat((arguments[0]["cmax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15528,6 +16134,9 @@ function CMATVIEW() { CMATVIEW.prototype.get = function CMATVIEW() { } CMATVIEW.prototype.set = function CMATVIEW() { + this.colormap = parseFloat((arguments[0]["colormap"])) + this.cmin = parseFloat((arguments[0]["cmin"])) + this.cmax = parseFloat((arguments[0]["cmax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15598,6 +16207,17 @@ function CMSCOPE() { CMSCOPE.prototype.get = function CMSCOPE() { } CMSCOPE.prototype.set = function CMSCOPE() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.heritance = parseFloat((arguments[0]["heritance"])) + this.nom = parseFloat((arguments[0]["nom"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15723,6 +16343,16 @@ function CSCOPE() { CSCOPE.prototype.get = function CSCOPE() { } CSCOPE.prototype.set = function CSCOPE() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.heritance = parseFloat((arguments[0]["heritance"])) + this.nom = parseFloat((arguments[0]["nom"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15825,6 +16455,17 @@ function CSCOPXY() { CSCOPXY.prototype.get = function CSCOPXY() { } CSCOPXY.prototype.set = function CSCOPXY() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -15927,6 +16568,17 @@ function CSCOPXY3D() { CSCOPXY3D.prototype.get = function CSCOPXY3D() { } CSCOPXY3D.prototype.set = function CSCOPXY3D() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.vec_z = parseFloat((arguments[0]["vec_z"])) + this.param3ds = parseFloat((arguments[0]["param3ds"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16034,6 +16686,7 @@ function OUTIMPL_f() { OUTIMPL_f.prototype.get = function OUTIMPL_f() { } OUTIMPL_f.prototype.set = function OUTIMPL_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16088,6 +16741,7 @@ function OUT_f() { OUT_f.prototype.get = function OUT_f() { } OUT_f.prototype.set = function OUT_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -16145,6 +16799,9 @@ function TOWS_c() { TOWS_c.prototype.get = function TOWS_c() { } TOWS_c.prototype.set = function TOWS_c() { + this.nz = parseFloat((arguments[0]["nz"])) + this.varnam = parseFloat((arguments[0]["varnam"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -16235,6 +16892,10 @@ function WFILE_f() { WFILE_f.prototype.get = function WFILE_f() { } WFILE_f.prototype.set = function WFILE_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) warnobsolete("WRITEC_f","6.0.0"); warnMessage = msprintf(_("Feature %s is obsolete."),"WFILE_f"); warnAdvise = msprintf(_("Please use %s instead."),"WRITEC_f"); @@ -16329,6 +16990,8 @@ function WRITEAU_f() { WRITEAU_f.prototype.get = function WRITEAU_f() { } WRITEAU_f.prototype.set = function WRITEAU_f() { + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16401,6 +17064,11 @@ function WRITEC_f() { WRITEC_f.prototype.get = function WRITEC_f() { } WRITEC_f.prototype.set = function WRITEC_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16487,6 +17155,7 @@ function CLKINV_f() { CLKINV_f.prototype.get = function CLKINV_f() { } CLKINV_f.prototype.set = function CLKINV_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -16534,6 +17203,7 @@ function CLKIN_f() { CLKIN_f.prototype.get = function CLKIN_f() { } CLKIN_f.prototype.set = function CLKIN_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -16610,6 +17280,9 @@ function CLOCK_c() { CLOCK_c.prototype.get = function CLOCK_c() { } CLOCK_c.prototype.set = function CLOCK_c() { + this.dt = parseFloat((arguments[0]["dt"])) + this.t0 = parseFloat((arguments[0]["t0"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_c") { @@ -16706,6 +17379,9 @@ function CLOCK_f() { CLOCK_f.prototype.get = function CLOCK_f() { } CLOCK_f.prototype.set = function CLOCK_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.t0 = parseFloat((arguments[0]["t0"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") { @@ -16774,6 +17450,7 @@ function CONST() { CONST.prototype.get = function CONST() { } CONST.prototype.set = function CONST() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16823,6 +17500,7 @@ function CONST_f() { CONST_f.prototype.get = function CONST_f() { } CONST_f.prototype.set = function CONST_f() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -16872,6 +17550,7 @@ function CONST_m() { CONST_m.prototype.get = function CONST_m() { } CONST_m.prototype.set = function CONST_m() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17014,6 +17693,9 @@ function Counter() { Counter.prototype.get = function Counter() { } Counter.prototype.set = function Counter() { + this.minim = parseFloat((arguments[0]["minim"])) + this.maxim = parseFloat((arguments[0]["maxim"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17159,6 +17841,10 @@ function FROMWS_c() { FROMWS_c.prototype.get = function FROMWS_c() { } FROMWS_c.prototype.set = function FROMWS_c() { + this.varnam = parseFloat((arguments[0]["varnam"])) + this.Method = parseFloat((arguments[0]["Method"])) + this.ZC = parseFloat((arguments[0]["ZC"])) + this.OutEnd = parseFloat((arguments[0]["OutEnd"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17224,6 +17910,9 @@ function GENSIN_f() { GENSIN_f.prototype.get = function GENSIN_f() { } GENSIN_f.prototype.set = function GENSIN_f() { + this.M = parseFloat((arguments[0]["M"])) + this.F = parseFloat((arguments[0]["F"])) + this.P = parseFloat((arguments[0]["P"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17275,6 +17964,7 @@ function GENSQR_f() { GENSQR_f.prototype.get = function GENSQR_f() { } GENSQR_f.prototype.set = function GENSQR_f() { + this.Amplitude = parseFloat((arguments[0]["Amplitude"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17356,6 +18046,10 @@ function GEN_SQR() { GEN_SQR.prototype.get = function GEN_SQR() { } GEN_SQR.prototype.set = function GEN_SQR() { + scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"])) + scicos_context.Amax = parseFloat((arguments[0]["scicos_context.Amax"])) + scicos_context.rule = parseFloat((arguments[0]["scicos_context.rule"])) + scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) y = this.needcompile; arg1.model.ipar = 1; typ = list(); @@ -17449,6 +18143,7 @@ function INIMPL_f() { INIMPL_f.prototype.get = function INIMPL_f() { } INIMPL_f.prototype.set = function INIMPL_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17567,6 +18262,8 @@ function Modulo_Count() { Modulo_Count.prototype.get = function Modulo_Count() { } Modulo_Count.prototype.set = function Modulo_Count() { + this.ini_c = parseFloat((arguments[0]["ini_c"])) + this.base = parseFloat((arguments[0]["base"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17647,6 +18344,10 @@ function PULSE_SC() { PULSE_SC.prototype.get = function PULSE_SC() { } PULSE_SC.prototype.set = function PULSE_SC() { + scicos_context.E = parseFloat((arguments[0]["scicos_context.E"])) + scicos_context.W = parseFloat((arguments[0]["scicos_context.W"])) + scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) + scicos_context.A = parseFloat((arguments[0]["scicos_context.A"])) y = this.needcompile; arg1.model.ipar = 1; typ = list(); @@ -17712,6 +18413,9 @@ function RAMP() { RAMP.prototype.get = function RAMP() { } RAMP.prototype.set = function RAMP() { + this.slope = parseFloat((arguments[0]["slope"])) + this.stt = parseFloat((arguments[0]["stt"])) + this.iout = parseFloat((arguments[0]["iout"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17762,6 +18466,10 @@ function RAND_f() { RAND_f.prototype.get = function RAND_f() { } RAND_f.prototype.set = function RAND_f() { + this.flag = parseFloat((arguments[0]["flag"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.seed_c = parseFloat((arguments[0]["seed_c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17831,6 +18539,11 @@ function RAND_m() { RAND_m.prototype.get = function RAND_m() { } RAND_m.prototype.set = function RAND_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.flag = parseFloat((arguments[0]["flag"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.seed_c = parseFloat((arguments[0]["seed_c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -17910,6 +18623,9 @@ function READAU_f() { READAU_f.prototype.get = function READAU_f() { } READAU_f.prototype.set = function READAU_f() { + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -18000,6 +18716,14 @@ function READC_f() { READC_f.prototype.get = function READC_f() { } READC_f.prototype.set = function READC_f() { + this.tmask1 = parseFloat((arguments[0]["tmask1"])) + this.outmask = parseFloat((arguments[0]["outmask"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.M = parseFloat((arguments[0]["M"])) + this.N = parseFloat((arguments[0]["N"])) + this.offset = parseFloat((arguments[0]["offset"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; model = this.x.model; graphics = arg1.graphics; @@ -18116,6 +18840,11 @@ function RFILE_f() { RFILE_f.prototype.get = function RFILE_f() { } RFILE_f.prototype.set = function RFILE_f() { + this.tmask1 = parseFloat((arguments[0]["tmask1"])) + this.outmask = parseFloat((arguments[0]["outmask"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -18243,6 +18972,9 @@ function STEP() { STEP.prototype.get = function STEP() { } STEP.prototype.set = function STEP() { + this.temps = parseFloat((arguments[0]["temps"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.fi = parseFloat((arguments[0]["fi"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -18431,6 +19163,8 @@ function SampleCLK() { SampleCLK.prototype.get = function SampleCLK() { } SampleCLK.prototype.set = function SampleCLK() { + this.frequ = parseFloat((arguments[0]["frequ"])) + this.offset = parseFloat((arguments[0]["offset"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; @@ -18606,6 +19340,9 @@ function TKSCALE() { TKSCALE.prototype.get = function TKSCALE() { } TKSCALE.prototype.set = function TKSCALE() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.f = parseFloat((arguments[0]["f"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -18646,6 +19383,8 @@ function GENERAL_f() { GENERAL_f.prototype.get = function GENERAL_f() { } GENERAL_f.prototype.set = function GENERAL_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; @@ -18762,6 +19501,7 @@ function ZCROSS_f() { ZCROSS_f.prototype.get = function ZCROSS_f() { } ZCROSS_f.prototype.set = function ZCROSS_f() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js index 34b03f28..d4c061d5 100644 --- a/js/Branching/CLKFROM.js +++ b/js/Branching/CLKFROM.js @@ -19,6 +19,7 @@ function CLKFROM() { CLKFROM.prototype.get = function CLKFROM() { } CLKFROM.prototype.set = function CLKFROM() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js index 62601bc4..374ac9f4 100644 --- a/js/Branching/CLKGOTO.js +++ b/js/Branching/CLKGOTO.js @@ -20,6 +20,8 @@ function CLKGOTO() { CLKGOTO.prototype.get = function CLKGOTO() { } CLKGOTO.prototype.set = function CLKGOTO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js index bb7a5819..aa59d2a5 100644 --- a/js/Branching/CLKGotoTagVisibility.js +++ b/js/Branching/CLKGotoTagVisibility.js @@ -25,6 +25,7 @@ function CLKGotoTagVisibility() { CLKGotoTagVisibility.prototype.get = function CLKGotoTagVisibility() { } CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js index 84c105d6..fdd03c3d 100644 --- a/js/Branching/DEMUX.js +++ b/js/Branching/DEMUX.js @@ -21,6 +21,7 @@ function DEMUX() { DEMUX.prototype.get = function DEMUX() { } DEMUX.prototype.set = function DEMUX() { + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js index 3a67be31..5c119c84 100644 --- a/js/Branching/DEMUX_f.js +++ b/js/Branching/DEMUX_f.js @@ -21,6 +21,7 @@ function DEMUX_f() { DEMUX_f.prototype.get = function DEMUX_f() { } DEMUX_f.prototype.set = function DEMUX_f() { + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js index d8b0519e..b14cfccf 100644 --- a/js/Branching/ESELECT_f.js +++ b/js/Branching/ESELECT_f.js @@ -25,6 +25,9 @@ function ESELECT_f() { ESELECT_f.prototype.get = function ESELECT_f() { } ESELECT_f.prototype.set = function ESELECT_f() { + this.out = parseFloat((arguments[0]["out"])) + this.inh = parseFloat((arguments[0]["inh"])) + this.nmod = parseFloat((arguments[0]["nmod"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js index b34bd597..e49f6001 100644 --- a/js/Branching/EXTRACTOR.js +++ b/js/Branching/EXTRACTOR.js @@ -20,6 +20,7 @@ function EXTRACTOR() { EXTRACTOR.prototype.get = function EXTRACTOR() { } EXTRACTOR.prototype.set = function EXTRACTOR() { + this.ind = parseFloat((arguments[0]["ind"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js index 8a83a721..1f8f9b25 100644 --- a/js/Branching/FROM.js +++ b/js/Branching/FROM.js @@ -25,6 +25,7 @@ function FROM() { FROM.prototype.get = function FROM() { } FROM.prototype.set = function FROM() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js index cebe0d9b..e115ad8e 100644 --- a/js/Branching/FROMMO.js +++ b/js/Branching/FROMMO.js @@ -28,6 +28,7 @@ function FROMMO() { FROMMO.prototype.get = function FROMMO() { } FROMMO.prototype.set = function FROMMO() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js index 7f1f241f..e2ad0a6b 100644 --- a/js/Branching/GOTO.js +++ b/js/Branching/GOTO.js @@ -25,6 +25,8 @@ function GOTO() { GOTO.prototype.get = function GOTO() { } GOTO.prototype.set = function GOTO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js index 8b96c0a1..8f07146f 100644 --- a/js/Branching/GOTOMO.js +++ b/js/Branching/GOTOMO.js @@ -28,6 +28,8 @@ function GOTOMO() { GOTOMO.prototype.get = function GOTOMO() { } GOTOMO.prototype.set = function GOTOMO() { + this.tag = parseFloat((arguments[0]["tag"])) + this.tagvis = parseFloat((arguments[0]["tagvis"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js index 0f514bc2..c3281e81 100644 --- a/js/Branching/GotoTagVisibility.js +++ b/js/Branching/GotoTagVisibility.js @@ -25,6 +25,7 @@ function GotoTagVisibility() { GotoTagVisibility.prototype.get = function GotoTagVisibility() { } GotoTagVisibility.prototype.set = function GotoTagVisibility() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js index f2131e56..2aa6313d 100644 --- a/js/Branching/GotoTagVisibilityMO.js +++ b/js/Branching/GotoTagVisibilityMO.js @@ -25,6 +25,7 @@ function GotoTagVisibilityMO() { GotoTagVisibilityMO.prototype.get = function GotoTagVisibilityMO() { } GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() { + this.tag = parseFloat((arguments[0]["tag"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js index 57ae0ce5..75f6e8ab 100644 --- a/js/Branching/ISELECT_f.js +++ b/js/Branching/ISELECT_f.js @@ -23,6 +23,8 @@ function ISELECT_f() { ISELECT_f.prototype.get = function ISELECT_f() { } ISELECT_f.prototype.set = function ISELECT_f() { + this.nout = parseFloat((arguments[0]["nout"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js index e49eff82..79160d88 100644 --- a/js/Branching/ISELECT_m.js +++ b/js/Branching/ISELECT_m.js @@ -31,6 +31,9 @@ function ISELECT_m() { ISELECT_m.prototype.get = function ISELECT_m() { } ISELECT_m.prototype.set = function ISELECT_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.nout = parseFloat((arguments[0]["nout"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js index cd23e5d7..77e11ce7 100644 --- a/js/Branching/MUX.js +++ b/js/Branching/MUX.js @@ -20,6 +20,7 @@ function MUX() { MUX.prototype.get = function MUX() { } MUX.prototype.set = function MUX() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js index a501fc28..aa468b8d 100644 --- a/js/Branching/MUX_f.js +++ b/js/Branching/MUX_f.js @@ -20,6 +20,7 @@ function MUX_f() { MUX_f.prototype.get = function MUX_f() { } MUX_f.prototype.set = function MUX_f() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js index 7bfe6570..eae88075 100644 --- a/js/Branching/M_SWITCH.js +++ b/js/Branching/M_SWITCH.js @@ -22,6 +22,9 @@ function M_SWITCH() { M_SWITCH.prototype.get = function M_SWITCH() { } M_SWITCH.prototype.set = function M_SWITCH() { + this.nin = parseFloat((arguments[0]["nin"])) + this.base = parseFloat((arguments[0]["base"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js index 5b76e535..b889425e 100644 --- a/js/Branching/NRMSOM_f.js +++ b/js/Branching/NRMSOM_f.js @@ -20,6 +20,7 @@ function NRMSOM_f() { NRMSOM_f.prototype.get = function NRMSOM_f() { } NRMSOM_f.prototype.set = function NRMSOM_f() { + this.nin = parseFloat((arguments[0]["nin"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js index ef5ffe2d..a052e002 100644 --- a/js/Branching/RELAY_f.js +++ b/js/Branching/RELAY_f.js @@ -24,6 +24,8 @@ function RELAY_f() { RELAY_f.prototype.get = function RELAY_f() { } RELAY_f.prototype.set = function RELAY_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js index 2ca90c29..aac90b54 100644 --- a/js/Branching/SCALAR2VECTOR.js +++ b/js/Branching/SCALAR2VECTOR.js @@ -19,6 +19,7 @@ function SCALAR2VECTOR() { SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() { } SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() { + this.nout = parseFloat((arguments[0]["nout"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js index 30d69a48..ce3023cc 100644 --- a/js/Branching/SELECT_f.js +++ b/js/Branching/SELECT_f.js @@ -23,6 +23,8 @@ function SELECT_f() { SELECT_f.prototype.get = function SELECT_f() { } SELECT_f.prototype.set = function SELECT_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js index 85a20e84..0e804219 100644 --- a/js/Branching/SELECT_m.js +++ b/js/Branching/SELECT_m.js @@ -31,6 +31,9 @@ function SELECT_m() { SELECT_m.prototype.get = function SELECT_m() { } SELECT_m.prototype.set = function SELECT_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js index 51cb8117..8fb48bf5 100644 --- a/js/Branching/SWITCH2.js +++ b/js/Branching/SWITCH2.js @@ -26,6 +26,9 @@ function SWITCH2() { SWITCH2.prototype.get = function SWITCH2() { } SWITCH2.prototype.set = function SWITCH2() { + this.rule = parseFloat((arguments[0]["rule"])) + this.thra = parseFloat((arguments[0]["thra"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js index 23bec0e1..ba08a2b6 100644 --- a/js/Branching/SWITCH2_m.js +++ b/js/Branching/SWITCH2_m.js @@ -29,6 +29,10 @@ function SWITCH2_m() { SWITCH2_m.prototype.get = function SWITCH2_m() { } SWITCH2_m.prototype.set = function SWITCH2_m() { + this.ot = parseFloat((arguments[0]["ot"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.thra = parseFloat((arguments[0]["thra"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js index 14c00805..fff0ed00 100644 --- a/js/Branching/SWITCH_f.js +++ b/js/Branching/SWITCH_f.js @@ -23,6 +23,8 @@ function SWITCH_f() { SWITCH_f.prototype.get = function SWITCH_f() { } SWITCH_f.prototype.set = function SWITCH_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Capacitor.js b/js/Electrical/Capacitor.js index ce382b43..66bb921b 100644 --- a/js/Electrical/Capacitor.js +++ b/js/Electrical/Capacitor.js @@ -29,6 +29,8 @@ function Capacitor() { Capacitor.prototype.get = function Capacitor() { } Capacitor.prototype.set = function Capacitor() { + this.C = parseFloat((arguments[0]["C"])) + this.v = parseFloat((arguments[0]["v"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/ConstantVoltage.js b/js/Electrical/ConstantVoltage.js index c0e752f1..afc8b40d 100644 --- a/js/Electrical/ConstantVoltage.js +++ b/js/Electrical/ConstantVoltage.js @@ -28,6 +28,7 @@ function ConstantVoltage() { ConstantVoltage.prototype.get = function ConstantVoltage() { } ConstantVoltage.prototype.set = function ConstantVoltage() { + this.V = parseFloat((arguments[0]["V"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; 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; diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js index 7731ffb4..05d27e6f 100644 --- a/js/Electrical/Gyrator.js +++ b/js/Electrical/Gyrator.js @@ -55,6 +55,8 @@ function Gyrator() { Gyrator.prototype.get = function Gyrator() { } Gyrator.prototype.set = function Gyrator() { + this.G1 = parseFloat((arguments[0]["G1"])) + this.G2 = parseFloat((arguments[0]["G2"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/IdealTransformer.js b/js/Electrical/IdealTransformer.js index 4470efff..4da364af 100644 --- a/js/Electrical/IdealTransformer.js +++ b/js/Electrical/IdealTransformer.js @@ -55,6 +55,7 @@ function IdealTransformer() { IdealTransformer.prototype.get = function IdealTransformer() { } IdealTransformer.prototype.set = function IdealTransformer() { + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index e9f81d71..052b27ad 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -28,6 +28,7 @@ function Inductor() { Inductor.prototype.get = function Inductor() { } Inductor.prototype.set = function Inductor() { + this.L = parseFloat((arguments[0]["L"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/NMOS.js b/js/Electrical/NMOS.js index 0dcf0c8b..f59e41fb 100644 --- a/js/Electrical/NMOS.js +++ b/js/Electrical/NMOS.js @@ -35,6 +35,15 @@ function NMOS() { NMOS.prototype.get = function NMOS() { } NMOS.prototype.set = function NMOS() { + this.W = parseFloat((arguments[0]["W"])) + this.L = parseFloat((arguments[0]["L"])) + this.Beta = parseFloat((arguments[0]["Beta"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.K2 = parseFloat((arguments[0]["K2"])) + this.K5 = parseFloat((arguments[0]["K5"])) + this.dW = parseFloat((arguments[0]["dW"])) + this.dL = parseFloat((arguments[0]["dL"])) + this.RDS = parseFloat((arguments[0]["RDS"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js index 1117d2c7..a02e0de3 100644 --- a/js/Electrical/NPN.js +++ b/js/Electrical/NPN.js @@ -55,6 +55,23 @@ function NPN() { NPN.prototype.get = function NPN() { } NPN.prototype.set = function NPN() { + this.Bf = parseFloat((arguments[0]["Bf"])) + this.Br = parseFloat((arguments[0]["Br"])) + this.Is = parseFloat((arguments[0]["Is"])) + this.Vak = parseFloat((arguments[0]["Vak"])) + this.Tauf = parseFloat((arguments[0]["Tauf"])) + this.Taur = parseFloat((arguments[0]["Taur"])) + this.Ccs = parseFloat((arguments[0]["Ccs"])) + this.Cje = parseFloat((arguments[0]["Cje"])) + this.Cjc = parseFloat((arguments[0]["Cjc"])) + this.Phie = parseFloat((arguments[0]["Phie"])) + this.Me = parseFloat((arguments[0]["Me"])) + this.Phic = parseFloat((arguments[0]["Phic"])) + this.Mc = parseFloat((arguments[0]["Mc"])) + this.Gbc = parseFloat((arguments[0]["Gbc"])) + this.Gbe = parseFloat((arguments[0]["Gbe"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.EMinMax = parseFloat((arguments[0]["EMinMax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/OpAmp.js b/js/Electrical/OpAmp.js index 0c01a215..ffe642ac 100644 --- a/js/Electrical/OpAmp.js +++ b/js/Electrical/OpAmp.js @@ -29,6 +29,9 @@ function OpAmp() { OpAmp.prototype.get = function OpAmp() { } OpAmp.prototype.set = function OpAmp() { + this.OLGain = parseFloat((arguments[0]["OLGain"])) + this.SatH = parseFloat((arguments[0]["SatH"])) + this.SatL = parseFloat((arguments[0]["SatL"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/PMOS.js b/js/Electrical/PMOS.js index f53fe667..2f3579cf 100644 --- a/js/Electrical/PMOS.js +++ b/js/Electrical/PMOS.js @@ -35,6 +35,15 @@ function PMOS() { PMOS.prototype.get = function PMOS() { } PMOS.prototype.set = function PMOS() { + this.W = parseFloat((arguments[0]["W"])) + this.L = parseFloat((arguments[0]["L"])) + this.Beta = parseFloat((arguments[0]["Beta"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.K2 = parseFloat((arguments[0]["K2"])) + this.K5 = parseFloat((arguments[0]["K5"])) + this.dW = parseFloat((arguments[0]["dW"])) + this.dL = parseFloat((arguments[0]["dL"])) + this.RDS = parseFloat((arguments[0]["RDS"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js index 25d48f09..3f03ceda 100644 --- a/js/Electrical/PNP.js +++ b/js/Electrical/PNP.js @@ -55,6 +55,23 @@ function PNP() { PNP.prototype.get = function PNP() { } PNP.prototype.set = function PNP() { + this.Bf = parseFloat((arguments[0]["Bf"])) + this.Br = parseFloat((arguments[0]["Br"])) + this.Is = parseFloat((arguments[0]["Is"])) + this.Vak = parseFloat((arguments[0]["Vak"])) + this.Tauf = parseFloat((arguments[0]["Tauf"])) + this.Taur = parseFloat((arguments[0]["Taur"])) + this.Ccs = parseFloat((arguments[0]["Ccs"])) + this.Cje = parseFloat((arguments[0]["Cje"])) + this.Cjc = parseFloat((arguments[0]["Cjc"])) + this.Phie = parseFloat((arguments[0]["Phie"])) + this.Me = parseFloat((arguments[0]["Me"])) + this.Phic = parseFloat((arguments[0]["Phic"])) + this.Mc = parseFloat((arguments[0]["Mc"])) + this.Gbc = parseFloat((arguments[0]["Gbc"])) + this.Gbe = parseFloat((arguments[0]["Gbe"])) + this.Vt = parseFloat((arguments[0]["Vt"])) + this.EMinMax = parseFloat((arguments[0]["EMinMax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js index 4341ccb6..fb284839 100644 --- a/js/Electrical/Resistor.js +++ b/js/Electrical/Resistor.js @@ -28,6 +28,7 @@ function Resistor() { Resistor.prototype.get = function Resistor() { } Resistor.prototype.set = function Resistor() { + this.R = parseFloat((arguments[0]["R"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js index 2ec0a70e..d3997f59 100644 --- a/js/Electrical/SineVoltage.js +++ b/js/Electrical/SineVoltage.js @@ -32,6 +32,11 @@ function SineVoltage() { SineVoltage.prototype.get = function SineVoltage() { } SineVoltage.prototype.set = function SineVoltage() { + this.V = parseFloat((arguments[0]["V"])) + this.ph = parseFloat((arguments[0]["ph"])) + this.frq = parseFloat((arguments[0]["frq"])) + this.offset = parseFloat((arguments[0]["offset"])) + this.start = parseFloat((arguments[0]["start"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/Switch.js b/js/Electrical/Switch.js index 3c2e119e..ad7ed43d 100644 --- a/js/Electrical/Switch.js +++ b/js/Electrical/Switch.js @@ -31,6 +31,8 @@ function Switch() { Switch.prototype.get = function Switch() { } Switch.prototype.set = function Switch() { + this.Ron = parseFloat((arguments[0]["Ron"])) + this.Roff = parseFloat((arguments[0]["Roff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/VVsourceAC.js b/js/Electrical/VVsourceAC.js index 779cdd91..3c733b2b 100644 --- a/js/Electrical/VVsourceAC.js +++ b/js/Electrical/VVsourceAC.js @@ -29,6 +29,7 @@ function VVsourceAC() { VVsourceAC.prototype.get = function VVsourceAC() { } VVsourceAC.prototype.set = function VVsourceAC() { + this.FR = parseFloat((arguments[0]["FR"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Electrical/VsourceAC.js b/js/Electrical/VsourceAC.js index dea601d2..333da4eb 100644 --- a/js/Electrical/VsourceAC.js +++ b/js/Electrical/VsourceAC.js @@ -29,6 +29,8 @@ function VsourceAC() { VsourceAC.prototype.get = function VsourceAC() { } VsourceAC.prototype.set = function VsourceAC() { + this.VA = parseFloat((arguments[0]["VA"])) + this.FR = parseFloat((arguments[0]["FR"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/END_c.js b/js/Events/END_c.js index d0ff0d9b..1dbf3c9c 100644 --- a/js/Events/END_c.js +++ b/js/Events/END_c.js @@ -20,6 +20,7 @@ function END_c() { END_c.prototype.get = function END_c() { } END_c.prototype.set = function END_c() { + this.tf = parseFloat((arguments[0]["tf"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js index 85707735..eda7037f 100644 --- a/js/Events/EVTDLY_c.js +++ b/js/Events/EVTDLY_c.js @@ -22,6 +22,8 @@ function EVTDLY_c() { EVTDLY_c.prototype.get = function EVTDLY_c() { } EVTDLY_c.prototype.set = function EVTDLY_c() { + this.dt = parseFloat((arguments[0]["dt"])) + this.ff = parseFloat((arguments[0]["ff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js index aaeefd62..4d64f615 100644 --- a/js/Events/EVTDLY_f.js +++ b/js/Events/EVTDLY_f.js @@ -22,6 +22,8 @@ function EVTDLY_f() { EVTDLY_f.prototype.get = function EVTDLY_f() { } EVTDLY_f.prototype.set = function EVTDLY_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.ff = parseFloat((arguments[0]["ff"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js index 361a1529..935034b5 100644 --- a/js/Events/EVTGEN_f.js +++ b/js/Events/EVTGEN_f.js @@ -19,6 +19,7 @@ function EVTGEN_f() { EVTGEN_f.prototype.get = function EVTGEN_f() { } EVTGEN_f.prototype.set = function EVTGEN_f() { + this.tt = parseFloat((arguments[0]["tt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js index a86b6ab2..3a6b2442 100644 --- a/js/Events/EVTVARDLY.js +++ b/js/Events/EVTVARDLY.js @@ -21,6 +21,7 @@ function EVTVARDLY() { EVTVARDLY.prototype.get = function EVTVARDLY() { } EVTVARDLY.prototype.set = function EVTVARDLY() { + this.fir = parseFloat((arguments[0]["fir"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js index d9e2d28d..d5ee03d8 100644 --- a/js/Events/HALT_f.js +++ b/js/Events/HALT_f.js @@ -20,6 +20,7 @@ function HALT_f() { HALT_f.prototype.get = function HALT_f() { } HALT_f.prototype.set = function HALT_f() { + this.n = parseFloat((arguments[0]["n"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js index d3af5ca8..362abccb 100644 --- a/js/Events/IFTHEL_f.js +++ b/js/Events/IFTHEL_f.js @@ -24,6 +24,8 @@ function IFTHEL_f() { IFTHEL_f.prototype.get = function IFTHEL_f() { } IFTHEL_f.prototype.set = function IFTHEL_f() { + this.inh = parseFloat((arguments[0]["inh"])) + this.nmod = parseFloat((arguments[0]["nmod"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js index d1aaa9d1..e352368c 100644 --- a/js/Events/MFCLCK_f.js +++ b/js/Events/MFCLCK_f.js @@ -24,6 +24,8 @@ function MFCLCK_f() { MFCLCK_f.prototype.get = function MFCLCK_f() { } MFCLCK_f.prototype.set = function MFCLCK_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.nn = parseFloat((arguments[0]["nn"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js index de26d35c..95388ba5 100644 --- a/js/Events/M_freq.js +++ b/js/Events/M_freq.js @@ -21,6 +21,8 @@ function M_freq() { M_freq.prototype.get = function M_freq() { } M_freq.prototype.set = function M_freq() { + this.frequ = parseFloat((arguments[0]["frequ"])) + this.offset = parseFloat((arguments[0]["offset"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js index 0a004b38..3aadb372 100644 --- a/js/Events/freq_div.js +++ b/js/Events/freq_div.js @@ -113,6 +113,8 @@ function freq_div() { freq_div.prototype.get = function freq_div() { } freq_div.prototype.set = function freq_div() { + %ph = parseFloat((arguments[0]["%ph"])) + %df = parseFloat((arguments[0]["%df"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="Modulo_Count") { diff --git a/js/Hydraulics/Bache.js b/js/Hydraulics/Bache.js index f286bbd9..e96d187f 100644 --- a/js/Hydraulics/Bache.js +++ b/js/Hydraulics/Bache.js @@ -40,6 +40,15 @@ function Bache() { Bache.prototype.get = function Bache() { } Bache.prototype.set = function Bache() { + this.Patm = parseFloat((arguments[0]["Patm"])) + this.A = parseFloat((arguments[0]["A"])) + this.ze1 = parseFloat((arguments[0]["ze1"])) + this.ze2 = parseFloat((arguments[0]["ze2"])) + this.zs1 = parseFloat((arguments[0]["zs1"])) + this.zs2 = parseFloat((arguments[0]["zs2"])) + this.z0 = parseFloat((arguments[0]["z0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/Flowmeter.js b/js/Hydraulics/Flowmeter.js index ec1f7bd2..0a2d7496 100644 --- a/js/Hydraulics/Flowmeter.js +++ b/js/Hydraulics/Flowmeter.js @@ -55,6 +55,7 @@ function Flowmeter() { Flowmeter.prototype.get = function Flowmeter() { } Flowmeter.prototype.set = function Flowmeter() { + this.Qini = parseFloat((arguments[0]["Qini"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/PerteDP.js b/js/Hydraulics/PerteDP.js index e2779901..bfb2ac04 100644 --- a/js/Hydraulics/PerteDP.js +++ b/js/Hydraulics/PerteDP.js @@ -35,6 +35,12 @@ function PerteDP() { PerteDP.prototype.get = function PerteDP() { } PerteDP.prototype.set = function PerteDP() { + this.L = parseFloat((arguments[0]["L"])) + this.D = parseFloat((arguments[0]["D"])) + this.lambda = parseFloat((arguments[0]["lambda"])) + this.z1 = parseFloat((arguments[0]["z1"])) + this.z2 = parseFloat((arguments[0]["z2"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/PuitsP.js b/js/Hydraulics/PuitsP.js index ab9275cc..57577f11 100644 --- a/js/Hydraulics/PuitsP.js +++ b/js/Hydraulics/PuitsP.js @@ -28,6 +28,10 @@ function PuitsP() { PuitsP.prototype.get = function PuitsP() { } PuitsP.prototype.set = function PuitsP() { + this.P0 = parseFloat((arguments[0]["P0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.H0 = parseFloat((arguments[0]["H0"])) + this.option_temperature = parseFloat((arguments[0]["option_temperature"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/SourceP.js b/js/Hydraulics/SourceP.js index 78035f5d..d8244a8a 100644 --- a/js/Hydraulics/SourceP.js +++ b/js/Hydraulics/SourceP.js @@ -30,6 +30,10 @@ function SourceP() { SourceP.prototype.get = function SourceP() { } SourceP.prototype.set = function SourceP() { + this.P0 = parseFloat((arguments[0]["P0"])) + this.T0 = parseFloat((arguments[0]["T0"])) + this.H0 = parseFloat((arguments[0]["H0"])) + this.option_temperature = parseFloat((arguments[0]["option_temperature"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Hydraulics/VanneReglante.js b/js/Hydraulics/VanneReglante.js index d507c2d9..1822b4bd 100644 --- a/js/Hydraulics/VanneReglante.js +++ b/js/Hydraulics/VanneReglante.js @@ -31,6 +31,8 @@ function VanneReglante() { VanneReglante.prototype.get = function VanneReglante() { } VanneReglante.prototype.set = function VanneReglante() { + this.Cvmax = parseFloat((arguments[0]["Cvmax"])) + this.p_rho = parseFloat((arguments[0]["p_rho"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/BITCLEAR.js b/js/IntegerOp/BITCLEAR.js index aa22841c..8e73efc6 100644 --- a/js/IntegerOp/BITCLEAR.js +++ b/js/IntegerOp/BITCLEAR.js @@ -23,6 +23,8 @@ function BITCLEAR() { BITCLEAR.prototype.get = function BITCLEAR() { } BITCLEAR.prototype.set = function BITCLEAR() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.bit = parseFloat((arguments[0]["bit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/BITSET.js b/js/IntegerOp/BITSET.js index f2660157..bbd4b339 100644 --- a/js/IntegerOp/BITSET.js +++ b/js/IntegerOp/BITSET.js @@ -23,6 +23,8 @@ function BITSET() { BITSET.prototype.get = function BITSET() { } BITSET.prototype.set = function BITSET() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.bit = parseFloat((arguments[0]["bit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/CONVERT.js b/js/IntegerOp/CONVERT.js index 9a562fc2..1e3a7ff9 100644 --- a/js/IntegerOp/CONVERT.js +++ b/js/IntegerOp/CONVERT.js @@ -25,6 +25,9 @@ function CONVERT() { CONVERT.prototype.get = function CONVERT() { } CONVERT.prototype.set = function CONVERT() { + this.it = parseFloat((arguments[0]["it"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/EXTRACTBITS.js b/js/IntegerOp/EXTRACTBITS.js index 3b820860..d691751c 100644 --- a/js/IntegerOp/EXTRACTBITS.js +++ b/js/IntegerOp/EXTRACTBITS.js @@ -24,6 +24,10 @@ function EXTRACTBITS() { EXTRACTBITS.prototype.get = function EXTRACTBITS() { } EXTRACTBITS.prototype.set = function EXTRACTBITS() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.bit = parseFloat((arguments[0]["bit"])) + this.scal = parseFloat((arguments[0]["scal"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/INTMUL.js b/js/IntegerOp/INTMUL.js index 24dba7b1..b9dd84c9 100644 --- a/js/IntegerOp/INTMUL.js +++ b/js/IntegerOp/INTMUL.js @@ -25,6 +25,8 @@ function INTMUL() { INTMUL.prototype.get = function INTMUL() { } INTMUL.prototype.set = function INTMUL() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/JKFLIPFLOP.js b/js/IntegerOp/JKFLIPFLOP.js index 1fd4c604..1b30589e 100644 --- a/js/IntegerOp/JKFLIPFLOP.js +++ b/js/IntegerOp/JKFLIPFLOP.js @@ -54,6 +54,8 @@ function JKFLIPFLOP() { JKFLIPFLOP.prototype.get = function JKFLIPFLOP() { } JKFLIPFLOP.prototype.set = function JKFLIPFLOP() { + this.init = parseFloat((arguments[0]["init"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js index cf843b1f..20da4fc3 100644 --- a/js/IntegerOp/LOGIC.js +++ b/js/IntegerOp/LOGIC.js @@ -26,6 +26,8 @@ function LOGIC() { LOGIC.prototype.get = function LOGIC() { } LOGIC.prototype.set = function LOGIC() { + this.mat = parseFloat((arguments[0]["mat"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/IntegerOp/SHIFT.js b/js/IntegerOp/SHIFT.js index 4534e25c..1006fe5f 100644 --- a/js/IntegerOp/SHIFT.js +++ b/js/IntegerOp/SHIFT.js @@ -26,6 +26,9 @@ function SHIFT() { SHIFT.prototype.get = function SHIFT() { } SHIFT.prototype.set = function SHIFT() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.nb = parseFloat((arguments[0]["nb"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/IntegerOp/SRFLIPFLOP.js b/js/IntegerOp/SRFLIPFLOP.js index 19b180db..d00d54cb 100644 --- a/js/IntegerOp/SRFLIPFLOP.js +++ b/js/IntegerOp/SRFLIPFLOP.js @@ -38,6 +38,8 @@ function SRFLIPFLOP() { SRFLIPFLOP.prototype.get = function SRFLIPFLOP() { } SRFLIPFLOP.prototype.set = function SRFLIPFLOP() { + this.init = parseFloat((arguments[0]["init"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="DOLLAR_m") { diff --git a/js/Linear/BIGSOM_f.js b/js/Linear/BIGSOM_f.js index f6ca95aa..aac032a5 100644 --- a/js/Linear/BIGSOM_f.js +++ b/js/Linear/BIGSOM_f.js @@ -20,6 +20,7 @@ function BIGSOM_f() { BIGSOM_f.prototype.get = function BIGSOM_f() { } BIGSOM_f.prototype.set = function BIGSOM_f() { + this.sgn = parseFloat((arguments[0]["sgn"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Linear/CLR.js b/js/Linear/CLR.js index 7e901467..71876ef0 100644 --- a/js/Linear/CLR.js +++ b/js/Linear/CLR.js @@ -25,6 +25,8 @@ function CLR() { CLR.prototype.get = function CLR() { } CLR.prototype.set = function CLR() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLR_f.js b/js/Linear/CLR_f.js index dbd940cf..55b9376a 100644 --- a/js/Linear/CLR_f.js +++ b/js/Linear/CLR_f.js @@ -25,6 +25,8 @@ function CLR_f() { CLR_f.prototype.get = function CLR_f() { } CLR_f.prototype.set = function CLR_f() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLSS.js b/js/Linear/CLSS.js index 536b730f..463de132 100644 --- a/js/Linear/CLSS.js +++ b/js/Linear/CLSS.js @@ -27,6 +27,11 @@ function CLSS() { CLSS.prototype.get = function CLSS() { } CLSS.prototype.set = function CLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/CLSS_f.js b/js/Linear/CLSS_f.js index 89e505b9..703a2bba 100644 --- a/js/Linear/CLSS_f.js +++ b/js/Linear/CLSS_f.js @@ -27,6 +27,11 @@ function CLSS_f() { CLSS_f.prototype.get = function CLSS_f() { } CLSS_f.prototype.set = function CLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DELAYV_f.js b/js/Linear/DELAYV_f.js index 17697190..077efac4 100644 --- a/js/Linear/DELAYV_f.js +++ b/js/Linear/DELAYV_f.js @@ -27,6 +27,9 @@ function DELAYV_f() { DELAYV_f.prototype.get = function DELAYV_f() { } DELAYV_f.prototype.set = function DELAYV_f() { + this.nin = parseFloat((arguments[0]["nin"])) + this.zz0 = parseFloat((arguments[0]["zz0"])) + this.T = parseFloat((arguments[0]["T"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DELAY_f.js b/js/Linear/DELAY_f.js index 276cdfcb..b7fafb69 100644 --- a/js/Linear/DELAY_f.js +++ b/js/Linear/DELAY_f.js @@ -71,6 +71,8 @@ function DELAY_f() { DELAY_f.prototype.get = function DELAY_f() { } DELAY_f.prototype.set = function DELAY_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.z0 = parseFloat((arguments[0]["z0"])) ppath = list(0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; diff --git a/js/Linear/DIFF_c.js b/js/Linear/DIFF_c.js index 506ae581..41fed9aa 100644 --- a/js/Linear/DIFF_c.js +++ b/js/Linear/DIFF_c.js @@ -20,6 +20,8 @@ function DIFF_c() { DIFF_c.prototype.get = function DIFF_c() { } DIFF_c.prototype.set = function DIFF_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLR.js b/js/Linear/DLR.js index 84f9a2e7..c0f616a6 100644 --- a/js/Linear/DLR.js +++ b/js/Linear/DLR.js @@ -26,6 +26,8 @@ function DLR() { DLR.prototype.get = function DLR() { } DLR.prototype.set = function DLR() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLR_f.js b/js/Linear/DLR_f.js index 73628389..3f573c1c 100644 --- a/js/Linear/DLR_f.js +++ b/js/Linear/DLR_f.js @@ -26,6 +26,8 @@ function DLR_f() { DLR_f.prototype.get = function DLR_f() { } DLR_f.prototype.set = function DLR_f() { + this.num = parseFloat((arguments[0]["num"])) + this.den = parseFloat((arguments[0]["den"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js index ee40563b..84af36c5 100644 --- a/js/Linear/DLSS.js +++ b/js/Linear/DLSS.js @@ -26,6 +26,11 @@ function DLSS() { DLSS.prototype.get = function DLSS() { } DLSS.prototype.set = function DLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DLSS_f.js b/js/Linear/DLSS_f.js index 0f1cf562..4afd0f91 100644 --- a/js/Linear/DLSS_f.js +++ b/js/Linear/DLSS_f.js @@ -26,6 +26,11 @@ function DLSS_f() { DLSS_f.prototype.get = function DLSS_f() { } DLSS_f.prototype.set = function DLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR.js b/js/Linear/DOLLAR.js index a175c80a..82b8d12e 100644 --- a/js/Linear/DOLLAR.js +++ b/js/Linear/DOLLAR.js @@ -23,6 +23,8 @@ function DOLLAR() { DOLLAR.prototype.get = function DOLLAR() { } DOLLAR.prototype.set = function DOLLAR() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR_f.js b/js/Linear/DOLLAR_f.js index b331cb5d..f751d7c5 100644 --- a/js/Linear/DOLLAR_f.js +++ b/js/Linear/DOLLAR_f.js @@ -23,6 +23,8 @@ function DOLLAR_f() { DOLLAR_f.prototype.get = function DOLLAR_f() { } DOLLAR_f.prototype.set = function DOLLAR_f() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/DOLLAR_m.js b/js/Linear/DOLLAR_m.js index 593bdede..d2b74b29 100644 --- a/js/Linear/DOLLAR_m.js +++ b/js/Linear/DOLLAR_m.js @@ -23,6 +23,8 @@ function DOLLAR_m() { DOLLAR_m.prototype.get = function DOLLAR_m() { } DOLLAR_m.prototype.set = function DOLLAR_m() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAINBLK.js b/js/Linear/GAINBLK.js index 975b991c..1f48644a 100644 --- a/js/Linear/GAINBLK.js +++ b/js/Linear/GAINBLK.js @@ -26,6 +26,8 @@ function GAINBLK() { GAINBLK.prototype.get = function GAINBLK() { } GAINBLK.prototype.set = function GAINBLK() { + this.gain = parseFloat((arguments[0]["gain"])) + this.over = parseFloat((arguments[0]["over"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAINBLK_f.js b/js/Linear/GAINBLK_f.js index 55f816d0..4b601255 100644 --- a/js/Linear/GAINBLK_f.js +++ b/js/Linear/GAINBLK_f.js @@ -22,6 +22,7 @@ function GAINBLK_f() { GAINBLK_f.prototype.get = function GAINBLK_f() { } GAINBLK_f.prototype.set = function GAINBLK_f() { + this.gain = parseFloat((arguments[0]["gain"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/GAIN_f.js b/js/Linear/GAIN_f.js index 3a722b6f..ab745c92 100644 --- a/js/Linear/GAIN_f.js +++ b/js/Linear/GAIN_f.js @@ -22,6 +22,7 @@ function GAIN_f() { GAIN_f.prototype.get = function GAIN_f() { } GAIN_f.prototype.set = function GAIN_f() { + this.gain = parseFloat((arguments[0]["gain"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL.js b/js/Linear/INTEGRAL.js index 47b5cd21..4918da36 100644 --- a/js/Linear/INTEGRAL.js +++ b/js/Linear/INTEGRAL.js @@ -24,6 +24,11 @@ function INTEGRAL() { INTEGRAL.prototype.get = function INTEGRAL() { } INTEGRAL.prototype.set = function INTEGRAL() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.reinit = parseFloat((arguments[0]["reinit"])) + this.satur = parseFloat((arguments[0]["satur"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.lowp = parseFloat((arguments[0]["lowp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL_f.js b/js/Linear/INTEGRAL_f.js index 155617c8..cfe0733c 100644 --- a/js/Linear/INTEGRAL_f.js +++ b/js/Linear/INTEGRAL_f.js @@ -20,6 +20,7 @@ function INTEGRAL_f() { INTEGRAL_f.prototype.get = function INTEGRAL_f() { } INTEGRAL_f.prototype.set = function INTEGRAL_f() { + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/INTEGRAL_m.js b/js/Linear/INTEGRAL_m.js index 3072add5..82262192 100644 --- a/js/Linear/INTEGRAL_m.js +++ b/js/Linear/INTEGRAL_m.js @@ -25,6 +25,11 @@ function INTEGRAL_m() { INTEGRAL_m.prototype.get = function INTEGRAL_m() { } INTEGRAL_m.prototype.set = function INTEGRAL_m() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.reinit = parseFloat((arguments[0]["reinit"])) + this.satur = parseFloat((arguments[0]["satur"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.lowp = parseFloat((arguments[0]["lowp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/PID.js b/js/Linear/PID.js index 733b9978..0b5faeb3 100644 --- a/js/Linear/PID.js +++ b/js/Linear/PID.js @@ -45,6 +45,10 @@ function PID() { PID.prototype.get = function PID() { } PID.prototype.set = function PID() { + this.p = parseFloat((arguments[0]["p"])) + this.i = parseFloat((arguments[0]["i"])) + this.d = parseFloat((arguments[0]["d"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) ppath = list(0,0,0); for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[this.i-1]; diff --git a/js/Linear/REGISTER.js b/js/Linear/REGISTER.js index d3d55660..05cfa68a 100644 --- a/js/Linear/REGISTER.js +++ b/js/Linear/REGISTER.js @@ -21,6 +21,8 @@ function REGISTER() { REGISTER.prototype.get = function REGISTER() { } REGISTER.prototype.set = function REGISTER() { + this.z0 = parseFloat((arguments[0]["z0"])) + this.it = parseFloat((arguments[0]["it"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/REGISTER_f.js b/js/Linear/REGISTER_f.js index 7b00bd94..0c928c31 100644 --- a/js/Linear/REGISTER_f.js +++ b/js/Linear/REGISTER_f.js @@ -21,6 +21,7 @@ function REGISTER_f() { REGISTER_f.prototype.get = function REGISTER_f() { } REGISTER_f.prototype.set = function REGISTER_f() { + this.z0 = parseFloat((arguments[0]["z0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/SAMPHOLD_m.js b/js/Linear/SAMPHOLD_m.js index 11d99bd0..f1be731b 100644 --- a/js/Linear/SAMPHOLD_m.js +++ b/js/Linear/SAMPHOLD_m.js @@ -23,6 +23,7 @@ function SAMPHOLD_m() { SAMPHOLD_m.prototype.get = function SAMPHOLD_m() { } SAMPHOLD_m.prototype.set = function SAMPHOLD_m() { + this.it = parseFloat((arguments[0]["it"])) this.x = arg1; this.x.model.firing = []; graphics = arg1.graphics; diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js index dcf3534d..e74f50c7 100644 --- a/js/Linear/SUMMATION.js +++ b/js/Linear/SUMMATION.js @@ -22,6 +22,9 @@ function SUMMATION() { SUMMATION.prototype.get = function SUMMATION() { } SUMMATION.prototype.set = function SUMMATION() { + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.sgn = parseFloat((arguments[0]["sgn"])) + this.satur = parseFloat((arguments[0]["satur"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Linear/TCLSS.js b/js/Linear/TCLSS.js index 15403b63..6f2a13d3 100644 --- a/js/Linear/TCLSS.js +++ b/js/Linear/TCLSS.js @@ -29,6 +29,11 @@ function TCLSS() { TCLSS.prototype.get = function TCLSS() { } TCLSS.prototype.set = function TCLSS() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/TCLSS_f.js b/js/Linear/TCLSS_f.js index a180df56..dff30f43 100644 --- a/js/Linear/TCLSS_f.js +++ b/js/Linear/TCLSS_f.js @@ -29,6 +29,11 @@ function TCLSS_f() { TCLSS_f.prototype.get = function TCLSS_f() { } TCLSS_f.prototype.set = function TCLSS_f() { + this.A = parseFloat((arguments[0]["A"])) + this.B = parseFloat((arguments[0]["B"])) + this.C = parseFloat((arguments[0]["C"])) + this.D = parseFloat((arguments[0]["D"])) + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/TIME_DELAY.js b/js/Linear/TIME_DELAY.js index f10c9d60..ebff788e 100644 --- a/js/Linear/TIME_DELAY.js +++ b/js/Linear/TIME_DELAY.js @@ -24,6 +24,9 @@ function TIME_DELAY() { TIME_DELAY.prototype.get = function TIME_DELAY() { } TIME_DELAY.prototype.set = function TIME_DELAY() { + this.T = parseFloat((arguments[0]["T"])) + this.init = parseFloat((arguments[0]["init"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Linear/VARIABLE_DELAY.js b/js/Linear/VARIABLE_DELAY.js index 9943a423..09877c69 100644 --- a/js/Linear/VARIABLE_DELAY.js +++ b/js/Linear/VARIABLE_DELAY.js @@ -24,6 +24,9 @@ function VARIABLE_DELAY() { VARIABLE_DELAY.prototype.get = function VARIABLE_DELAY() { } VARIABLE_DELAY.prototype.set = function VARIABLE_DELAY() { + this.T = parseFloat((arguments[0]["T"])) + this.init = parseFloat((arguments[0]["init"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/MatrixOp/CUMSUM.js b/js/MatrixOp/CUMSUM.js index b099f884..a940d7bb 100644 --- a/js/MatrixOp/CUMSUM.js +++ b/js/MatrixOp/CUMSUM.js @@ -31,6 +31,9 @@ function CUMSUM() { CUMSUM.prototype.get = function CUMSUM() { } CUMSUM.prototype.set = function CUMSUM() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/EXTRACT.js b/js/MatrixOp/EXTRACT.js index 0c5f8947..763e84fc 100644 --- a/js/MatrixOp/EXTRACT.js +++ b/js/MatrixOp/EXTRACT.js @@ -31,6 +31,9 @@ function EXTRACT() { EXTRACT.prototype.get = function EXTRACT() { } EXTRACT.prototype.set = function EXTRACT() { + this.typ = parseFloat((arguments[0]["typ"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/EXTTRI.js b/js/MatrixOp/EXTTRI.js index 8ad97ebf..385c22d3 100644 --- a/js/MatrixOp/EXTTRI.js +++ b/js/MatrixOp/EXTTRI.js @@ -31,6 +31,9 @@ function EXTTRI() { EXTTRI.prototype.get = function EXTTRI() { } EXTTRI.prototype.set = function EXTTRI() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATBKSL.js b/js/MatrixOp/MATBKSL.js index a4bea4b5..cd80d57f 100644 --- a/js/MatrixOp/MATBKSL.js +++ b/js/MatrixOp/MATBKSL.js @@ -31,6 +31,7 @@ function MATBKSL() { MATBKSL.prototype.get = function MATBKSL() { } MATBKSL.prototype.set = function MATBKSL() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATCATH.js b/js/MatrixOp/MATCATH.js index dbdbc97b..093ec5c4 100644 --- a/js/MatrixOp/MATCATH.js +++ b/js/MatrixOp/MATCATH.js @@ -31,6 +31,8 @@ function MATCATH() { MATCATH.prototype.get = function MATCATH() { } MATCATH.prototype.set = function MATCATH() { + this.nin = parseFloat((arguments[0]["nin"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATCATV.js b/js/MatrixOp/MATCATV.js index 4824e14d..b7f9a118 100644 --- a/js/MatrixOp/MATCATV.js +++ b/js/MatrixOp/MATCATV.js @@ -32,6 +32,8 @@ function MATCATV() { MATCATV.prototype.get = function MATCATV() { } MATCATV.prototype.set = function MATCATV() { + this.nin = parseFloat((arguments[0]["nin"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATDET.js b/js/MatrixOp/MATDET.js index 9aed36c1..eb58d2a8 100644 --- a/js/MatrixOp/MATDET.js +++ b/js/MatrixOp/MATDET.js @@ -31,6 +31,7 @@ function MATDET() { MATDET.prototype.get = function MATDET() { } MATDET.prototype.set = function MATDET() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js index b1ac519f..ce4df9c6 100644 --- a/js/MatrixOp/MATDIAG.js +++ b/js/MatrixOp/MATDIAG.js @@ -31,6 +31,7 @@ function MATDIAG() { MATDIAG.prototype.get = function MATDIAG() { } MATDIAG.prototype.set = function MATDIAG() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATDIV.js b/js/MatrixOp/MATDIV.js index 18fdf4a9..45fb81e3 100644 --- a/js/MatrixOp/MATDIV.js +++ b/js/MatrixOp/MATDIV.js @@ -31,6 +31,7 @@ function MATDIV() { MATDIV.prototype.get = function MATDIV() { } MATDIV.prototype.set = function MATDIV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATEIG.js b/js/MatrixOp/MATEIG.js index dbe10da5..2a365fe8 100644 --- a/js/MatrixOp/MATEIG.js +++ b/js/MatrixOp/MATEIG.js @@ -31,6 +31,9 @@ function MATEIG() { MATEIG.prototype.get = function MATEIG() { } MATEIG.prototype.set = function MATEIG() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATEXPM.js b/js/MatrixOp/MATEXPM.js index 672401ed..cb40e3cd 100644 --- a/js/MatrixOp/MATEXPM.js +++ b/js/MatrixOp/MATEXPM.js @@ -31,6 +31,7 @@ function MATEXPM() { MATEXPM.prototype.get = function MATEXPM() { } MATEXPM.prototype.set = function MATEXPM() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATINV.js b/js/MatrixOp/MATINV.js index 2a7995c3..74a32218 100644 --- a/js/MatrixOp/MATINV.js +++ b/js/MatrixOp/MATINV.js @@ -31,6 +31,7 @@ function MATINV() { MATINV.prototype.get = function MATINV() { } MATINV.prototype.set = function MATINV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATLU.js b/js/MatrixOp/MATLU.js index 10b6d6da..36497759 100644 --- a/js/MatrixOp/MATLU.js +++ b/js/MatrixOp/MATLU.js @@ -31,6 +31,8 @@ function MATLU() { MATLU.prototype.get = function MATLU() { } MATLU.prototype.set = function MATLU() { + this.typ = parseFloat((arguments[0]["typ"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATMAGPHI.js b/js/MatrixOp/MATMAGPHI.js index 61f61bca..25688e97 100644 --- a/js/MatrixOp/MATMAGPHI.js +++ b/js/MatrixOp/MATMAGPHI.js @@ -31,6 +31,8 @@ function MATMAGPHI() { MATMAGPHI.prototype.get = function MATMAGPHI() { } MATMAGPHI.prototype.set = function MATMAGPHI() { + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js index e482ebba..a9e39de4 100644 --- a/js/MatrixOp/MATMUL.js +++ b/js/MatrixOp/MATMUL.js @@ -20,6 +20,9 @@ function MATMUL() { MATMUL.prototype.get = function MATMUL() { } MATMUL.prototype.set = function MATMUL() { + this.dtype = parseFloat((arguments[0]["dtype"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.np = parseFloat((arguments[0]["np"])) this.x = arg1; graphics = this.x.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js index cc82ce10..fd8ca1bd 100644 --- a/js/MatrixOp/MATPINV.js +++ b/js/MatrixOp/MATPINV.js @@ -31,6 +31,7 @@ function MATPINV() { MATPINV.prototype.get = function MATPINV() { } MATPINV.prototype.set = function MATPINV() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATRESH.js b/js/MatrixOp/MATRESH.js index 0c60c782..1a44ec6d 100644 --- a/js/MatrixOp/MATRESH.js +++ b/js/MatrixOp/MATRESH.js @@ -31,6 +31,10 @@ function MATRESH() { MATRESH.prototype.get = function MATRESH() { } MATRESH.prototype.set = function MATRESH() { + this.typ = parseFloat((arguments[0]["typ"])) + this.l1 = parseFloat((arguments[0]["l1"])) + this.out = parseFloat((arguments[0]["out"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATSING.js b/js/MatrixOp/MATSING.js index 89b18dc7..edeaf552 100644 --- a/js/MatrixOp/MATSING.js +++ b/js/MatrixOp/MATSING.js @@ -31,6 +31,9 @@ function MATSING() { MATSING.prototype.get = function MATSING() { } MATSING.prototype.set = function MATSING() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATSUM.js b/js/MatrixOp/MATSUM.js index 7c6897f2..8200c76d 100644 --- a/js/MatrixOp/MATSUM.js +++ b/js/MatrixOp/MATSUM.js @@ -31,6 +31,9 @@ function MATSUM() { MATSUM.prototype.get = function MATSUM() { } MATSUM.prototype.set = function MATSUM() { + this.typ = parseFloat((arguments[0]["typ"])) + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/MATTRAN.js b/js/MatrixOp/MATTRAN.js index 931b82c0..7f06522c 100644 --- a/js/MatrixOp/MATTRAN.js +++ b/js/MatrixOp/MATTRAN.js @@ -19,6 +19,8 @@ function MATTRAN() { MATTRAN.prototype.get = function MATTRAN() { } MATTRAN.prototype.set = function MATTRAN() { + this.typ = parseFloat((arguments[0]["typ"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/MATZREIM.js b/js/MatrixOp/MATZREIM.js index 58cb5d71..66eb87c5 100644 --- a/js/MatrixOp/MATZREIM.js +++ b/js/MatrixOp/MATZREIM.js @@ -31,6 +31,8 @@ function MATZREIM() { MATZREIM.prototype.get = function MATZREIM() { } MATZREIM.prototype.set = function MATZREIM() { + this.decomptyp = parseFloat((arguments[0]["decomptyp"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/MatrixOp/RICC.js b/js/MatrixOp/RICC.js index 725a1a7f..8e2b989d 100644 --- a/js/MatrixOp/RICC.js +++ b/js/MatrixOp/RICC.js @@ -31,6 +31,8 @@ function RICC() { RICC.prototype.get = function RICC() { } RICC.prototype.set = function RICC() { + this.tpe = parseFloat((arguments[0]["tpe"])) + this.mod = parseFloat((arguments[0]["mod"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/ROOTCOEF.js b/js/MatrixOp/ROOTCOEF.js index e2c31781..9e84d04a 100644 --- a/js/MatrixOp/ROOTCOEF.js +++ b/js/MatrixOp/ROOTCOEF.js @@ -31,6 +31,8 @@ function ROOTCOEF() { ROOTCOEF.prototype.get = function ROOTCOEF() { } ROOTCOEF.prototype.set = function ROOTCOEF() { + this.typ = parseFloat((arguments[0]["typ"])) + this.inp = parseFloat((arguments[0]["inp"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/SQRT.js b/js/MatrixOp/SQRT.js index f3ead18e..24d5f40d 100644 --- a/js/MatrixOp/SQRT.js +++ b/js/MatrixOp/SQRT.js @@ -21,6 +21,7 @@ function SQRT() { SQRT.prototype.get = function SQRT() { } SQRT.prototype.set = function SQRT() { + this.typ = parseFloat((arguments[0]["typ"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/MatrixOp/SUBMAT.js b/js/MatrixOp/SUBMAT.js index d7a97778..09ee6391 100644 --- a/js/MatrixOp/SUBMAT.js +++ b/js/MatrixOp/SUBMAT.js @@ -31,6 +31,12 @@ function SUBMAT() { SUBMAT.prototype.get = function SUBMAT() { } SUBMAT.prototype.set = function SUBMAT() { + this.typ = parseFloat((arguments[0]["typ"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.c = parseFloat((arguments[0]["c"])) + this.d = parseFloat((arguments[0]["d"])) + this.inp = parseFloat((arguments[0]["inp"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/Misc/BACKLASH.js b/js/Misc/BACKLASH.js index ac616dc2..b02a3366 100644 --- a/js/Misc/BACKLASH.js +++ b/js/Misc/BACKLASH.js @@ -20,6 +20,9 @@ function BACKLASH() { BACKLASH.prototype.get = function BACKLASH() { } BACKLASH.prototype.set = function BACKLASH() { + this.ini = parseFloat((arguments[0]["ini"])) + this.gap = parseFloat((arguments[0]["gap"])) + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js index 72b08147..05e4a011 100644 --- a/js/Misc/BOUNCE.js +++ b/js/Misc/BOUNCE.js @@ -44,6 +44,15 @@ function BOUNCE() { BOUNCE.prototype.get = function BOUNCE() { } BOUNCE.prototype.set = function BOUNCE() { + this.rpar1 = parseFloat((arguments[0]["rpar1"])) + this.rpar2 = parseFloat((arguments[0]["rpar2"])) + this.walls = parseFloat((arguments[0]["walls"])) + this.xt = parseFloat((arguments[0]["xt"])) + this.xd = parseFloat((arguments[0]["xd"])) + this.y = parseFloat((arguments[0]["y"])) + this.yd = parseFloat((arguments[0]["yd"])) + this.g = parseFloat((arguments[0]["g"])) + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BOUNCEXY.js b/js/Misc/BOUNCEXY.js index 949bbda2..459f5f13 100644 --- a/js/Misc/BOUNCEXY.js +++ b/js/Misc/BOUNCEXY.js @@ -41,6 +41,14 @@ function BOUNCEXY() { BOUNCEXY.prototype.get = function BOUNCEXY() { } BOUNCEXY.prototype.set = function BOUNCEXY() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.imode = parseFloat((arguments[0]["imode"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/BPLATFORM.js b/js/Misc/BPLATFORM.js index c4d682b0..943be74d 100644 --- a/js/Misc/BPLATFORM.js +++ b/js/Misc/BPLATFORM.js @@ -27,6 +27,13 @@ function BPLATFORM() { BPLATFORM.prototype.get = function BPLATFORM() { } BPLATFORM.prototype.set = function BPLATFORM() { + this.plen = parseFloat((arguments[0]["plen"])) + this.csiz = parseFloat((arguments[0]["csiz"])) + this.phi = parseFloat((arguments[0]["phi"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/CBLOCK.js b/js/Misc/CBLOCK.js index 1f1c0ee3..abad4da3 100644 --- a/js/Misc/CBLOCK.js +++ b/js/Misc/CBLOCK.js @@ -38,6 +38,21 @@ function CBLOCK() { CBLOCK.prototype.get = function CBLOCK() { } CBLOCK.prototype.set = function CBLOCK() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.impli = parseFloat((arguments[0]["impli"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.ng = parseFloat((arguments[0]["ng"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js index 6c74ffa9..1370002b 100644 --- a/js/Misc/CBLOCK4.js +++ b/js/Misc/CBLOCK4.js @@ -22,6 +22,26 @@ function CBLOCK4() { CBLOCK4.prototype.get = function CBLOCK4() { } CBLOCK4.prototype.set = function CBLOCK4() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.impli = parseFloat((arguments[0]["impli"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.it = parseFloat((arguments[0]["it"])) + this.out = parseFloat((arguments[0]["out"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.oz = parseFloat((arguments[0]["oz"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.opar = parseFloat((arguments[0]["opar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/CONSTRAINT2_c.js b/js/Misc/CONSTRAINT2_c.js index 803e1508..b30bdd95 100644 --- a/js/Misc/CONSTRAINT2_c.js +++ b/js/Misc/CONSTRAINT2_c.js @@ -23,6 +23,9 @@ function CONSTRAINT2_c() { CONSTRAINT2_c.prototype.get = function CONSTRAINT2_c() { } CONSTRAINT2_c.prototype.set = function CONSTRAINT2_c() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) + this.id = parseFloat((arguments[0]["id"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/CONSTRAINT_c.js b/js/Misc/CONSTRAINT_c.js index e9bd4102..57a6d9b2 100644 --- a/js/Misc/CONSTRAINT_c.js +++ b/js/Misc/CONSTRAINT_c.js @@ -21,6 +21,7 @@ function CONSTRAINT_c() { CONSTRAINT_c.prototype.get = function CONSTRAINT_c() { } CONSTRAINT_c.prototype.set = function CONSTRAINT_c() { + this.x0 = parseFloat((arguments[0]["x0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/DEADBAND.js b/js/Misc/DEADBAND.js index 094507df..d42e8858 100644 --- a/js/Misc/DEADBAND.js +++ b/js/Misc/DEADBAND.js @@ -24,6 +24,9 @@ function DEADBAND() { DEADBAND.prototype.get = function DEADBAND() { } DEADBAND.prototype.set = function DEADBAND() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) + this.zeroc = parseFloat((arguments[0]["zeroc"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/DIFF_f.js b/js/Misc/DIFF_f.js index 3f1e2c09..cbc9619d 100644 --- a/js/Misc/DIFF_f.js +++ b/js/Misc/DIFF_f.js @@ -20,6 +20,8 @@ function DIFF_f() { DIFF_f.prototype.get = function DIFF_f() { } DIFF_f.prototype.set = function DIFF_f() { + this.x0 = parseFloat((arguments[0]["x0"])) + this.xd0 = parseFloat((arguments[0]["xd0"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/EDGETRIGGER.js b/js/Misc/EDGETRIGGER.js index 1f9a65a8..c7ee1a2e 100644 --- a/js/Misc/EDGETRIGGER.js +++ b/js/Misc/EDGETRIGGER.js @@ -22,6 +22,7 @@ function EDGETRIGGER() { EDGETRIGGER.prototype.get = function EDGETRIGGER() { } EDGETRIGGER.prototype.set = function EDGETRIGGER() { + this.edge = parseFloat((arguments[0]["edge"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/HYSTHERESIS.js b/js/Misc/HYSTHERESIS.js index 39991fb6..246ce23c 100644 --- a/js/Misc/HYSTHERESIS.js +++ b/js/Misc/HYSTHERESIS.js @@ -25,6 +25,11 @@ function HYSTHERESIS() { HYSTHERESIS.prototype.get = function HYSTHERESIS() { } HYSTHERESIS.prototype.set = function HYSTHERESIS() { + this.high_lim = parseFloat((arguments[0]["high_lim"])) + this.low_lim = parseFloat((arguments[0]["low_lim"])) + this.out_high = parseFloat((arguments[0]["out_high"])) + this.out_low = parseFloat((arguments[0]["out_low"])) + this.nzz = parseFloat((arguments[0]["nzz"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/LOGICAL_OP.js b/js/Misc/LOGICAL_OP.js index f2849f0e..ec4b80b9 100644 --- a/js/Misc/LOGICAL_OP.js +++ b/js/Misc/LOGICAL_OP.js @@ -22,6 +22,10 @@ function LOGICAL_OP() { LOGICAL_OP.prototype.get = function LOGICAL_OP() { } LOGICAL_OP.prototype.set = function LOGICAL_OP() { + this.nin = parseFloat((arguments[0]["nin"])) + this.rule = parseFloat((arguments[0]["rule"])) + this.Datatype = parseFloat((arguments[0]["Datatype"])) + this.tp = parseFloat((arguments[0]["tp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/MBLOCK.js b/js/Misc/MBLOCK.js index 4b62ac88..ae8d0cb9 100644 --- a/js/Misc/MBLOCK.js +++ b/js/Misc/MBLOCK.js @@ -38,6 +38,14 @@ function MBLOCK() { MBLOCK.prototype.get = function MBLOCK() { } MBLOCK.prototype.set = function MBLOCK() { + this.Tin = parseFloat((arguments[0]["Tin"])) + this.Tintype = parseFloat((arguments[0]["Tintype"])) + this.Tout = parseFloat((arguments[0]["Tout"])) + this.Touttype = parseFloat((arguments[0]["Touttype"])) + this.Tparam = parseFloat((arguments[0]["Tparam"])) + this.pprop = parseFloat((arguments[0]["pprop"])) + this.Tfunam = parseFloat((arguments[0]["Tfunam"])) + this.lab_1 = parseFloat((arguments[0]["lab_1"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/MEMORY_f.js b/js/Misc/MEMORY_f.js index d2c40a37..e6b70b35 100644 --- a/js/Misc/MEMORY_f.js +++ b/js/Misc/MEMORY_f.js @@ -23,6 +23,8 @@ function MEMORY_f() { MEMORY_f.prototype.get = function MEMORY_f() { } MEMORY_f.prototype.set = function MEMORY_f() { + this.a = parseFloat((arguments[0]["a"])) + this.inh = parseFloat((arguments[0]["inh"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/PENDULUM_ANIM.js b/js/Misc/PENDULUM_ANIM.js index a3c97680..73b79503 100644 --- a/js/Misc/PENDULUM_ANIM.js +++ b/js/Misc/PENDULUM_ANIM.js @@ -27,6 +27,13 @@ function PENDULUM_ANIM() { PENDULUM_ANIM.prototype.get = function PENDULUM_ANIM() { } PENDULUM_ANIM.prototype.set = function PENDULUM_ANIM() { + this.plen = parseFloat((arguments[0]["plen"])) + this.csiz = parseFloat((arguments[0]["csiz"])) + this.phi = parseFloat((arguments[0]["phi"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/RATELIMITER.js b/js/Misc/RATELIMITER.js index e50489de..307ca34c 100644 --- a/js/Misc/RATELIMITER.js +++ b/js/Misc/RATELIMITER.js @@ -22,6 +22,8 @@ function RATELIMITER() { RATELIMITER.prototype.get = function RATELIMITER() { } RATELIMITER.prototype.set = function RATELIMITER() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/RELATIONALOP.js b/js/Misc/RELATIONALOP.js index 9688365e..2d8fbe24 100644 --- a/js/Misc/RELATIONALOP.js +++ b/js/Misc/RELATIONALOP.js @@ -22,6 +22,9 @@ function RELATIONALOP() { RELATIONALOP.prototype.get = function RELATIONALOP() { } RELATIONALOP.prototype.set = function RELATIONALOP() { + this.rule = parseFloat((arguments[0]["rule"])) + this.zcr = parseFloat((arguments[0]["zcr"])) + this.Datatype = parseFloat((arguments[0]["Datatype"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Misc/TEXT_f.js b/js/Misc/TEXT_f.js index f20ecd02..ff33543c 100644 --- a/js/Misc/TEXT_f.js +++ b/js/Misc/TEXT_f.js @@ -21,6 +21,9 @@ function TEXT_f() { TEXT_f.prototype.get = function TEXT_f() { } TEXT_f.prototype.set = function TEXT_f() { + this.txt = parseFloat((arguments[0]["txt"])) + this.font = parseFloat((arguments[0]["font"])) + this.siz = parseFloat((arguments[0]["siz"])) this.x = arg1; graphics = arg1.graphics; orig = graphics.orig; diff --git a/js/Misc/c_block.js b/js/Misc/c_block.js index 489ae67d..e47820c6 100644 --- a/js/Misc/c_block.js +++ b/js/Misc/c_block.js @@ -35,6 +35,11 @@ function c_block() { c_block.prototype.get = function c_block() { } c_block.prototype.set = function c_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.funam = parseFloat((arguments[0]["funam"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/fortran_block.js b/js/Misc/fortran_block.js index 4aadc4aa..c6e76965 100644 --- a/js/Misc/fortran_block.js +++ b/js/Misc/fortran_block.js @@ -26,6 +26,11 @@ function fortran_block() { fortran_block.prototype.get = function fortran_block() { } fortran_block.prototype.set = function fortran_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.funam = parseFloat((arguments[0]["funam"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block.js b/js/Misc/generic_block.js index 3f3ce2e5..eab48a00 100644 --- a/js/Misc/generic_block.js +++ b/js/Misc/generic_block.js @@ -27,6 +27,20 @@ function generic_block() { generic_block.prototype.get = function generic_block() { } generic_block.prototype.set = function generic_block() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block2.js b/js/Misc/generic_block2.js index 5aad8926..1e9b0ca2 100644 --- a/js/Misc/generic_block2.js +++ b/js/Misc/generic_block2.js @@ -27,6 +27,22 @@ function generic_block2() { generic_block2.prototype.get = function generic_block2() { } generic_block2.prototype.set = function generic_block2() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/generic_block3.js b/js/Misc/generic_block3.js index 7884e95a..0e53bef7 100644 --- a/js/Misc/generic_block3.js +++ b/js/Misc/generic_block3.js @@ -23,6 +23,26 @@ function generic_block3() { generic_block3.prototype.get = function generic_block3() { } generic_block3.prototype.set = function generic_block3() { + this.function_name = parseFloat((arguments[0]["function_name"])) + this.funtyp = parseFloat((arguments[0]["funtyp"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.it = parseFloat((arguments[0]["it"])) + this.out = parseFloat((arguments[0]["out"])) + this.ot = parseFloat((arguments[0]["ot"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.oz = parseFloat((arguments[0]["oz"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.ipar = parseFloat((arguments[0]["ipar"])) + this.opar = parseFloat((arguments[0]["opar"])) + this.nmode = parseFloat((arguments[0]["nmode"])) + this.nzcr = parseFloat((arguments[0]["nzcr"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.depu = parseFloat((arguments[0]["depu"])) + this.dept = parseFloat((arguments[0]["dept"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js index 18865a9b..783ab8f9 100644 --- a/js/Misc/scifunc_block.js +++ b/js/Misc/scifunc_block.js @@ -35,6 +35,16 @@ function scifunc_block() { scifunc_block.prototype.get = function scifunc_block() { } scifunc_block.prototype.set = function scifunc_block() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.deptime = parseFloat((arguments[0]["deptime"])) + this.lab = parseFloat((arguments[0]["lab"])) needcompile = 0; this.x = arg1; model = arg1.model; diff --git a/js/Misc/scifunc_block_m.js b/js/Misc/scifunc_block_m.js index d9f4e335..b96f422c 100644 --- a/js/Misc/scifunc_block_m.js +++ b/js/Misc/scifunc_block_m.js @@ -40,6 +40,16 @@ function scifunc_block_m() { scifunc_block_m.prototype.get = function scifunc_block_m() { } scifunc_block_m.prototype.set = function scifunc_block_m() { + this.i = parseFloat((arguments[0]["i"])) + this.o = parseFloat((arguments[0]["o"])) + this.ci = parseFloat((arguments[0]["ci"])) + this.co = parseFloat((arguments[0]["co"])) + this.xx = parseFloat((arguments[0]["xx"])) + this.z = parseFloat((arguments[0]["z"])) + this.rpar = parseFloat((arguments[0]["rpar"])) + this.auto0 = parseFloat((arguments[0]["auto0"])) + this.deptime = parseFloat((arguments[0]["deptime"])) + this.lab = parseFloat((arguments[0]["lab"])) needcompile = 0; this.x = arg1; model = arg1.model; diff --git a/js/NonLinear/ABS_VALUE.js b/js/NonLinear/ABS_VALUE.js index cb2a098b..1002b0ea 100644 --- a/js/NonLinear/ABS_VALUE.js +++ b/js/NonLinear/ABS_VALUE.js @@ -21,6 +21,7 @@ function ABS_VALUE() { ABS_VALUE.prototype.get = function ABS_VALUE() { } ABS_VALUE.prototype.set = function ABS_VALUE() { + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/DLRADAPT_f.js b/js/NonLinear/DLRADAPT_f.js index b41e53ed..b8018d7b 100644 --- a/js/NonLinear/DLRADAPT_f.js +++ b/js/NonLinear/DLRADAPT_f.js @@ -29,6 +29,12 @@ function DLRADAPT_f() { DLRADAPT_f.prototype.get = function DLRADAPT_f() { } DLRADAPT_f.prototype.set = function DLRADAPT_f() { + this.p = parseFloat((arguments[0]["p"])) + this.rn = parseFloat((arguments[0]["rn"])) + this.rd = parseFloat((arguments[0]["rd"])) + this.g = parseFloat((arguments[0]["g"])) + this.last_u = parseFloat((arguments[0]["last_u"])) + this.last_y = parseFloat((arguments[0]["last_y"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/EXPBLK_f.js b/js/NonLinear/EXPBLK_f.js index ec4262b2..656447a9 100644 --- a/js/NonLinear/EXPBLK_f.js +++ b/js/NonLinear/EXPBLK_f.js @@ -21,6 +21,7 @@ function EXPBLK_f() { EXPBLK_f.prototype.get = function EXPBLK_f() { } EXPBLK_f.prototype.set = function EXPBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/EXPBLK_m.js b/js/NonLinear/EXPBLK_m.js index 177a00ef..7b792a21 100644 --- a/js/NonLinear/EXPBLK_m.js +++ b/js/NonLinear/EXPBLK_m.js @@ -25,6 +25,7 @@ function EXPBLK_m() { EXPBLK_m.prototype.get = function EXPBLK_m() { } EXPBLK_m.prototype.set = function EXPBLK_m() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/INTRP2BLK_f.js b/js/NonLinear/INTRP2BLK_f.js index 4bdc3f25..b5eb2a08 100644 --- a/js/NonLinear/INTRP2BLK_f.js +++ b/js/NonLinear/INTRP2BLK_f.js @@ -23,6 +23,9 @@ function INTRP2BLK_f() { INTRP2BLK_f.prototype.get = function INTRP2BLK_f() { } INTRP2BLK_f.prototype.set = function INTRP2BLK_f() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.c = parseFloat((arguments[0]["c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/INTRPLBLK_f.js b/js/NonLinear/INTRPLBLK_f.js index 53e12461..624cd5be 100644 --- a/js/NonLinear/INTRPLBLK_f.js +++ b/js/NonLinear/INTRPLBLK_f.js @@ -21,6 +21,8 @@ function INTRPLBLK_f() { INTRPLBLK_f.prototype.get = function INTRPLBLK_f() { } INTRPLBLK_f.prototype.set = function INTRPLBLK_f() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/LOGBLK_f.js b/js/NonLinear/LOGBLK_f.js index 359068b9..b969d220 100644 --- a/js/NonLinear/LOGBLK_f.js +++ b/js/NonLinear/LOGBLK_f.js @@ -21,6 +21,7 @@ function LOGBLK_f() { LOGBLK_f.prototype.get = function LOGBLK_f() { } LOGBLK_f.prototype.set = function LOGBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/LOOKUP2D.js b/js/NonLinear/LOOKUP2D.js index a5de1b4d..23558d4a 100644 --- a/js/NonLinear/LOOKUP2D.js +++ b/js/NonLinear/LOOKUP2D.js @@ -27,6 +27,11 @@ function LOOKUP2D() { LOOKUP2D.prototype.get = function LOOKUP2D() { } LOOKUP2D.prototype.set = function LOOKUP2D() { + this.xx = parseFloat((arguments[0]["xx"])) + this.yy = parseFloat((arguments[0]["yy"])) + this.zz = parseFloat((arguments[0]["zz"])) + this.Method = parseFloat((arguments[0]["Method"])) + this.graf = parseFloat((arguments[0]["graf"])) this.x = arg1; model = arg1.model; graphics = arg1.graphics; diff --git a/js/NonLinear/MAXMIN.js b/js/NonLinear/MAXMIN.js index 17a6e8ee..4db80f20 100644 --- a/js/NonLinear/MAXMIN.js +++ b/js/NonLinear/MAXMIN.js @@ -20,6 +20,9 @@ function MAXMIN() { MAXMIN.prototype.get = function MAXMIN() { } MAXMIN.prototype.set = function MAXMIN() { + this.mm = parseFloat((arguments[0]["mm"])) + this.nin = parseFloat((arguments[0]["nin"])) + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/POWBLK_f.js b/js/NonLinear/POWBLK_f.js index 302238de..98aea55e 100644 --- a/js/NonLinear/POWBLK_f.js +++ b/js/NonLinear/POWBLK_f.js @@ -21,6 +21,7 @@ function POWBLK_f() { POWBLK_f.prototype.get = function POWBLK_f() { } POWBLK_f.prototype.set = function POWBLK_f() { + this.a = parseFloat((arguments[0]["a"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/PRODUCT.js b/js/NonLinear/PRODUCT.js index a16b0380..12d6d329 100644 --- a/js/NonLinear/PRODUCT.js +++ b/js/NonLinear/PRODUCT.js @@ -20,6 +20,7 @@ function PRODUCT() { PRODUCT.prototype.get = function PRODUCT() { } PRODUCT.prototype.set = function PRODUCT() { + this.sgn = parseFloat((arguments[0]["sgn"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/NonLinear/QUANT_f.js b/js/NonLinear/QUANT_f.js index bb7f487a..46e78e40 100644 --- a/js/NonLinear/QUANT_f.js +++ b/js/NonLinear/QUANT_f.js @@ -22,6 +22,8 @@ function QUANT_f() { QUANT_f.prototype.get = function QUANT_f() { } QUANT_f.prototype.set = function QUANT_f() { + this.pas = parseFloat((arguments[0]["pas"])) + this.meth = parseFloat((arguments[0]["meth"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SATURATION.js b/js/NonLinear/SATURATION.js index dd9022c5..efc3b9f2 100644 --- a/js/NonLinear/SATURATION.js +++ b/js/NonLinear/SATURATION.js @@ -24,6 +24,9 @@ function SATURATION() { SATURATION.prototype.get = function SATURATION() { } SATURATION.prototype.set = function SATURATION() { + this.maxp = parseFloat((arguments[0]["maxp"])) + this.minp = parseFloat((arguments[0]["minp"])) + this.zeroc = parseFloat((arguments[0]["zeroc"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SAT_f.js b/js/NonLinear/SAT_f.js index ce87f450..55d66f3d 100644 --- a/js/NonLinear/SAT_f.js +++ b/js/NonLinear/SAT_f.js @@ -24,6 +24,9 @@ function SAT_f() { SAT_f.prototype.get = function SAT_f() { } SAT_f.prototype.set = function SAT_f() { + this.minp = parseFloat((arguments[0]["minp"])) + this.maxp = parseFloat((arguments[0]["maxp"])) + this.pente = parseFloat((arguments[0]["pente"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/SIGNUM.js b/js/NonLinear/SIGNUM.js index 2f5e5033..7776dbc7 100644 --- a/js/NonLinear/SIGNUM.js +++ b/js/NonLinear/SIGNUM.js @@ -21,6 +21,7 @@ function SIGNUM() { SIGNUM.prototype.get = function SIGNUM() { } SIGNUM.prototype.set = function SIGNUM() { + this.zcr = parseFloat((arguments[0]["zcr"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/NonLinear/TrigFun.js b/js/NonLinear/TrigFun.js index fbc3d85f..599301fa 100644 --- a/js/NonLinear/TrigFun.js +++ b/js/NonLinear/TrigFun.js @@ -18,6 +18,7 @@ function TrigFun() { TrigFun.prototype.get = function TrigFun() { } TrigFun.prototype.set = function TrigFun() { + this.fun = parseFloat((arguments[0]["fun"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js index 4ddc1bc2..3de9ff0d 100644 --- a/js/PDE/PDE.js +++ b/js/PDE/PDE.js @@ -20,6 +20,9 @@ function PDE() { PDE.prototype.get = function PDE() { } PDE.prototype.set = function PDE() { + this.okk = parseFloat((arguments[0]["okk"])) + this.rdnom = parseFloat((arguments[0]["rdnom"])) + this.lab = parseFloat((arguments[0]["lab"])) this.x = arg1; graphics = arg1.graphics; label = graphics.exprs; diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index a7e39e33..79ef964a 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -29,6 +29,13 @@ function AFFICH_m() { AFFICH_m.prototype.get = function AFFICH_m() { } AFFICH_m.prototype.set = function AFFICH_m() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.font = parseFloat((arguments[0]["font"])) + this.fontsize = parseFloat((arguments[0]["fontsize"])) + this.colr = parseFloat((arguments[0]["colr"])) + this.nt = parseFloat((arguments[0]["nt"])) + this.nd = parseFloat((arguments[0]["nd"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index ccbcdd2c..fcf1dec4 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -27,6 +27,11 @@ function BARXY() { BARXY.prototype.get = function BARXY() { } BARXY.prototype.set = function BARXY() { + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.thickness = parseFloat((arguments[0]["thickness"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 8db9da6b..3d9e9164 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -34,6 +34,17 @@ function CANIMXY() { CANIMXY.prototype.get = function CANIMXY() { } CANIMXY.prototype.set = function CANIMXY() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index 461c73d6..27522472 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -34,6 +34,17 @@ function CANIMXY3D() { CANIMXY3D.prototype.get = function CANIMXY3D() { } CANIMXY3D.prototype.set = function CANIMXY3D() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.vec_z = parseFloat((arguments[0]["vec_z"])) + this.param3ds = parseFloat((arguments[0]["param3ds"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index 373a49c8..ced61867 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -25,6 +25,12 @@ function CEVENTSCOPE() { CEVENTSCOPE.prototype.get = function CEVENTSCOPE() { } CEVENTSCOPE.prototype.set = function CEVENTSCOPE() { + this.nclock = parseFloat((arguments[0]["nclock"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.per = parseFloat((arguments[0]["per"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index 31ceb57d..a72ba558 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -27,6 +27,15 @@ function CFSCOPE() { CFSCOPE.prototype.get = function CFSCOPE() { } CFSCOPE.prototype.set = function CFSCOPE() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.wu = parseFloat((arguments[0]["wu"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index 1ea3d9f1..eaa54202 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -19,6 +19,7 @@ function CLKOUTV_f() { CLKOUTV_f.prototype.get = function CLKOUTV_f() { } CLKOUTV_f.prototype.set = function CLKOUTV_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index f8dfa5b7..69a14fd9 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -19,6 +19,7 @@ function CLKOUT_f() { CLKOUT_f.prototype.get = function CLKOUT_f() { } CLKOUT_f.prototype.set = function CLKOUT_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index f85f7f04..8e3b6f1d 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -30,6 +30,11 @@ function CMAT3D() { CMAT3D.prototype.get = function CMAT3D() { } CMAT3D.prototype.set = function CMAT3D() { + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.colormap = parseFloat((arguments[0]["colormap"])) + this.cmin = parseFloat((arguments[0]["cmin"])) + this.cmax = parseFloat((arguments[0]["cmax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index c3fe03e6..faacf6a6 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -28,6 +28,9 @@ function CMATVIEW() { CMATVIEW.prototype.get = function CMATVIEW() { } CMATVIEW.prototype.set = function CMATVIEW() { + this.colormap = parseFloat((arguments[0]["colormap"])) + this.cmin = parseFloat((arguments[0]["cmin"])) + this.cmax = parseFloat((arguments[0]["cmax"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index e6c6cacd..808048b7 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -33,6 +33,17 @@ function CMSCOPE() { CMSCOPE.prototype.get = function CMSCOPE() { } CMSCOPE.prototype.set = function CMSCOPE() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.heritance = parseFloat((arguments[0]["heritance"])) + this.nom = parseFloat((arguments[0]["nom"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 9bb01b2d..59abdde9 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -29,6 +29,16 @@ function CSCOPE() { CSCOPE.prototype.get = function CSCOPE() { } CSCOPE.prototype.set = function CSCOPE() { + this.clrs = parseFloat((arguments[0]["clrs"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.per = parseFloat((arguments[0]["per"])) + this.N = parseFloat((arguments[0]["N"])) + this.heritance = parseFloat((arguments[0]["heritance"])) + this.nom = parseFloat((arguments[0]["nom"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index 6e0d822f..dc48ef4c 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -33,6 +33,17 @@ function CSCOPXY() { CSCOPXY.prototype.get = function CSCOPXY() { } CSCOPXY.prototype.set = function CSCOPXY() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.xmin = parseFloat((arguments[0]["xmin"])) + this.xmax = parseFloat((arguments[0]["xmax"])) + this.ymin = parseFloat((arguments[0]["ymin"])) + this.ymax = parseFloat((arguments[0]["ymax"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index bd37fad7..8a3d8194 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -33,6 +33,17 @@ function CSCOPXY3D() { CSCOPXY3D.prototype.get = function CSCOPXY3D() { } CSCOPXY3D.prototype.set = function CSCOPXY3D() { + this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) + this.clrs = parseFloat((arguments[0]["clrs"])) + this.siz = parseFloat((arguments[0]["siz"])) + this.win = parseFloat((arguments[0]["win"])) + this.wpos = parseFloat((arguments[0]["wpos"])) + this.wdim = parseFloat((arguments[0]["wdim"])) + this.vec_x = parseFloat((arguments[0]["vec_x"])) + this.vec_y = parseFloat((arguments[0]["vec_y"])) + this.vec_z = parseFloat((arguments[0]["vec_z"])) + this.param3ds = parseFloat((arguments[0]["param3ds"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index a2221a9f..43983463 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -25,6 +25,7 @@ function OUTIMPL_f() { OUTIMPL_f.prototype.get = function OUTIMPL_f() { } OUTIMPL_f.prototype.set = function OUTIMPL_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index d4589600..cd61ebed 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -22,6 +22,7 @@ function OUT_f() { OUT_f.prototype.get = function OUT_f() { } OUT_f.prototype.set = function OUT_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index d1c87f8a..ddb6f956 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -29,6 +29,9 @@ function TOWS_c() { TOWS_c.prototype.get = function TOWS_c() { } TOWS_c.prototype.set = function TOWS_c() { + this.nz = parseFloat((arguments[0]["nz"])) + this.varnam = parseFloat((arguments[0]["varnam"])) + this.herit = parseFloat((arguments[0]["herit"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index 4c4d6b5d..5f9b0db1 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -26,6 +26,10 @@ function WFILE_f() { WFILE_f.prototype.get = function WFILE_f() { } WFILE_f.prototype.set = function WFILE_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) warnobsolete("WRITEC_f","6.0.0"); warnMessage = msprintf(_("Feature %s is obsolete."),"WFILE_f"); warnAdvise = msprintf(_("Please use %s instead."),"WRITEC_f"); diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index a2955b5e..7e4aa19c 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -27,6 +27,8 @@ function WRITEAU_f() { WRITEAU_f.prototype.get = function WRITEAU_f() { } WRITEAU_f.prototype.set = function WRITEAU_f() { + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 3ad4b663..8d330cec 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -27,6 +27,11 @@ function WRITEC_f() { WRITEC_f.prototype.get = function WRITEC_f() { } WRITEC_f.prototype.set = function WRITEC_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js index 7f113ea9..138a6595 100644 --- a/js/Sources/CLKINV_f.js +++ b/js/Sources/CLKINV_f.js @@ -20,6 +20,7 @@ function CLKINV_f() { CLKINV_f.prototype.get = function CLKINV_f() { } CLKINV_f.prototype.set = function CLKINV_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index 8f1f7db5..fe9a5ee5 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -19,6 +19,7 @@ function CLKIN_f() { CLKIN_f.prototype.get = function CLKIN_f() { } CLKIN_f.prototype.set = function CLKIN_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index c38b27a3..a9dcb24b 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -48,6 +48,9 @@ function CLOCK_c() { CLOCK_c.prototype.get = function CLOCK_c() { } CLOCK_c.prototype.set = function CLOCK_c() { + this.dt = parseFloat((arguments[0]["dt"])) + this.t0 = parseFloat((arguments[0]["t0"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_c") { diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index b76fb219..65923bd4 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -48,6 +48,9 @@ function CLOCK_f() { CLOCK_f.prototype.get = function CLOCK_f() { } CLOCK_f.prototype.set = function CLOCK_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.t0 = parseFloat((arguments[0]["t0"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") { diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index 751ef000..5d5498a4 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -20,6 +20,7 @@ function CONST() { CONST.prototype.get = function CONST() { } CONST.prototype.set = function CONST() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index c5ed3881..000f332c 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -20,6 +20,7 @@ function CONST_f() { CONST_f.prototype.get = function CONST_f() { } CONST_f.prototype.set = function CONST_f() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index e64b22f4..90e3c14a 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -23,6 +23,7 @@ function CONST_m() { CONST_m.prototype.get = function CONST_m() { } CONST_m.prototype.set = function CONST_m() { + this.C = parseFloat((arguments[0]["C"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js index 0221ef97..03ac765c 100644 --- a/js/Sources/Counter.js +++ b/js/Sources/Counter.js @@ -24,6 +24,9 @@ function Counter() { Counter.prototype.get = function Counter() { } Counter.prototype.set = function Counter() { + this.minim = parseFloat((arguments[0]["minim"])) + this.maxim = parseFloat((arguments[0]["maxim"])) + this.rule = parseFloat((arguments[0]["rule"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js index cbf5dbba..382e0ec2 100644 --- a/js/Sources/FROMWS_c.js +++ b/js/Sources/FROMWS_c.js @@ -27,6 +27,10 @@ function FROMWS_c() { FROMWS_c.prototype.get = function FROMWS_c() { } FROMWS_c.prototype.set = function FROMWS_c() { + this.varnam = parseFloat((arguments[0]["varnam"])) + this.Method = parseFloat((arguments[0]["Method"])) + this.ZC = parseFloat((arguments[0]["ZC"])) + this.OutEnd = parseFloat((arguments[0]["OutEnd"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js index ac65c58c..5cae8903 100644 --- a/js/Sources/GENSIN_f.js +++ b/js/Sources/GENSIN_f.js @@ -22,6 +22,9 @@ function GENSIN_f() { GENSIN_f.prototype.get = function GENSIN_f() { } GENSIN_f.prototype.set = function GENSIN_f() { + this.M = parseFloat((arguments[0]["M"])) + this.F = parseFloat((arguments[0]["F"])) + this.P = parseFloat((arguments[0]["P"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js index 5f3895f8..c3006a1e 100644 --- a/js/Sources/GENSQR_f.js +++ b/js/Sources/GENSQR_f.js @@ -22,6 +22,7 @@ function GENSQR_f() { GENSQR_f.prototype.get = function GENSQR_f() { } GENSQR_f.prototype.set = function GENSQR_f() { + this.Amplitude = parseFloat((arguments[0]["Amplitude"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index ef910eed..084a846f 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -56,6 +56,10 @@ function GEN_SQR() { GEN_SQR.prototype.get = function GEN_SQR() { } GEN_SQR.prototype.set = function GEN_SQR() { + scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"])) + scicos_context.Amax = parseFloat((arguments[0]["scicos_context.Amax"])) + scicos_context.rule = parseFloat((arguments[0]["scicos_context.rule"])) + scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) y = this.needcompile; arg1.model.ipar = 1; typ = list(); diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index e919c08e..92b4a156 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -25,6 +25,7 @@ function INIMPL_f() { INIMPL_f.prototype.get = function INIMPL_f() { } INIMPL_f.prototype.set = function INIMPL_f() { + this.prt = parseFloat((arguments[0]["prt"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js index 0d60834d..62e4bf6c 100644 --- a/js/Sources/Modulo_Count.js +++ b/js/Sources/Modulo_Count.js @@ -22,6 +22,8 @@ function Modulo_Count() { Modulo_Count.prototype.get = function Modulo_Count() { } Modulo_Count.prototype.set = function Modulo_Count() { + this.ini_c = parseFloat((arguments[0]["ini_c"])) + this.base = parseFloat((arguments[0]["base"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index acac3f81..cd17f3bc 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -51,6 +51,10 @@ function PULSE_SC() { PULSE_SC.prototype.get = function PULSE_SC() { } PULSE_SC.prototype.set = function PULSE_SC() { + scicos_context.E = parseFloat((arguments[0]["scicos_context.E"])) + scicos_context.W = parseFloat((arguments[0]["scicos_context.W"])) + scicos_context.F = parseFloat((arguments[0]["scicos_context.F"])) + scicos_context.A = parseFloat((arguments[0]["scicos_context.A"])) y = this.needcompile; arg1.model.ipar = 1; typ = list(); diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js index 047f29f3..5e429bd8 100644 --- a/js/Sources/RAMP.js +++ b/js/Sources/RAMP.js @@ -25,6 +25,9 @@ function RAMP() { RAMP.prototype.get = function RAMP() { } RAMP.prototype.set = function RAMP() { + this.slope = parseFloat((arguments[0]["slope"])) + this.stt = parseFloat((arguments[0]["stt"])) + this.iout = parseFloat((arguments[0]["iout"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js index ab0c3a0d..638a08c9 100644 --- a/js/Sources/RAND_f.js +++ b/js/Sources/RAND_f.js @@ -26,6 +26,10 @@ function RAND_f() { RAND_f.prototype.get = function RAND_f() { } RAND_f.prototype.set = function RAND_f() { + this.flag = parseFloat((arguments[0]["flag"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.seed_c = parseFloat((arguments[0]["seed_c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js index e7a6efb8..c0f87ff2 100644 --- a/js/Sources/RAND_m.js +++ b/js/Sources/RAND_m.js @@ -35,6 +35,11 @@ function RAND_m() { RAND_m.prototype.get = function RAND_m() { } RAND_m.prototype.set = function RAND_m() { + this.typ = parseFloat((arguments[0]["typ"])) + this.flag = parseFloat((arguments[0]["flag"])) + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.seed_c = parseFloat((arguments[0]["seed_c"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js index a4dd1f95..b06727e7 100644 --- a/js/Sources/READAU_f.js +++ b/js/Sources/READAU_f.js @@ -31,6 +31,9 @@ function READAU_f() { READAU_f.prototype.get = function READAU_f() { } READAU_f.prototype.set = function READAU_f() { + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.N = parseFloat((arguments[0]["N"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index d1f40567..61ae9642 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -35,6 +35,14 @@ function READC_f() { READC_f.prototype.get = function READC_f() { } READC_f.prototype.set = function READC_f() { + this.tmask1 = parseFloat((arguments[0]["tmask1"])) + this.outmask = parseFloat((arguments[0]["outmask"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.M = parseFloat((arguments[0]["M"])) + this.N = parseFloat((arguments[0]["N"])) + this.offset = parseFloat((arguments[0]["offset"])) + this.swap = parseFloat((arguments[0]["swap"])) this.x = arg1; model = this.x.model; graphics = arg1.graphics; diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js index 8b39f51d..8cadb526 100644 --- a/js/Sources/RFILE_f.js +++ b/js/Sources/RFILE_f.js @@ -31,6 +31,11 @@ function RFILE_f() { RFILE_f.prototype.get = function RFILE_f() { } RFILE_f.prototype.set = function RFILE_f() { + this.tmask1 = parseFloat((arguments[0]["tmask1"])) + this.outmask = parseFloat((arguments[0]["outmask"])) + this.fname1 = parseFloat((arguments[0]["fname1"])) + this.frmt1 = parseFloat((arguments[0]["frmt1"])) + this.N = parseFloat((arguments[0]["N"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 8961de2e..50b6dfdb 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -24,6 +24,9 @@ function STEP() { STEP.prototype.get = function STEP() { } STEP.prototype.set = function STEP() { + this.temps = parseFloat((arguments[0]["temps"])) + this.in1 = parseFloat((arguments[0]["in1"])) + this.fi = parseFloat((arguments[0]["fi"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js index e79d4191..2d21aed7 100644 --- a/js/Sources/SampleCLK.js +++ b/js/Sources/SampleCLK.js @@ -18,6 +18,8 @@ function SampleCLK() { SampleCLK.prototype.get = function SampleCLK() { } SampleCLK.prototype.set = function SampleCLK() { + this.frequ = parseFloat((arguments[0]["frequ"])) + this.offset = parseFloat((arguments[0]["offset"])) this.x = arg1; graphics = arg1.graphics; model = arg1.model; diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js index 7581ef29..8247c517 100644 --- a/js/Sources/TKSCALE.js +++ b/js/Sources/TKSCALE.js @@ -22,6 +22,9 @@ function TKSCALE() { TKSCALE.prototype.get = function TKSCALE() { } TKSCALE.prototype.set = function TKSCALE() { + this.a = parseFloat((arguments[0]["a"])) + this.b = parseFloat((arguments[0]["b"])) + this.f = parseFloat((arguments[0]["f"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Threshold/GENERAL_f.js b/js/Threshold/GENERAL_f.js index a4478629..14bf576d 100644 --- a/js/Threshold/GENERAL_f.js +++ b/js/Threshold/GENERAL_f.js @@ -24,6 +24,8 @@ function GENERAL_f() { GENERAL_f.prototype.get = function GENERAL_f() { } GENERAL_f.prototype.set = function GENERAL_f() { + this.in1 = parseFloat((arguments[0]["in1"])) + this.out = parseFloat((arguments[0]["out"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/js/Threshold/ZCROSS_f.js b/js/Threshold/ZCROSS_f.js index cc2b6c08..1e029aee 100644 --- a/js/Threshold/ZCROSS_f.js +++ b/js/Threshold/ZCROSS_f.js @@ -23,6 +23,7 @@ function ZCROSS_f() { ZCROSS_f.prototype.get = function ZCROSS_f() { } ZCROSS_f.prototype.set = function ZCROSS_f() { + this.in1 = parseFloat((arguments[0]["in1"])) this.x = arg1; graphics = arg1.graphics; exprs = graphics.exprs; diff --git a/sci2jsyacc.py b/sci2jsyacc.py index 52ccbb2e..7bd01ed9 100755 --- a/sci2jsyacc.py +++ b/sci2jsyacc.py @@ -83,8 +83,7 @@ def p_jobfunctionblock_jobfunctionstatement_statementblock_endfunction(p): jgetoutputs = '%s%s.prototype.getoutputs = function %s() {\n%s%s}\n' % (indent, fname, fname, jgetoutputs, indent) if jplot != '': jplot = '%s%s.prototype.plot = function %s() {\n%s%s}\n' % (indent, fname, fname, jplot, indent) - jset = '%s%s.prototype.set = function %s() {\n%s%*sreturn new %s(this.x);\n%s}\n' % (indent, fname, fname, jset, INDENT_LEVEL * INDENT_SIZE, ' ', blocktype, indent) - #jset = '%s%s.prototype.set = function %s() {\n%s%s%*sreturn new %s(this.x);\n%s}\n' % (indent, fname, fname, SET_BLOCK, jset, INDENT_LEVEL * INDENT_SIZE, ' ', blocktype, indent) + jset = '%s%s.prototype.set = function %s() {\n%s%s%*sreturn new %s(this.x);\n%s}\n' % (indent, fname, fname, SET_BLOCK, jset, INDENT_LEVEL * INDENT_SIZE, ' ', blocktype, indent) INDENT_LEVEL -= 1 p[0] = 'function %s() {\n%s%s%s%s%s%s%s%s}' % (fname, jdefine, jdetails, jget, jset, jgetinputs, jgetorigin, jgetoutputs, jplot) @@ -480,7 +479,7 @@ def p_getvalueassignment_getvalue_arguments(p): basevar = var if var not in GLOBAL_VARS: GLOBAL_VARS.add(var) - SET_BLOCK += "%*s%s = parseFloat((arguments[%d][\"%s\"]))\n" % (INDENT_LEVEL * INDENT_SIZE, ' ', var, 0, basevar) + SET_BLOCK += "%*s%s = parseFloat((arguments[%d][\"%s\"]))\n" % (2 * INDENT_SIZE, ' ', var, 0, basevar) def p_getvaluearguments_arg1_arg2_arg3_arg4(p): 'getvaluearguments : getvaluearg1 COMMA getvaluearg2 COMMA getvaluearg3 COMMA getvaluearg4' @@ -527,7 +526,7 @@ def p_getvaluearg2arraylistitem_string(p): def p_getvaluearg2arraylistitem_string_string(p): 'getvaluearg2arraylistitem : DQSTRING ADDITION DQSTRING' - p[0] = '%s%s%s' % (p[1], p[2], p[3]) + p[0] = '%s%s' % (p[1][:-1], p[3][1:]) def p_getvaluearg2arraylistitem_functionname_parameters(p): 'getvaluearg2arraylistitem : FUNCTIONNAME OPENBRACKET list CLOSEBRACKET' -- cgit