diff options
Diffstat (limited to 'js/Sources')
-rw-r--r-- | js/Sources/CLKINV_f.js | 1 | ||||
-rw-r--r-- | js/Sources/CLKIN_f.js | 1 | ||||
-rw-r--r-- | js/Sources/CLOCK_c.js | 3 | ||||
-rw-r--r-- | js/Sources/CLOCK_f.js | 3 | ||||
-rw-r--r-- | js/Sources/CONST.js | 1 | ||||
-rw-r--r-- | js/Sources/CONST_f.js | 1 | ||||
-rw-r--r-- | js/Sources/CONST_m.js | 1 | ||||
-rw-r--r-- | js/Sources/Counter.js | 3 | ||||
-rw-r--r-- | js/Sources/FROMWS_c.js | 4 | ||||
-rw-r--r-- | js/Sources/GENSIN_f.js | 3 | ||||
-rw-r--r-- | js/Sources/GENSQR_f.js | 1 | ||||
-rw-r--r-- | js/Sources/GEN_SQR.js | 4 | ||||
-rw-r--r-- | js/Sources/INIMPL_f.js | 1 | ||||
-rw-r--r-- | js/Sources/Modulo_Count.js | 2 | ||||
-rw-r--r-- | js/Sources/PULSE_SC.js | 4 | ||||
-rw-r--r-- | js/Sources/RAMP.js | 3 | ||||
-rw-r--r-- | js/Sources/RAND_f.js | 4 | ||||
-rw-r--r-- | js/Sources/RAND_m.js | 5 | ||||
-rw-r--r-- | js/Sources/READAU_f.js | 3 | ||||
-rw-r--r-- | js/Sources/READC_f.js | 8 | ||||
-rw-r--r-- | js/Sources/RFILE_f.js | 5 | ||||
-rw-r--r-- | js/Sources/STEP.js | 3 | ||||
-rw-r--r-- | js/Sources/SampleCLK.js | 2 | ||||
-rw-r--r-- | js/Sources/TKSCALE.js | 3 |
24 files changed, 69 insertions, 0 deletions
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; |