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/Sinks | |
parent | 5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff) | |
download | sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2 sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip |
add options block
Diffstat (limited to 'js/Sinks')
-rw-r--r-- | js/Sinks/AFFICH_m.js | 10 | ||||
-rw-r--r-- | js/Sinks/BARXY.js | 8 | ||||
-rw-r--r-- | js/Sinks/CANIMXY.js | 14 | ||||
-rw-r--r-- | js/Sinks/CANIMXY3D.js | 14 | ||||
-rw-r--r-- | js/Sinks/CEVENTSCOPE.js | 9 | ||||
-rw-r--r-- | js/Sinks/CFSCOPE.js | 12 | ||||
-rw-r--r-- | js/Sinks/CLKOUTV_f.js | 3 | ||||
-rw-r--r-- | js/Sinks/CLKOUT_f.js | 3 | ||||
-rw-r--r-- | js/Sinks/CMAT3D.js | 8 | ||||
-rw-r--r-- | js/Sinks/CMATVIEW.js | 6 | ||||
-rw-r--r-- | js/Sinks/CMSCOPE.js | 14 | ||||
-rw-r--r-- | js/Sinks/CSCOPE.js | 13 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY.js | 14 | ||||
-rw-r--r-- | js/Sinks/CSCOPXY3D.js | 14 | ||||
-rw-r--r-- | js/Sinks/OUTIMPL_f.js | 3 | ||||
-rw-r--r-- | js/Sinks/OUT_f.js | 3 | ||||
-rw-r--r-- | js/Sinks/TOWS_c.js | 6 | ||||
-rw-r--r-- | js/Sinks/TRASH_f.js | 3 | ||||
-rw-r--r-- | js/Sinks/WFILE_f.js | 7 | ||||
-rw-r--r-- | js/Sinks/WRITEAU_f.js | 5 | ||||
-rw-r--r-- | js/Sinks/WRITEC_f.js | 8 |
21 files changed, 177 insertions, 0 deletions
diff --git a/js/Sinks/AFFICH_m.js b/js/Sinks/AFFICH_m.js index 79ef964a..e13fd0ea 100644 --- a/js/Sinks/AFFICH_m.js +++ b/js/Sinks/AFFICH_m.js @@ -27,6 +27,16 @@ function AFFICH_m() { return this.x; } AFFICH_m.prototype.get = function AFFICH_m() { + var options = { + in1:["Input Size",this.in1], + font:["Font number",this.font], + fontsize:["Font size",this.fontsize], + colr:["Color",this.colr], + nt:["Total number of digits",this.nt], + nd:["Number of rational part digits",this.nd], + herit:["Block inherits (1) or not (0)",this.herit], + } + return options; } AFFICH_m.prototype.set = function AFFICH_m() { this.in1 = parseFloat((arguments[0]["in1"])) diff --git a/js/Sinks/BARXY.js b/js/Sinks/BARXY.js index fcf1dec4..657f2035 100644 --- a/js/Sinks/BARXY.js +++ b/js/Sinks/BARXY.js @@ -25,6 +25,14 @@ function BARXY() { return this.x; } BARXY.prototype.get = function BARXY() { + var options = { + xmin:["Xmin",this.xmin], + xmax:["Xmax",this.xmax], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + thickness:["Segs Thickness",this.thickness], + } + return options; } BARXY.prototype.set = function BARXY() { this.xmin = parseFloat((arguments[0]["xmin"])) diff --git a/js/Sinks/CANIMXY.js b/js/Sinks/CANIMXY.js index 3d9e9164..e946826f 100644 --- a/js/Sinks/CANIMXY.js +++ b/js/Sinks/CANIMXY.js @@ -32,6 +32,20 @@ function CANIMXY() { return this.x; } CANIMXY.prototype.get = function CANIMXY() { + var options = { + nbr_curves:["Number of Curves",this.nbr_curves], + clrs:["color (>0) or mark (<0)",this.clrs], + siz:["line or mark size",this.siz], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + xmin:["Xmin",this.xmin], + xmax:["Xmax",this.xmax], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + N:["Buffer size",this.N], + } + return options; } CANIMXY.prototype.set = function CANIMXY() { this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) diff --git a/js/Sinks/CANIMXY3D.js b/js/Sinks/CANIMXY3D.js index 27522472..24f50acb 100644 --- a/js/Sinks/CANIMXY3D.js +++ b/js/Sinks/CANIMXY3D.js @@ -32,6 +32,20 @@ function CANIMXY3D() { return this.x; } CANIMXY3D.prototype.get = function CANIMXY3D() { + var options = { + nbr_curves:["Number of curves",this.nbr_curves], + clrs:["color (>0) or mark (<0)",this.clrs], + siz:["line or mark size",this.siz], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + vec_x:["Xmin and Xmax",this.vec_x], + vec_y:["Ymin and Ymax",this.vec_y], + vec_z:["Zmin and Zmax",this.vec_z], + param3ds:["Alpha and Theta",this.param3ds], + N:["Buffer size",this.N], + } + return options; } CANIMXY3D.prototype.set = function CANIMXY3D() { this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js index ced61867..d2aebed0 100644 --- a/js/Sinks/CEVENTSCOPE.js +++ b/js/Sinks/CEVENTSCOPE.js @@ -23,6 +23,15 @@ function CEVENTSCOPE() { return this.x; } CEVENTSCOPE.prototype.get = function CEVENTSCOPE() { + var options = { + nclock:["Number of event inputs",this.nclock], + clrs:["colors c (>0) or mark (<0)",this.clrs], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + per:["Refresh period",this.per], + } + return options; } CEVENTSCOPE.prototype.set = function CEVENTSCOPE() { this.nclock = parseFloat((arguments[0]["nclock"])) diff --git a/js/Sinks/CFSCOPE.js b/js/Sinks/CFSCOPE.js index a72ba558..48595d51 100644 --- a/js/Sinks/CFSCOPE.js +++ b/js/Sinks/CFSCOPE.js @@ -25,6 +25,18 @@ function CFSCOPE() { return this.x; } CFSCOPE.prototype.get = function CFSCOPE() { + var options = { + clrs:["Color (>0) or mark (<0) vector (8 entries)",this.clrs], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + per:["Refresh period",this.per], + N:["Buffer size",this.N], + wu:["Links to view",this.wu], + } + return options; } CFSCOPE.prototype.set = function CFSCOPE() { this.clrs = parseFloat((arguments[0]["clrs"])) diff --git a/js/Sinks/CLKOUTV_f.js b/js/Sinks/CLKOUTV_f.js index eaa54202..69f7b5cb 100644 --- a/js/Sinks/CLKOUTV_f.js +++ b/js/Sinks/CLKOUTV_f.js @@ -17,6 +17,9 @@ function CLKOUTV_f() { return this.x; } CLKOUTV_f.prototype.get = function CLKOUTV_f() { + var options = { + } + return options; } CLKOUTV_f.prototype.set = function CLKOUTV_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sinks/CLKOUT_f.js b/js/Sinks/CLKOUT_f.js index 69a14fd9..4d36da39 100644 --- a/js/Sinks/CLKOUT_f.js +++ b/js/Sinks/CLKOUT_f.js @@ -17,6 +17,9 @@ function CLKOUT_f() { return this.x; } CLKOUT_f.prototype.get = function CLKOUT_f() { + var options = { + } + return options; } CLKOUT_f.prototype.set = function CLKOUT_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sinks/CMAT3D.js b/js/Sinks/CMAT3D.js index 8e3b6f1d..ea3cf4b8 100644 --- a/js/Sinks/CMAT3D.js +++ b/js/Sinks/CMAT3D.js @@ -28,6 +28,14 @@ function CMAT3D() { return this.x; } CMAT3D.prototype.get = function CMAT3D() { + var options = { + vec_x:["Bounds Vector X (-1 for standard)",this.vec_x], + vec_y:["Bounds Vector Y (-1 for standard)",this.vec_y], + colormap:["ColorMap",this.colormap], + cmin:["Zmin",this.cmin], + cmax:["Zmax",this.cmax], + } + return options; } CMAT3D.prototype.set = function CMAT3D() { this.vec_x = parseFloat((arguments[0]["vec_x"])) diff --git a/js/Sinks/CMATVIEW.js b/js/Sinks/CMATVIEW.js index faacf6a6..95a83038 100644 --- a/js/Sinks/CMATVIEW.js +++ b/js/Sinks/CMATVIEW.js @@ -26,6 +26,12 @@ function CMATVIEW() { return this.x; } CMATVIEW.prototype.get = function CMATVIEW() { + var options = { + colormap:["ColorMap",this.colormap], + cmin:["Minimum level range",this.cmin], + cmax:["Maximum level range",this.cmax], + } + return options; } CMATVIEW.prototype.set = function CMATVIEW() { this.colormap = parseFloat((arguments[0]["colormap"])) diff --git a/js/Sinks/CMSCOPE.js b/js/Sinks/CMSCOPE.js index 808048b7..c0bf502b 100644 --- a/js/Sinks/CMSCOPE.js +++ b/js/Sinks/CMSCOPE.js @@ -31,6 +31,20 @@ function CMSCOPE() { return this.x; } CMSCOPE.prototype.get = function CMSCOPE() { + var options = { + in1:["Input ports sizes",this.in1], + clrs:["Drawing colors (>0) or mark (<0)",this.clrs], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + ymin:["Ymin vector",this.ymin], + ymax:["Ymax vector",this.ymax], + per:["Refresh period",this.per], + N:["Buffer size",this.N], + heritance:["Accept herited events 0/1",this.heritance], + nom:["Name of Scope (label&Id)",this.nom], + } + return options; } CMSCOPE.prototype.set = function CMSCOPE() { this.in1 = parseFloat((arguments[0]["in1"])) diff --git a/js/Sinks/CSCOPE.js b/js/Sinks/CSCOPE.js index 59abdde9..c065910a 100644 --- a/js/Sinks/CSCOPE.js +++ b/js/Sinks/CSCOPE.js @@ -27,6 +27,19 @@ function CSCOPE() { return this.x; } CSCOPE.prototype.get = function CSCOPE() { + var options = { + clrs:["Color (>0) or mark (<0) vector (8 entries)",this.clrs], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + per:["Refresh period",this.per], + N:["Buffer size",this.N], + heritance:["Accept herited events 0/1",this.heritance], + nom:["Name of Scope (label&Id)",this.nom], + } + return options; } CSCOPE.prototype.set = function CSCOPE() { this.clrs = parseFloat((arguments[0]["clrs"])) diff --git a/js/Sinks/CSCOPXY.js b/js/Sinks/CSCOPXY.js index dc48ef4c..f0d84a05 100644 --- a/js/Sinks/CSCOPXY.js +++ b/js/Sinks/CSCOPXY.js @@ -31,6 +31,20 @@ function CSCOPXY() { return this.x; } CSCOPXY.prototype.get = function CSCOPXY() { + var options = { + nbr_curves:["Number of Curves",this.nbr_curves], + clrs:["color (>0) or mark (<0)",this.clrs], + siz:["line or mark size",this.siz], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + xmin:["Xmin",this.xmin], + xmax:["Xmax",this.xmax], + ymin:["Ymin",this.ymin], + ymax:["Ymax",this.ymax], + N:["Buffer size",this.N], + } + return options; } CSCOPXY.prototype.set = function CSCOPXY() { this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) diff --git a/js/Sinks/CSCOPXY3D.js b/js/Sinks/CSCOPXY3D.js index 8a3d8194..0f66a073 100644 --- a/js/Sinks/CSCOPXY3D.js +++ b/js/Sinks/CSCOPXY3D.js @@ -31,6 +31,20 @@ function CSCOPXY3D() { return this.x; } CSCOPXY3D.prototype.get = function CSCOPXY3D() { + var options = { + nbr_curves:["Number of curves",this.nbr_curves], + clrs:["color (>0) or mark (<0)",this.clrs], + siz:["Line or Mark Size",this.siz], + win:["Output window number (-1 for automatic)",this.win], + wpos:["Output window position",this.wpos], + wdim:["Output window sizes",this.wdim], + vec_x:["Xmin and Xmax",this.vec_x], + vec_y:["Ymin and Ymax",this.vec_y], + vec_z:["Zmin and Zmax",this.vec_z], + param3ds:["Alpha and Theta",this.param3ds], + N:["Buffer size",this.N], + } + return options; } CSCOPXY3D.prototype.set = function CSCOPXY3D() { this.nbr_curves = parseFloat((arguments[0]["nbr_curves"])) diff --git a/js/Sinks/OUTIMPL_f.js b/js/Sinks/OUTIMPL_f.js index 43983463..3656ece7 100644 --- a/js/Sinks/OUTIMPL_f.js +++ b/js/Sinks/OUTIMPL_f.js @@ -23,6 +23,9 @@ function OUTIMPL_f() { return this.x; } OUTIMPL_f.prototype.get = function OUTIMPL_f() { + var options = { + } + return options; } OUTIMPL_f.prototype.set = function OUTIMPL_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sinks/OUT_f.js b/js/Sinks/OUT_f.js index cd61ebed..be1b1738 100644 --- a/js/Sinks/OUT_f.js +++ b/js/Sinks/OUT_f.js @@ -20,6 +20,9 @@ function OUT_f() { return this.x; } OUT_f.prototype.get = function OUT_f() { + var options = { + } + return options; } OUT_f.prototype.set = function OUT_f() { this.prt = parseFloat((arguments[0]["prt"])) diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index ddb6f956..3d2bec1b 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -27,6 +27,12 @@ function TOWS_c() { return this.x; } TOWS_c.prototype.get = function TOWS_c() { + var options = { + nz:["Size of buffer",this.nz], + varnam:["Scilab variable name",this.varnam], + herit:["Inherit (no:0, yes:1)",this.herit], + } + return options; } TOWS_c.prototype.set = function TOWS_c() { this.nz = parseFloat((arguments[0]["nz"])) diff --git a/js/Sinks/TRASH_f.js b/js/Sinks/TRASH_f.js index 45f077eb..19c2156b 100644 --- a/js/Sinks/TRASH_f.js +++ b/js/Sinks/TRASH_f.js @@ -17,6 +17,9 @@ function TRASH_f() { return this.x; } TRASH_f.prototype.get = function TRASH_f() { + var options = { + } + return options; } TRASH_f.prototype.set = function TRASH_f() { this.x = arg1; diff --git a/js/Sinks/WFILE_f.js b/js/Sinks/WFILE_f.js index 5f9b0db1..35514384 100644 --- a/js/Sinks/WFILE_f.js +++ b/js/Sinks/WFILE_f.js @@ -24,6 +24,13 @@ function WFILE_f() { return this.x; } WFILE_f.prototype.get = function WFILE_f() { + var options = { + in1:["Input Size",this.in1], + fname1:["Output File Name",this.fname1], + frmt1:["Output Format",this.frmt1], + N:["Buffer Size",this.N], + } + return options; } WFILE_f.prototype.set = function WFILE_f() { this.in1 = parseFloat((arguments[0]["in1"])) diff --git a/js/Sinks/WRITEAU_f.js b/js/Sinks/WRITEAU_f.js index 7e4aa19c..4b4caa17 100644 --- a/js/Sinks/WRITEAU_f.js +++ b/js/Sinks/WRITEAU_f.js @@ -25,6 +25,11 @@ function WRITEAU_f() { return this.x; } WRITEAU_f.prototype.get = function WRITEAU_f() { + var options = { + N:["Buffer Size",this.N], + swap:["Swap Mode (0:No, 1:Yes)",this.swap], + } + return options; } WRITEAU_f.prototype.set = function WRITEAU_f() { this.N = parseFloat((arguments[0]["N"])) diff --git a/js/Sinks/WRITEC_f.js b/js/Sinks/WRITEC_f.js index 8d330cec..1e4800a2 100644 --- a/js/Sinks/WRITEC_f.js +++ b/js/Sinks/WRITEC_f.js @@ -25,6 +25,14 @@ function WRITEC_f() { return this.x; } WRITEC_f.prototype.get = function WRITEC_f() { + var options = { + in1:["Input Size",this.in1], + fname1:["Output File Name",this.fname1], + frmt1:["Output Format",this.frmt1], + N:["Buffer Size",this.N], + swap:["Swap Mode (0:No, 1:Yes)",this.swap], + } + return options; } WRITEC_f.prototype.set = function WRITEC_f() { this.in1 = parseFloat((arguments[0]["in1"])) |