summaryrefslogtreecommitdiff
path: root/js/Events
diff options
context:
space:
mode:
Diffstat (limited to 'js/Events')
-rw-r--r--js/Events/ANDBLK.js3
-rw-r--r--js/Events/ANDLOG_f.js3
-rw-r--r--js/Events/CLKSOMV_f.js3
-rw-r--r--js/Events/CLKSOM_f.js3
-rw-r--r--js/Events/CLKSPLIT_f.js3
-rw-r--r--js/Events/END_c.js4
-rw-r--r--js/Events/EVTDLY_c.js5
-rw-r--r--js/Events/EVTDLY_f.js5
-rw-r--r--js/Events/EVTGEN_f.js4
-rw-r--r--js/Events/EVTVARDLY.js3
-rw-r--r--js/Events/HALT_f.js4
-rw-r--r--js/Events/IFTHEL_f.js5
-rw-r--r--js/Events/MCLOCK_f.js3
-rw-r--r--js/Events/MFCLCK_f.js5
-rw-r--r--js/Events/M_freq.js5
-rw-r--r--js/Events/VirtualCLK0.js3
-rw-r--r--js/Events/freq_div.js5
17 files changed, 66 insertions, 0 deletions
diff --git a/js/Events/ANDBLK.js b/js/Events/ANDBLK.js
index 440702c1..cfe72604 100644
--- a/js/Events/ANDBLK.js
+++ b/js/Events/ANDBLK.js
@@ -71,6 +71,9 @@ function ANDBLK() {
return this.x;
}
ANDBLK.prototype.get = function ANDBLK() {
+ var options = {
+ }
+ return options;
}
ANDBLK.prototype.set = function ANDBLK() {
this.x = arg1;
diff --git a/js/Events/ANDLOG_f.js b/js/Events/ANDLOG_f.js
index 3c7e4366..8e71e1d9 100644
--- a/js/Events/ANDLOG_f.js
+++ b/js/Events/ANDLOG_f.js
@@ -16,6 +16,9 @@ function ANDLOG_f() {
return this.x;
}
ANDLOG_f.prototype.get = function ANDLOG_f() {
+ var options = {
+ }
+ return options;
}
ANDLOG_f.prototype.set = function ANDLOG_f() {
this.x = arg1;
diff --git a/js/Events/CLKSOMV_f.js b/js/Events/CLKSOMV_f.js
index 58fd04e9..baea70e3 100644
--- a/js/Events/CLKSOMV_f.js
+++ b/js/Events/CLKSOMV_f.js
@@ -16,6 +16,9 @@ function CLKSOMV_f() {
return this.x;
}
CLKSOMV_f.prototype.get = function CLKSOMV_f() {
+ var options = {
+ }
+ return options;
}
CLKSOMV_f.prototype.set = function CLKSOMV_f() {
this.x = arg1;
diff --git a/js/Events/CLKSOM_f.js b/js/Events/CLKSOM_f.js
index 432fa19a..74a102a3 100644
--- a/js/Events/CLKSOM_f.js
+++ b/js/Events/CLKSOM_f.js
@@ -16,6 +16,9 @@ function CLKSOM_f() {
return this.x;
}
CLKSOM_f.prototype.get = function CLKSOM_f() {
+ var options = {
+ }
+ return options;
}
CLKSOM_f.prototype.set = function CLKSOM_f() {
this.x = arg1;
diff --git a/js/Events/CLKSPLIT_f.js b/js/Events/CLKSPLIT_f.js
index bc85c84b..b16b6b61 100644
--- a/js/Events/CLKSPLIT_f.js
+++ b/js/Events/CLKSPLIT_f.js
@@ -15,6 +15,9 @@ function CLKSPLIT_f() {
return this.x;
}
CLKSPLIT_f.prototype.get = function CLKSPLIT_f() {
+ var options = {
+ }
+ return options;
}
CLKSPLIT_f.prototype.set = function CLKSPLIT_f() {
this.x = arg1;
diff --git a/js/Events/END_c.js b/js/Events/END_c.js
index 1dbf3c9c..0d48613d 100644
--- a/js/Events/END_c.js
+++ b/js/Events/END_c.js
@@ -18,6 +18,10 @@ function END_c() {
return this.x;
}
END_c.prototype.get = function END_c() {
+ var options = {
+ tf:["Final simulation time",this.tf],
+ }
+ return options;
}
END_c.prototype.set = function END_c() {
this.tf = parseFloat((arguments[0]["tf"]))
diff --git a/js/Events/EVTDLY_c.js b/js/Events/EVTDLY_c.js
index eda7037f..43dcfa92 100644
--- a/js/Events/EVTDLY_c.js
+++ b/js/Events/EVTDLY_c.js
@@ -20,6 +20,11 @@ function EVTDLY_c() {
return this.x;
}
EVTDLY_c.prototype.get = function EVTDLY_c() {
+ var options = {
+ dt:["Delay",this.dt],
+ ff:["Date of initial output event",this.ff],
+ }
+ return options;
}
EVTDLY_c.prototype.set = function EVTDLY_c() {
this.dt = parseFloat((arguments[0]["dt"]))
diff --git a/js/Events/EVTDLY_f.js b/js/Events/EVTDLY_f.js
index 4d64f615..9163c489 100644
--- a/js/Events/EVTDLY_f.js
+++ b/js/Events/EVTDLY_f.js
@@ -20,6 +20,11 @@ function EVTDLY_f() {
return this.x;
}
EVTDLY_f.prototype.get = function EVTDLY_f() {
+ var options = {
+ dt:["Delay",this.dt],
+ ff:["Date of initial output event",this.ff],
+ }
+ return options;
}
EVTDLY_f.prototype.set = function EVTDLY_f() {
this.dt = parseFloat((arguments[0]["dt"]))
diff --git a/js/Events/EVTGEN_f.js b/js/Events/EVTGEN_f.js
index 935034b5..78b69440 100644
--- a/js/Events/EVTGEN_f.js
+++ b/js/Events/EVTGEN_f.js
@@ -17,6 +17,10 @@ function EVTGEN_f() {
return this.x;
}
EVTGEN_f.prototype.get = function EVTGEN_f() {
+ var options = {
+ tt:["Event Time",this.tt],
+ }
+ return options;
}
EVTGEN_f.prototype.set = function EVTGEN_f() {
this.tt = parseFloat((arguments[0]["tt"]))
diff --git a/js/Events/EVTVARDLY.js b/js/Events/EVTVARDLY.js
index 3a6b2442..09f064a8 100644
--- a/js/Events/EVTVARDLY.js
+++ b/js/Events/EVTVARDLY.js
@@ -19,6 +19,9 @@ function EVTVARDLY() {
return this.x;
}
EVTVARDLY.prototype.get = function EVTVARDLY() {
+ var options = {
+ }
+ return options;
}
EVTVARDLY.prototype.set = function EVTVARDLY() {
this.fir = parseFloat((arguments[0]["fir"]))
diff --git a/js/Events/HALT_f.js b/js/Events/HALT_f.js
index d5ee03d8..053e461c 100644
--- a/js/Events/HALT_f.js
+++ b/js/Events/HALT_f.js
@@ -18,6 +18,10 @@ function HALT_f() {
return this.x;
}
HALT_f.prototype.get = function HALT_f() {
+ var options = {
+ n:["State on halt",this.n],
+ }
+ return options;
}
HALT_f.prototype.set = function HALT_f() {
this.n = parseFloat((arguments[0]["n"]))
diff --git a/js/Events/IFTHEL_f.js b/js/Events/IFTHEL_f.js
index 362abccb..79a67276 100644
--- a/js/Events/IFTHEL_f.js
+++ b/js/Events/IFTHEL_f.js
@@ -22,6 +22,11 @@ function IFTHEL_f() {
return this.x;
}
IFTHEL_f.prototype.get = function IFTHEL_f() {
+ var options = {
+ inh:["Inherit (1: no, 0: yes)",this.inh],
+ nmod:["zero-crossing (0: no, 1: yes)",this.nmod],
+ }
+ return options;
}
IFTHEL_f.prototype.set = function IFTHEL_f() {
this.inh = parseFloat((arguments[0]["inh"]))
diff --git a/js/Events/MCLOCK_f.js b/js/Events/MCLOCK_f.js
index 48fff47b..95bed535 100644
--- a/js/Events/MCLOCK_f.js
+++ b/js/Events/MCLOCK_f.js
@@ -73,6 +73,9 @@ function MCLOCK_f() {
return this.x;
}
MCLOCK_f.prototype.get = function MCLOCK_f() {
+ var options = {
+ }
+ return options;
}
MCLOCK_f.prototype.set = function MCLOCK_f() {
for (i=1;i<=length(arg1.model.rpar.objs);i+=1) {
diff --git a/js/Events/MFCLCK_f.js b/js/Events/MFCLCK_f.js
index e352368c..628444f9 100644
--- a/js/Events/MFCLCK_f.js
+++ b/js/Events/MFCLCK_f.js
@@ -22,6 +22,11 @@ function MFCLCK_f() {
return this.x;
}
MFCLCK_f.prototype.get = function MFCLCK_f() {
+ var options = {
+ dt:["basic period (1/f)",this.dt],
+ nn:["multiply by (n)",this.nn],
+ }
+ return options;
}
MFCLCK_f.prototype.set = function MFCLCK_f() {
this.dt = parseFloat((arguments[0]["dt"]))
diff --git a/js/Events/M_freq.js b/js/Events/M_freq.js
index 95388ba5..437e100b 100644
--- a/js/Events/M_freq.js
+++ b/js/Events/M_freq.js
@@ -19,6 +19,11 @@ function M_freq() {
return this.x;
}
M_freq.prototype.get = function M_freq() {
+ var options = {
+ frequ:["Sample time",this.frequ],
+ offset:["Offset",this.offset],
+ }
+ return options;
}
M_freq.prototype.set = function M_freq() {
this.frequ = parseFloat((arguments[0]["frequ"]))
diff --git a/js/Events/VirtualCLK0.js b/js/Events/VirtualCLK0.js
index 6ceb82fa..15757f71 100644
--- a/js/Events/VirtualCLK0.js
+++ b/js/Events/VirtualCLK0.js
@@ -17,6 +17,9 @@ function VirtualCLK0() {
return this.x;
}
VirtualCLK0.prototype.get = function VirtualCLK0() {
+ var options = {
+ }
+ return options;
}
VirtualCLK0.prototype.set = function VirtualCLK0() {
this.x = arg1;
diff --git a/js/Events/freq_div.js b/js/Events/freq_div.js
index 3aadb372..e034bb84 100644
--- a/js/Events/freq_div.js
+++ b/js/Events/freq_div.js
@@ -111,6 +111,11 @@ function freq_div() {
return this.x;
}
freq_div.prototype.get = function freq_div() {
+ var options = {
+ %ph:["Phase (0 to division factor -1)",%ph],
+ %df:["Division factor",%df],
+ }
+ return options;
}
freq_div.prototype.set = function freq_div() {
%ph = parseFloat((arguments[0]["%ph"]))