summaryrefslogtreecommitdiff
path: root/js/IntegerOp/DFLIPFLOP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r--js/IntegerOp/DFLIPFLOP.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 4504f55d..b8c6a7a5 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -76,20 +76,20 @@ function DFLIPFLOP() {
scs_m.objs[42-1] = scicos_link(xx=[[253.72572],[253.72156]],yy=[[309.29537],[305.95927]],id="drawlink",thick=[0,0],ct=[5,-1],from=[41,1,0],to=[4,1,1]);
scs_m.objs[43-1] = scicos_link(xx=[[253.72572],[312.19705],[312.19705]],yy=[[309.29537],[309.29537],[299.28749]],id="drawlink",thick=[0,0],ct=[5,-1],from=[41,2,0],to=[32,1,1]);
scs_m.objs[44-1] = scicos_link(xx=[[279.98293],[279.98293],[325.53038],[325.53038]],yy=[[372.50232],[315.89455],[315.89455],[299.28749]],id="drawlink",thick=[0,0],ct=[5,-1],from=[2,2,0],to=[32,2,1]);
- model = scicos_model();
- model.sim = "csuper";
- model.in1 = [[1],[1],[1]];
- model.in2 = [[1],[1],[1]];
- model.out = [[1],[1]];
- model.out2 = [[1],[1]];
- model.intyp = [5,1,1];
- model.outtyp = [5,5];
- model.blocktype = "h";
- model.firing = false;
- model.dep_ut = [true,false];
- model.rpar = scs_m;
+ this.model = scicos_model();
+ this.model.sim = new ScilabString("csuper");
+ this.model.in1 = [[1],[1],[1]];
+ this.model.in2 = [[1],[1],[1]];
+ this.model.out = [[1],[1]];
+ this.model.out2 = [[1],[1]];
+ this.model.intyp = [5,1,1];
+ this.model.outtyp = [5,5];
+ this.model.blocktype = new ScilabString("h");
+ this.model.firing = new ScilabBoolean(false);
+ this.model.dep_ut = [true,false];
+ this.model.rpar = new ScilabDouble(scs_m);
gr_i = [];
- this.x = standard_define([2,3],model,[],gr_i);
+ this.x = standard_define([2,3],this.model,[],gr_i);
return new BasicBlock(this.x);
}
DFLIPFLOP.prototype.details = function DFLIPFLOP() {