for (var p in res[h]) {
if (p == 'LONGIDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m LONGIDLE' );
+ //print(h + ' ' + Math.floor(res[h][p].total/60000) +'m LONGIDLE' );
totals.idle += idletime;
}
if (p == 'IDLE') {
var idletime = Math.floor(res[h][p].total/60000) ;
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m SHORT IDLE' );
+ //print(h + ' ' + Math.floor(res[h][p].total/60000) +'m SHORT IDLE' );
totals.shortidle += idletime;
}
- print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );
+ //print(h + ' ' + Math.floor(res[h][p].total/60000) +'m ' + p );
totals.work += Math.floor(res[h][p].total/60000) ;
for (var k in res[h][p].items) {