diff options
author | Avi Dutta | 2016-06-30 07:56:44 +0000 |
---|---|---|
committer | Avi Dutta | 2016-06-30 07:56:44 +0000 |
commit | a55c31eefa5afb67a6f5099bcfa9f8af44cb599f (patch) | |
tree | 09d5dbc6b2bf5ef9453f174b1c63062aeac3f55f /data_structures_correct | |
parent | d57bd237edc2a550741afea78f2d2699bc6ea070 (diff) | |
download | xcos-on-web-a55c31eefa5afb67a6f5099bcfa9f8af44cb599f.tar.gz xcos-on-web-a55c31eefa5afb67a6f5099bcfa9f8af44cb599f.tar.bz2 xcos-on-web-a55c31eefa5afb67a6f5099bcfa9f8af44cb599f.zip |
Implement GoToTagVisibility Block
Diffstat (limited to 'data_structures_correct')
-rw-r--r-- | data_structures_correct/GotoTagVisibility.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data_structures_correct/GotoTagVisibility.js b/data_structures_correct/GotoTagVisibility.js new file mode 100644 index 0000000..61eb71c --- /dev/null +++ b/data_structures_correct/GotoTagVisibility.js @@ -0,0 +1,30 @@ +function GotoTagVisibility() { + + GotoTagVisibility.prototype.define = function GotoTagVisibility() { + + var model = scicos_model(); + model.sim = new ScilabString(["gototagvisibility"]); + 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),\"GotoTagVisibility\",sz(1),sz(2));"]); + this.x = new standard_define(new ScilabDouble([2, 2]), model, exprs, gr_i); + return new BasicBlock(this.x); + } + + GotoTagVisibility.prototype.details = function GotoTagVisibility() { + + return this.x; + } +} |