16 lines
415 B
TypeScript
Raw Normal View History

import {Date, DateWrapper} from '@angular/facade/src/lang';
import {Map} from '@angular/facade/src/collection';
export class MeasureValues {
constructor(public runIndex: number, public timeStamp: Date,
public values: {[key: string]: any}) {}
toJson() {
return {
'timeStamp': DateWrapper.toJson(this.timeStamp),
'runIndex': this.runIndex,
'values': this.values
};
}
}