summaryrefslogtreecommitdiff
path: root/data_structures_correct
diff options
context:
space:
mode:
authorAdhitya Kamakshidasan2016-06-28 22:43:41 +0530
committerGitHub2016-06-28 22:43:41 +0530
commit4bbb1025206f496f80569cc3532c246b8727616d (patch)
tree6568d9221dc05d9973ebacf68ffa668fc814df30 /data_structures_correct
parent33bacf2f7a64562f6921a39c1d11dd9cbe6cc2fc (diff)
parent65c85b041910839994911cfec6d49ef055df75b3 (diff)
downloadxcos-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.js27
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;
+ }
+}