diff options
author | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-07-02 22:51:03 +0530 |
commit | ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch) | |
tree | 6a07bd0428e542567726ff7325fcb71203ad6d15 /js/Sources | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Sources')
32 files changed, 149 insertions, 0 deletions
diff --git a/js/Sources/CLKINV_f.js b/js/Sources/CLKINV_f.js index 138a6595..8a10a229 100644 --- a/js/Sources/CLKINV_f.js +++ b/js/Sources/CLKINV_f.js @@ -18,6 +18,9 @@ function CLKINV_f() { return this.x; } CLKINV_f.prototype.get = function CLKINV_f() { + var options = { + } + return options; } CLKINV_f.prototype.set = function CLKINV_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sources/CLKIN_f.js b/js/Sources/CLKIN_f.js index fe9a5ee5..ff42d1da 100644 --- a/js/Sources/CLKIN_f.js +++ b/js/Sources/CLKIN_f.js @@ -17,6 +17,9 @@ function CLKIN_f() { return this.x; } CLKIN_f.prototype.get = function CLKIN_f() { + var options = { + } + return options; } CLKIN_f.prototype.set = function CLKIN_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sources/CLOCK_c.js b/js/Sources/CLOCK_c.js index a9dcb24b..9635ac4c 100644 --- a/js/Sources/CLOCK_c.js +++ b/js/Sources/CLOCK_c.js @@ -46,6 +46,11 @@ function CLOCK_c() { return this.x; } CLOCK_c.prototype.get = function CLOCK_c() { + var options = { + dt:["Period",this.dt], + t0:["Initialisation Time",this.t0], + } + return options; } CLOCK_c.prototype.set = function CLOCK_c() { this.dt = parseFloat((arguments[0]["dt"])) diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index 65923bd4..7ef76e89 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -46,6 +46,11 @@ function CLOCK_f() { return this.x; } CLOCK_f.prototype.get = function CLOCK_f() { + var options = { + dt:["Period",this.dt], + t0:["Init time",this.t0], + } + return options; } CLOCK_f.prototype.set = function CLOCK_f() { this.dt = parseFloat((arguments[0]["dt"])) diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js index 5d5498a4..de7dd51a 100644 --- a/js/Sources/CONST.js +++ b/js/Sources/CONST.js @@ -18,6 +18,9 @@ function CONST() { return this.x; } CONST.prototype.get = function CONST() { + var options = { + } + return options; } CONST.prototype.set = function CONST() { this.C = parseFloat((arguments[0]["C"])) diff --git a/js/Sources/CONST_f.js b/js/Sources/CONST_f.js index 000f332c..f6a3306d 100644 --- a/js/Sources/CONST_f.js +++ b/js/Sources/CONST_f.js @@ -18,6 +18,9 @@ function CONST_f() { return this.x; } CONST_f.prototype.get = function CONST_f() { + var options = { + } + return options; } CONST_f.prototype.set = function CONST_f() { this.C = parseFloat((arguments[0]["C"])) diff --git a/js/Sources/CONST_m.js b/js/Sources/CONST_m.js index 90e3c14a..d53e0870 100644 --- a/js/Sources/CONST_m.js +++ b/js/Sources/CONST_m.js @@ -21,6 +21,9 @@ function CONST_m() { return this.x; } CONST_m.prototype.get = function CONST_m() { + var options = { + } + return options; } CONST_m.prototype.set = function CONST_m() { this.C = parseFloat((arguments[0]["C"])) diff --git a/js/Sources/CURV_f.js b/js/Sources/CURV_f.js index a12186e0..f3d042a8 100644 --- a/js/Sources/CURV_f.js +++ b/js/Sources/CURV_f.js @@ -23,6 +23,9 @@ function CURV_f() { return this.x; } CURV_f.prototype.get = function CURV_f() { + var options = { + } + return options; } CURV_f.prototype.set = function CURV_f() { this.x = arg1; diff --git a/js/Sources/Counter.js b/js/Sources/Counter.js index 03ac765c..64d87996 100644 --- a/js/Sources/Counter.js +++ b/js/Sources/Counter.js @@ -22,6 +22,12 @@ function Counter() { return this.x; } Counter.prototype.get = function Counter() { + var options = { + minim:["Minimum",this.minim], + maxim:["Maximum",this.maxim], + rule:["Rule (1:Increment, 2:Decrement)",this.rule], + } + return options; } Counter.prototype.set = function Counter() { this.minim = parseFloat((arguments[0]["minim"])) diff --git a/js/Sources/FROMWSB.js b/js/Sources/FROMWSB.js index 7f2a3088..3645aad4 100644 --- a/js/Sources/FROMWSB.js +++ b/js/Sources/FROMWSB.js @@ -15,6 +15,9 @@ function FROMWSB() { return this.x; } FROMWSB.prototype.get = function FROMWSB() { + var options = { + } + return options; } FROMWSB.prototype.set = function FROMWSB() { for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { diff --git a/js/Sources/FROMWS_c.js b/js/Sources/FROMWS_c.js index 382e0ec2..01d4c245 100644 --- a/js/Sources/FROMWS_c.js +++ b/js/Sources/FROMWS_c.js @@ -25,6 +25,13 @@ function FROMWS_c() { return this.x; } FROMWS_c.prototype.get = function FROMWS_c() { + var options = { + varnam:["Variable name",this.varnam], + Method:["Interpolation Method",this.Method], + ZC:["Enable zero crossing(0:No, 1:Yes)?",this.ZC], + OutEnd:["Output at end(0:Zero, 1:Hold, 2:Repeat)",this.OutEnd], + } + return options; } FROMWS_c.prototype.set = function FROMWS_c() { this.varnam = parseFloat((arguments[0]["varnam"])) diff --git a/js/Sources/GENSIN_f.js b/js/Sources/GENSIN_f.js index 5cae8903..00fda26a 100644 --- a/js/Sources/GENSIN_f.js +++ b/js/Sources/GENSIN_f.js @@ -20,6 +20,12 @@ function GENSIN_f() { return this.x; } GENSIN_f.prototype.get = function GENSIN_f() { + var options = { + M:["Magnitude",this.M], + F:["Frequency (rad/s)",this.F], + P:["Phase (rad)",this.P], + } + return options; } GENSIN_f.prototype.set = function GENSIN_f() { this.M = parseFloat((arguments[0]["M"])) diff --git a/js/Sources/GENSQR_f.js b/js/Sources/GENSQR_f.js index c3006a1e..6839e96a 100644 --- a/js/Sources/GENSQR_f.js +++ b/js/Sources/GENSQR_f.js @@ -20,6 +20,10 @@ function GENSQR_f() { return this.x; } GENSQR_f.prototype.get = function GENSQR_f() { + var options = { + Amplitude:["Amplitude",this.Amplitude], + } + return options; } GENSQR_f.prototype.set = function GENSQR_f() { this.Amplitude = parseFloat((arguments[0]["Amplitude"])) diff --git a/js/Sources/GEN_SQR.js b/js/Sources/GEN_SQR.js index 084a846f..39a3ec95 100644 --- a/js/Sources/GEN_SQR.js +++ b/js/Sources/GEN_SQR.js @@ -54,6 +54,9 @@ function GEN_SQR() { return this.x; } GEN_SQR.prototype.get = function GEN_SQR() { + var options = { + } + return options; } GEN_SQR.prototype.set = function GEN_SQR() { scicos_context.Amin = parseFloat((arguments[0]["scicos_context.Amin"])) diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js index 896029af..686c27a7 100644 --- a/js/Sources/Ground_g.js +++ b/js/Sources/Ground_g.js @@ -22,6 +22,9 @@ function Ground_g() { return this.x; } Ground_g.prototype.get = function Ground_g() { + var options = { + } + return options; } Ground_g.prototype.set = function Ground_g() { this.x = arg1; diff --git a/js/Sources/INIMPL_f.js b/js/Sources/INIMPL_f.js index 92b4a156..16e681a2 100644 --- a/js/Sources/INIMPL_f.js +++ b/js/Sources/INIMPL_f.js @@ -23,6 +23,9 @@ function INIMPL_f() { return this.x; } INIMPL_f.prototype.get = function INIMPL_f() { + var options = { + } + return options; } INIMPL_f.prototype.set = function INIMPL_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sources/IN_f.js b/js/Sources/IN_f.js index 5c6512de..35abf0bb 100644 --- a/js/Sources/IN_f.js +++ b/js/Sources/IN_f.js @@ -19,6 +19,9 @@ function IN_f() { return this.x; } IN_f.prototype.get = function IN_f() { + var options = { + } + return options; } IN_f.prototype.set = function IN_f() { this.x = arg1; diff --git a/js/Sources/Modulo_Count.js b/js/Sources/Modulo_Count.js index 62e4bf6c..9a37d409 100644 --- a/js/Sources/Modulo_Count.js +++ b/js/Sources/Modulo_Count.js @@ -20,6 +20,11 @@ function Modulo_Count() { return this.x; } Modulo_Count.prototype.get = function Modulo_Count() { + var options = { + ini_c:["Initial State (zero or positive number)",this.ini_c], + base:["Upper Limit (positive number)",this.base], + } + return options; } Modulo_Count.prototype.set = function Modulo_Count() { this.ini_c = parseFloat((arguments[0]["ini_c"])) diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js index cd17f3bc..45440f1b 100644 --- a/js/Sources/PULSE_SC.js +++ b/js/Sources/PULSE_SC.js @@ -49,6 +49,9 @@ function PULSE_SC() { return this.x; } PULSE_SC.prototype.get = function PULSE_SC() { + var options = { + } + return options; } PULSE_SC.prototype.set = function PULSE_SC() { scicos_context.E = parseFloat((arguments[0]["scicos_context.E"])) diff --git a/js/Sources/RAMP.js b/js/Sources/RAMP.js index 5e429bd8..4567458e 100644 --- a/js/Sources/RAMP.js +++ b/js/Sources/RAMP.js @@ -23,6 +23,12 @@ function RAMP() { return this.x; } RAMP.prototype.get = function RAMP() { + var options = { + slope:["Slope",this.slope], + stt:["Start Time",this.stt], + iout:["Initial Value",this.iout], + } + return options; } RAMP.prototype.set = function RAMP() { this.slope = parseFloat((arguments[0]["slope"])) diff --git a/js/Sources/RAND_f.js b/js/Sources/RAND_f.js index 638a08c9..c6bc527f 100644 --- a/js/Sources/RAND_f.js +++ b/js/Sources/RAND_f.js @@ -24,6 +24,13 @@ function RAND_f() { return this.x; } RAND_f.prototype.get = function RAND_f() { + var options = { + flag:["flag",this.flag], + a:["A",this.a], + b:["B",this.b], + seed_c:["seed",this.seed_c], + } + return options; } RAND_f.prototype.set = function RAND_f() { this.flag = parseFloat((arguments[0]["flag"])) diff --git a/js/Sources/RAND_m.js b/js/Sources/RAND_m.js index c0f87ff2..5bed49f2 100644 --- a/js/Sources/RAND_m.js +++ b/js/Sources/RAND_m.js @@ -33,6 +33,14 @@ function RAND_m() { return this.x; } RAND_m.prototype.get = function RAND_m() { + var options = { + typ:["Datatype(1=real double 2=complex)",this.typ], + flag:["flag",this.flag], + a:["A",this.a], + b:["B",this.b], + seed_c:["SEED",this.seed_c], + } + return options; } RAND_m.prototype.set = function RAND_m() { this.typ = parseFloat((arguments[0]["typ"])) diff --git a/js/Sources/READAU_f.js b/js/Sources/READAU_f.js index b06727e7..a6d63862 100644 --- a/js/Sources/READAU_f.js +++ b/js/Sources/READAU_f.js @@ -29,6 +29,12 @@ function READAU_f() { return this.x; } READAU_f.prototype.get = function READAU_f() { + var options = { + fname1:["Input File Name",this.fname1], + N:["Buffer size",this.N], + swap:["Swap Mode (0:No, 1:Yes)",this.swap], + } + return options; } READAU_f.prototype.set = function READAU_f() { this.fname1 = parseFloat((arguments[0]["fname1"])) diff --git a/js/Sources/READC_f.js b/js/Sources/READC_f.js index 61ae9642..a22e610b 100644 --- a/js/Sources/READC_f.js +++ b/js/Sources/READC_f.js @@ -33,6 +33,17 @@ function READC_f() { return this.x; } READC_f.prototype.get = function READC_f() { + var options = { + tmask1:["Time Record Selection",this.tmask1], + outmask:["Outputs Record Selection",this.outmask], + fname1:["Input File Name",this.fname1], + frmt1:["Input Format",this.frmt1], + M:["Record Size",this.M], + N:["Buffer Size",this.N], + offset:["Initial Record Index",this.offset], + swap:["Swap Mode (0:No, 1:Yes)",this.swap], + } + return options; } READC_f.prototype.set = function READC_f() { this.tmask1 = parseFloat((arguments[0]["tmask1"])) diff --git a/js/Sources/RFILE_f.js b/js/Sources/RFILE_f.js index 8cadb526..e4a81fe2 100644 --- a/js/Sources/RFILE_f.js +++ b/js/Sources/RFILE_f.js @@ -29,6 +29,14 @@ function RFILE_f() { return this.x; } RFILE_f.prototype.get = function RFILE_f() { + var options = { + tmask1:["Time Record Selection",this.tmask1], + outmask:["Outputs Record Selection",this.outmask], + fname1:["Input File Name",this.fname1], + frmt1:["Input Format",this.frmt1], + N:["Buffer Size",this.N], + } + return options; } RFILE_f.prototype.set = function RFILE_f() { this.tmask1 = parseFloat((arguments[0]["tmask1"])) diff --git a/js/Sources/SAWTOOTH_f.js b/js/Sources/SAWTOOTH_f.js index fbfe62dc..5650778d 100644 --- a/js/Sources/SAWTOOTH_f.js +++ b/js/Sources/SAWTOOTH_f.js @@ -17,6 +17,9 @@ function SAWTOOTH_f() { return this.x; } SAWTOOTH_f.prototype.get = function SAWTOOTH_f() { + var options = { + } + return options; } SAWTOOTH_f.prototype.set = function SAWTOOTH_f() { this.x = arg1; diff --git a/js/Sources/STEP.js b/js/Sources/STEP.js index 50b6dfdb..42b032fa 100644 --- a/js/Sources/STEP.js +++ b/js/Sources/STEP.js @@ -22,6 +22,12 @@ function STEP() { return this.x; } STEP.prototype.get = function STEP() { + var options = { + temps:["Step Time",this.temps], + in1:["Initial Value",this.in1], + fi:["Final Value",this.fi], + } + return options; } STEP.prototype.set = function STEP() { this.temps = parseFloat((arguments[0]["temps"])) diff --git a/js/Sources/STEP_FUNCTION.js b/js/Sources/STEP_FUNCTION.js index a255a1fc..bc6c83da 100644 --- a/js/Sources/STEP_FUNCTION.js +++ b/js/Sources/STEP_FUNCTION.js @@ -55,6 +55,9 @@ function STEP_FUNCTION() { return this.x; } STEP_FUNCTION.prototype.get = function STEP_FUNCTION() { + var options = { + } + return options; } STEP_FUNCTION.prototype.set = function STEP_FUNCTION() { for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { diff --git a/js/Sources/SampleCLK.js b/js/Sources/SampleCLK.js index 2d21aed7..642d6bd7 100644 --- a/js/Sources/SampleCLK.js +++ b/js/Sources/SampleCLK.js @@ -16,6 +16,11 @@ function SampleCLK() { return this.x; } SampleCLK.prototype.get = function SampleCLK() { + var options = { + frequ:["Sample time",this.frequ], + offset:["Offset",this.offset], + } + return options; } SampleCLK.prototype.set = function SampleCLK() { this.frequ = parseFloat((arguments[0]["frequ"])) diff --git a/js/Sources/Sigbuilder.js b/js/Sources/Sigbuilder.js index 14a9f768..89064608 100644 --- a/js/Sources/Sigbuilder.js +++ b/js/Sources/Sigbuilder.js @@ -19,6 +19,9 @@ function Sigbuilder() { return this.x; } Sigbuilder.prototype.get = function Sigbuilder() { + var options = { + } + return options; } Sigbuilder.prototype.set = function Sigbuilder() { ppath = list(0); diff --git a/js/Sources/TIME_f.js b/js/Sources/TIME_f.js index 16793af5..e0476b40 100644 --- a/js/Sources/TIME_f.js +++ b/js/Sources/TIME_f.js @@ -14,6 +14,9 @@ function TIME_f() { return this.x; } TIME_f.prototype.get = function TIME_f() { + var options = { + } + return options; } TIME_f.prototype.set = function TIME_f() { this.x = arg1; diff --git a/js/Sources/TKSCALE.js b/js/Sources/TKSCALE.js index 8247c517..9de93dd4 100644 --- a/js/Sources/TKSCALE.js +++ b/js/Sources/TKSCALE.js @@ -20,6 +20,12 @@ function TKSCALE() { return this.x; } TKSCALE.prototype.get = function TKSCALE() { + var options = { + a:["Min value",this.a], + b:["Max value",this.b], + f:["Normalization",this.f], + } + return options; } TKSCALE.prototype.set = function TKSCALE() { this.a = parseFloat((arguments[0]["a"])) |