diff options
author | ASP1234 | 2016-06-28 10:40:12 +0000 |
---|---|---|
committer | ASP1234 | 2016-06-28 10:40:12 +0000 |
commit | 8815040ee14f3f3adc671cb57b5f4f56992ce05b (patch) | |
tree | 95e0bf1c4cbb3485148e571bd6d95da3cbb922b2 /data_structures_correct | |
parent | a7ad30ee3ddd46886820419a58ec05759a842517 (diff) | |
download | xcos-on-web-8815040ee14f3f3adc671cb57b5f4f56992ce05b.tar.gz xcos-on-web-8815040ee14f3f3adc671cb57b5f4f56992ce05b.tar.bz2 xcos-on-web-8815040ee14f3f3adc671cb57b5f4f56992ce05b.zip |
Implement CLKGotoTagVisibility Block
Diffstat (limited to 'data_structures_correct')
-rw-r--r-- | data_structures_correct/CLKGotoTagVisibility.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/data_structures_correct/CLKGotoTagVisibility.js b/data_structures_correct/CLKGotoTagVisibility.js new file mode 100644 index 0000000..d6a61be --- /dev/null +++ b/data_structures_correct/CLKGotoTagVisibility.js @@ -0,0 +1,26 @@ +function CLKGotoTagVisibility () { + + CLKGotoTagVisibility.prototype.define = function CLKGotoTagVisibility() { + var model = scicos_model(); + model.sim = new ScilabString(["clkgototagvisibility"]); + model.in1 = new ScilabDouble(); + model.in2 = new ScilabDouble(); + model.out = new ScilabDouble(); + model.out2 = new ScilabDouble(); + model.evtin = new ScilabDouble(); + model.intyp = new ScilabDouble([1]); + model.outtyp = new ScilabDouble([1]); + model.opar=list(new ScilabString(["A"])); + model.blocktype = new ScilabString(["c"]); + model.firing = new ScilabBoolean([false]); + model.dep_ut = new ScilabBoolean([false,false]); + + var exprs = new ScilabString(["A"]); + var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"CLKGotoTagVisibility\",sz(1),sz(2));"]); + this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i); + return new BasicBlock(this.x); + } + CLKGotoTagVisibility.prototype.details = function CLKGotoTagVisibility() { + return this.x; + } +} |