summaryrefslogtreecommitdiff
path: root/js/Branching
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 20:21:14 +0530
committerSunil Shetye2018-07-02 21:20:51 +0530
commit5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (patch)
tree15164190cae390d0a701fcd7ce99fa3addb4134c /js/Branching
parent468de187d0ad59613aa73384976b58b78200ae43 (diff)
downloadsci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.gz
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.bz2
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.zip
add set block
Diffstat (limited to 'js/Branching')
-rw-r--r--js/Branching/CLKFROM.js1
-rw-r--r--js/Branching/CLKGOTO.js2
-rw-r--r--js/Branching/CLKGotoTagVisibility.js1
-rw-r--r--js/Branching/DEMUX.js1
-rw-r--r--js/Branching/DEMUX_f.js1
-rw-r--r--js/Branching/ESELECT_f.js3
-rw-r--r--js/Branching/EXTRACTOR.js1
-rw-r--r--js/Branching/FROM.js1
-rw-r--r--js/Branching/FROMMO.js1
-rw-r--r--js/Branching/GOTO.js2
-rw-r--r--js/Branching/GOTOMO.js2
-rw-r--r--js/Branching/GotoTagVisibility.js1
-rw-r--r--js/Branching/GotoTagVisibilityMO.js1
-rw-r--r--js/Branching/ISELECT_f.js2
-rw-r--r--js/Branching/ISELECT_m.js3
-rw-r--r--js/Branching/MUX.js1
-rw-r--r--js/Branching/MUX_f.js1
-rw-r--r--js/Branching/M_SWITCH.js3
-rw-r--r--js/Branching/NRMSOM_f.js1
-rw-r--r--js/Branching/RELAY_f.js2
-rw-r--r--js/Branching/SCALAR2VECTOR.js1
-rw-r--r--js/Branching/SELECT_f.js2
-rw-r--r--js/Branching/SELECT_m.js3
-rw-r--r--js/Branching/SWITCH2.js3
-rw-r--r--js/Branching/SWITCH2_m.js4
-rw-r--r--js/Branching/SWITCH_f.js2
26 files changed, 46 insertions, 0 deletions
diff --git a/js/Branching/CLKFROM.js b/js/Branching/CLKFROM.js
index 34b03f28..d4c061d5 100644
--- a/js/Branching/CLKFROM.js
+++ b/js/Branching/CLKFROM.js
@@ -19,6 +19,7 @@ function CLKFROM() {
CLKFROM.prototype.get = function CLKFROM() {
}
CLKFROM.prototype.set = function CLKFROM() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Branching/CLKGOTO.js b/js/Branching/CLKGOTO.js
index 62601bc4..374ac9f4 100644
--- a/js/Branching/CLKGOTO.js
+++ b/js/Branching/CLKGOTO.js
@@ -20,6 +20,8 @@ function CLKGOTO() {
CLKGOTO.prototype.get = function CLKGOTO() {
}
CLKGOTO.prototype.set = function CLKGOTO() {
+ this.tag = parseFloat((arguments[0]["tag"]))
+ this.tagvis = parseFloat((arguments[0]["tagvis"]))
this.x = arg1;
graphics = arg1.graphics;
model = arg1.model;
diff --git a/js/Branching/CLKGotoTagVisibility.js b/js/Branching/CLKGotoTagVisibility.js
index bb7a5819..aa59d2a5 100644
--- a/js/Branching/CLKGotoTagVisibility.js
+++ b/js/Branching/CLKGotoTagVisibility.js
@@ -25,6 +25,7 @@ function CLKGotoTagVisibility() {
CLKGotoTagVisibility.prototype.get = function CLKGotoTagVisibility() {
}
CLKGotoTagVisibility.prototype.set = function CLKGotoTagVisibility() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/DEMUX.js b/js/Branching/DEMUX.js
index 84c105d6..fdd03c3d 100644
--- a/js/Branching/DEMUX.js
+++ b/js/Branching/DEMUX.js
@@ -21,6 +21,7 @@ function DEMUX() {
DEMUX.prototype.get = function DEMUX() {
}
DEMUX.prototype.set = function DEMUX() {
+ this.out = parseFloat((arguments[0]["out"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/DEMUX_f.js b/js/Branching/DEMUX_f.js
index 3a67be31..5c119c84 100644
--- a/js/Branching/DEMUX_f.js
+++ b/js/Branching/DEMUX_f.js
@@ -21,6 +21,7 @@ function DEMUX_f() {
DEMUX_f.prototype.get = function DEMUX_f() {
}
DEMUX_f.prototype.set = function DEMUX_f() {
+ this.out = parseFloat((arguments[0]["out"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ESELECT_f.js b/js/Branching/ESELECT_f.js
index d8b0519e..b14cfccf 100644
--- a/js/Branching/ESELECT_f.js
+++ b/js/Branching/ESELECT_f.js
@@ -25,6 +25,9 @@ function ESELECT_f() {
ESELECT_f.prototype.get = function ESELECT_f() {
}
ESELECT_f.prototype.set = function ESELECT_f() {
+ this.out = parseFloat((arguments[0]["out"]))
+ this.inh = parseFloat((arguments[0]["inh"]))
+ this.nmod = parseFloat((arguments[0]["nmod"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/EXTRACTOR.js b/js/Branching/EXTRACTOR.js
index b34bd597..e49f6001 100644
--- a/js/Branching/EXTRACTOR.js
+++ b/js/Branching/EXTRACTOR.js
@@ -20,6 +20,7 @@ function EXTRACTOR() {
EXTRACTOR.prototype.get = function EXTRACTOR() {
}
EXTRACTOR.prototype.set = function EXTRACTOR() {
+ this.ind = parseFloat((arguments[0]["ind"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/FROM.js b/js/Branching/FROM.js
index 8a83a721..1f8f9b25 100644
--- a/js/Branching/FROM.js
+++ b/js/Branching/FROM.js
@@ -25,6 +25,7 @@ function FROM() {
FROM.prototype.get = function FROM() {
}
FROM.prototype.set = function FROM() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/FROMMO.js b/js/Branching/FROMMO.js
index cebe0d9b..e115ad8e 100644
--- a/js/Branching/FROMMO.js
+++ b/js/Branching/FROMMO.js
@@ -28,6 +28,7 @@ function FROMMO() {
FROMMO.prototype.get = function FROMMO() {
}
FROMMO.prototype.set = function FROMMO() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GOTO.js b/js/Branching/GOTO.js
index 7f1f241f..e2ad0a6b 100644
--- a/js/Branching/GOTO.js
+++ b/js/Branching/GOTO.js
@@ -25,6 +25,8 @@ function GOTO() {
GOTO.prototype.get = function GOTO() {
}
GOTO.prototype.set = function GOTO() {
+ this.tag = parseFloat((arguments[0]["tag"]))
+ this.tagvis = parseFloat((arguments[0]["tagvis"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GOTOMO.js b/js/Branching/GOTOMO.js
index 8b96c0a1..8f07146f 100644
--- a/js/Branching/GOTOMO.js
+++ b/js/Branching/GOTOMO.js
@@ -28,6 +28,8 @@ function GOTOMO() {
GOTOMO.prototype.get = function GOTOMO() {
}
GOTOMO.prototype.set = function GOTOMO() {
+ this.tag = parseFloat((arguments[0]["tag"]))
+ this.tagvis = parseFloat((arguments[0]["tagvis"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GotoTagVisibility.js b/js/Branching/GotoTagVisibility.js
index 0f514bc2..c3281e81 100644
--- a/js/Branching/GotoTagVisibility.js
+++ b/js/Branching/GotoTagVisibility.js
@@ -25,6 +25,7 @@ function GotoTagVisibility() {
GotoTagVisibility.prototype.get = function GotoTagVisibility() {
}
GotoTagVisibility.prototype.set = function GotoTagVisibility() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/GotoTagVisibilityMO.js b/js/Branching/GotoTagVisibilityMO.js
index f2131e56..2aa6313d 100644
--- a/js/Branching/GotoTagVisibilityMO.js
+++ b/js/Branching/GotoTagVisibilityMO.js
@@ -25,6 +25,7 @@ function GotoTagVisibilityMO() {
GotoTagVisibilityMO.prototype.get = function GotoTagVisibilityMO() {
}
GotoTagVisibilityMO.prototype.set = function GotoTagVisibilityMO() {
+ this.tag = parseFloat((arguments[0]["tag"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ISELECT_f.js b/js/Branching/ISELECT_f.js
index 57ae0ce5..75f6e8ab 100644
--- a/js/Branching/ISELECT_f.js
+++ b/js/Branching/ISELECT_f.js
@@ -23,6 +23,8 @@ function ISELECT_f() {
ISELECT_f.prototype.get = function ISELECT_f() {
}
ISELECT_f.prototype.set = function ISELECT_f() {
+ this.nout = parseFloat((arguments[0]["nout"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/ISELECT_m.js b/js/Branching/ISELECT_m.js
index e49eff82..79160d88 100644
--- a/js/Branching/ISELECT_m.js
+++ b/js/Branching/ISELECT_m.js
@@ -31,6 +31,9 @@ function ISELECT_m() {
ISELECT_m.prototype.get = function ISELECT_m() {
}
ISELECT_m.prototype.set = function ISELECT_m() {
+ this.typ = parseFloat((arguments[0]["typ"]))
+ this.nout = parseFloat((arguments[0]["nout"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js
index cd23e5d7..77e11ce7 100644
--- a/js/Branching/MUX.js
+++ b/js/Branching/MUX.js
@@ -20,6 +20,7 @@ function MUX() {
MUX.prototype.get = function MUX() {
}
MUX.prototype.set = function MUX() {
+ this.in1 = parseFloat((arguments[0]["in1"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/MUX_f.js b/js/Branching/MUX_f.js
index a501fc28..aa468b8d 100644
--- a/js/Branching/MUX_f.js
+++ b/js/Branching/MUX_f.js
@@ -20,6 +20,7 @@ function MUX_f() {
MUX_f.prototype.get = function MUX_f() {
}
MUX_f.prototype.set = function MUX_f() {
+ this.in1 = parseFloat((arguments[0]["in1"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/M_SWITCH.js b/js/Branching/M_SWITCH.js
index 7bfe6570..eae88075 100644
--- a/js/Branching/M_SWITCH.js
+++ b/js/Branching/M_SWITCH.js
@@ -22,6 +22,9 @@ function M_SWITCH() {
M_SWITCH.prototype.get = function M_SWITCH() {
}
M_SWITCH.prototype.set = function M_SWITCH() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.base = parseFloat((arguments[0]["base"]))
+ this.rule = parseFloat((arguments[0]["rule"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/NRMSOM_f.js b/js/Branching/NRMSOM_f.js
index 5b76e535..b889425e 100644
--- a/js/Branching/NRMSOM_f.js
+++ b/js/Branching/NRMSOM_f.js
@@ -20,6 +20,7 @@ function NRMSOM_f() {
NRMSOM_f.prototype.get = function NRMSOM_f() {
}
NRMSOM_f.prototype.set = function NRMSOM_f() {
+ this.nin = parseFloat((arguments[0]["nin"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/RELAY_f.js b/js/Branching/RELAY_f.js
index ef5ffe2d..a052e002 100644
--- a/js/Branching/RELAY_f.js
+++ b/js/Branching/RELAY_f.js
@@ -24,6 +24,8 @@ function RELAY_f() {
RELAY_f.prototype.get = function RELAY_f() {
}
RELAY_f.prototype.set = function RELAY_f() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SCALAR2VECTOR.js b/js/Branching/SCALAR2VECTOR.js
index 2ca90c29..aac90b54 100644
--- a/js/Branching/SCALAR2VECTOR.js
+++ b/js/Branching/SCALAR2VECTOR.js
@@ -19,6 +19,7 @@ function SCALAR2VECTOR() {
SCALAR2VECTOR.prototype.get = function SCALAR2VECTOR() {
}
SCALAR2VECTOR.prototype.set = function SCALAR2VECTOR() {
+ this.nout = parseFloat((arguments[0]["nout"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SELECT_f.js b/js/Branching/SELECT_f.js
index 30d69a48..ce3023cc 100644
--- a/js/Branching/SELECT_f.js
+++ b/js/Branching/SELECT_f.js
@@ -23,6 +23,8 @@ function SELECT_f() {
SELECT_f.prototype.get = function SELECT_f() {
}
SELECT_f.prototype.set = function SELECT_f() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SELECT_m.js b/js/Branching/SELECT_m.js
index 85a20e84..0e804219 100644
--- a/js/Branching/SELECT_m.js
+++ b/js/Branching/SELECT_m.js
@@ -31,6 +31,9 @@ function SELECT_m() {
SELECT_m.prototype.get = function SELECT_m() {
}
SELECT_m.prototype.set = function SELECT_m() {
+ this.typ = parseFloat((arguments[0]["typ"]))
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js
index 51cb8117..8fb48bf5 100644
--- a/js/Branching/SWITCH2.js
+++ b/js/Branching/SWITCH2.js
@@ -26,6 +26,9 @@ function SWITCH2() {
SWITCH2.prototype.get = function SWITCH2() {
}
SWITCH2.prototype.set = function SWITCH2() {
+ this.rule = parseFloat((arguments[0]["rule"]))
+ this.thra = parseFloat((arguments[0]["thra"]))
+ this.nzz = parseFloat((arguments[0]["nzz"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH2_m.js b/js/Branching/SWITCH2_m.js
index 23bec0e1..ba08a2b6 100644
--- a/js/Branching/SWITCH2_m.js
+++ b/js/Branching/SWITCH2_m.js
@@ -29,6 +29,10 @@ function SWITCH2_m() {
SWITCH2_m.prototype.get = function SWITCH2_m() {
}
SWITCH2_m.prototype.set = function SWITCH2_m() {
+ this.ot = parseFloat((arguments[0]["ot"]))
+ this.rule = parseFloat((arguments[0]["rule"]))
+ this.thra = parseFloat((arguments[0]["thra"]))
+ this.nzz = parseFloat((arguments[0]["nzz"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;
diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js
index 14c00805..fff0ed00 100644
--- a/js/Branching/SWITCH_f.js
+++ b/js/Branching/SWITCH_f.js
@@ -23,6 +23,8 @@ function SWITCH_f() {
SWITCH_f.prototype.get = function SWITCH_f() {
}
SWITCH_f.prototype.set = function SWITCH_f() {
+ this.nin = parseFloat((arguments[0]["nin"]))
+ this.z0 = parseFloat((arguments[0]["z0"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;