Commit 18206eff authored by Marc Duez's avatar Marc Duez

model.js : getter for export.js

parent df4e9b21
......@@ -711,6 +711,16 @@ Model.prototype = {
}
},
getSampleTime: function(time) {
var value = "unknow"
if (typeof this.samples.timestamp != 'undefined'){
if (typeof this.samples.timestamp[time] != 'undefined'){
value = this.samples.timestamp[time]
}
}
return value;
},
toggle_system: function(system){
if (this.system_available.indexOf(system) != -1) {
var pos = this.system_selected.indexOf(system)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment