diff options
Diffstat (limited to 'js/Misc/CBLOCK4.js')
-rw-r--r-- | js/Misc/CBLOCK4.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/Misc/CBLOCK4.js b/js/Misc/CBLOCK4.js index 7b3c01f0..45580e52 100644 --- a/js/Misc/CBLOCK4.js +++ b/js/Misc/CBLOCK4.js @@ -25,7 +25,7 @@ function CBLOCK4() { var options = { function_name:["Simulation function",this.function_name], impli:["Is block implicit? (y,n)",this.impli], - in1:["Input ports sizes",this.in1], + in:["Input ports sizes",this.in], it:["Input ports type",this.it], out:["Output port sizes",this.out], ot:["Output ports type",this.ot], @@ -51,7 +51,7 @@ function CBLOCK4() { var ok = true; this.function_name = arguments[0]["function_name"]; this.impli = arguments[0]["impli"]; - this.in1 = arguments[0]["in1"]; + this.in = arguments[0]["in"]; this.it = arguments[0]["it"]; this.out = arguments[0]["out"]; this.ot = arguments[0]["ot"]; @@ -68,7 +68,7 @@ function CBLOCK4() { this.auto0 = arguments[0]["auto0"]; this.depu = parseBoolean(arguments[0]["depu"]); this.dept = parseBoolean(arguments[0]["dept"]); - var lab = [arguments[0]["function_name"], arguments[0]["impli"], arguments[0]["in1"], arguments[0]["it"], arguments[0]["out"], arguments[0]["ot"], arguments[0]["ci"], arguments[0]["co"], arguments[0]["xx"], arguments[0]["z"], arguments[0]["oz"], arguments[0]["rpar"], arguments[0]["ipar"], arguments[0]["opar"], arguments[0]["nmode"], arguments[0]["nzcr"], arguments[0]["auto0"], arguments[0]["depu"], arguments[0]["dept"]]; + var lab = [arguments[0]["function_name"], arguments[0]["impli"], arguments[0]["in"], arguments[0]["it"], arguments[0]["out"], arguments[0]["ot"], arguments[0]["ci"], arguments[0]["co"], arguments[0]["xx"], arguments[0]["z"], arguments[0]["oz"], arguments[0]["rpar"], arguments[0]["ipar"], arguments[0]["opar"], arguments[0]["nmode"], arguments[0]["nzcr"], arguments[0]["auto0"], arguments[0]["depu"], arguments[0]["dept"]]; if (!ok) { break; } @@ -117,7 +117,7 @@ function CBLOCK4() { var tt = []; } var tt = label[2-1]; - var tmpvar0 = set_io(this.model,this.graphics,list(this.in1,this.it),list(this.out,this.ot),this.ci,this.co); + var tmpvar0 = set_io(this.model,this.graphics,list(this.in,this.it),list(this.out,this.ot),this.ci,this.co); this.model = tmpvar0[0]; this.graphics = tmpvar0[1]; var ok = tmpvar0[2]; @@ -166,7 +166,7 @@ function CBLOCK4() { var ary = getData(graphics.exprs); this.function_name = ary[0]; this.impli = ary[1]; - this.in1 = ary[2]; + this.in = ary[2]; this.it = ary[3]; this.out = ary[4]; this.ot = ary[5]; |