diff options
author | Adhitya Kamakshidasan | 2016-07-28 21:53:13 +0530 |
---|---|---|
committer | Adhitya Kamakshidasan | 2016-07-28 21:53:13 +0530 |
commit | 572f2fef124c7e62afb917ef9c596a22724da077 (patch) | |
tree | 6d2be425cc2c89975e3c7f96393c1a55cf305a6a /data_structures_correct/EVTDLY_c.js | |
parent | 1f98bf44777c0669ddb780a9875578593048c5a8 (diff) | |
download | xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.tar.gz xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.tar.bz2 xcos-on-web-572f2fef124c7e62afb917ef9c596a22724da077.zip |
Support for Maven added
Diffstat (limited to 'data_structures_correct/EVTDLY_c.js')
-rw-r--r-- | data_structures_correct/EVTDLY_c.js | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/data_structures_correct/EVTDLY_c.js b/data_structures_correct/EVTDLY_c.js deleted file mode 100644 index 46b336c..0000000 --- a/data_structures_correct/EVTDLY_c.js +++ /dev/null @@ -1,49 +0,0 @@ -function EVTDLY_c() { - - EVTDLY_c.prototype.internal = function EVTDLY_c() { - var dt = 0.1; - var ff = 0.0; - var model = scicos_model(); - model.sim = list(new ScilabString(["evtdly4"]), new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([dt], [ff]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([ff]); - model.dep_ut = new ScilabBoolean([false, false]); - // changed - model.outtyp = new ScilabDouble(); - var exprs = new ScilabString([dt], [ff]); - var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EVTDLY_c\",sz(1),sz(2));"]); - var block = new standard_define(new ScilabDouble([80, 80]), model, exprs, gr_i); // 3,2 -> 80 - block.graphics.style = new ScilabString(["EVTDLY_c"]); - return block; - - } - - EVTDLY_c.prototype.define = function EVTDLY_c() { - this.dt = 0.1; - this.ff = 0.0; - var model = scicos_model(); - model.sim = list(new ScilabString(["evtdly4"]), new ScilabDouble([4])); - model.evtin = new ScilabDouble([1]); - model.evtout = new ScilabDouble([1]); - model.rpar = new ScilabDouble([this.dt], [this.ff]); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([this.ff]); - model.dep_ut = new ScilabBoolean([false, false]); - // changed - model.outtyp = new ScilabDouble(); - var exprs = new ScilabString([this.dt], [this.ff]); - var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"EVTDLY_c\",sz(1),sz(2));"]); - this.x = new standard_define(new ScilabDouble([80, 80]), model, exprs, gr_i); // 3,2 -> 80 - this.x.graphics.style = new ScilabString(["EVTDLY_c"]); - return new BasicBlock(this.x); - - } - - EVTDLY_c.prototype.details = function EVTDLY_c() { - - return this.x; - } -} |