diff options
Diffstat (limited to 'js/Sources/CLOCK_f.js')
-rw-r--r-- | js/Sources/CLOCK_f.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/Sources/CLOCK_f.js b/js/Sources/CLOCK_f.js index b76fb219..65923bd4 100644 --- a/js/Sources/CLOCK_f.js +++ b/js/Sources/CLOCK_f.js @@ -48,6 +48,9 @@ function CLOCK_f() { CLOCK_f.prototype.get = function CLOCK_f() { } CLOCK_f.prototype.set = function CLOCK_f() { + this.dt = parseFloat((arguments[0]["dt"])) + this.t0 = parseFloat((arguments[0]["t0"])) + this.exprs0 = parseFloat((arguments[0]["exprs0"])) for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o = arg1.model.rpar.objs[i-1]; if (typeof(o)=="Block"&&o.gui=="EVTDLY_f") { |