diff options
author | Adhitya Kamakshidasan | 2016-06-28 22:43:41 +0530 |
---|---|---|
committer | GitHub | 2016-06-28 22:43:41 +0530 |
commit | 4bbb1025206f496f80569cc3532c246b8727616d (patch) | |
tree | 6568d9221dc05d9973ebacf68ffa668fc814df30 /data_structures_correct | |
parent | 33bacf2f7a64562f6921a39c1d11dd9cbe6cc2fc (diff) | |
parent | 65c85b041910839994911cfec6d49ef055df75b3 (diff) | |
download | xcos-on-web-4bbb1025206f496f80569cc3532c246b8727616d.tar.gz xcos-on-web-4bbb1025206f496f80569cc3532c246b8727616d.tar.bz2 xcos-on-web-4bbb1025206f496f80569cc3532c246b8727616d.zip |
Merge pull request #86 from ASP1234/master
Implement CLKGotoTagVisibility Block
Diffstat (limited to 'data_structures_correct')
-rw-r--r-- | data_structures_correct/CLKGotoTagVisibility.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/data_structures_correct/CLKGotoTagVisibility.js b/data_structures_correct/CLKGotoTagVisibility.js new file mode 100644 index 0000000..d1b5553 --- /dev/null +++ b/data_structures_correct/CLKGotoTagVisibility.js @@ -0,0 +1,27 @@ +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; + } +} |