2016-08-03 12:32:26 -07:00
|
|
|
import {Date, DateWrapper} from '@angular/facade/src/lang';
|
|
|
|
|
import {Map} from '@angular/facade/src/collection';
|
2015-05-27 14:57:54 -07:00
|
|
|
|
|
|
|
|
export class MeasureValues {
|
2016-04-12 09:40:37 -07:00
|
|
|
constructor(public runIndex: number, public timeStamp: Date,
|
|
|
|
|
public values: {[key: string]: any}) {}
|
2015-05-27 14:57:54 -07:00
|
|
|
|
|
|
|
|
toJson() {
|
|
|
|
|
return {
|
|
|
|
|
'timeStamp': DateWrapper.toJson(this.timeStamp),
|
|
|
|
|
'runIndex': this.runIndex,
|
|
|
|
|
'values': this.values
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|