From 572f2fef124c7e62afb917ef9c596a22724da077 Mon Sep 17 00:00:00 2001 From: Adhitya Kamakshidasan Date: Thu, 28 Jul 2016 21:53:13 +0530 Subject: Support for Maven added --- data_structures_correct/EVTDLY_c.js | 49 ------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 data_structures_correct/EVTDLY_c.js (limited to 'data_structures_correct/EVTDLY_c.js') 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; - } -} -- cgit