2016-08-03 18:00:07 -04:00
|
|
|
/**
|
|
|
|
* @license
|
|
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
|
|
* found in the LICENSE file at https://angular.io/license
|
|
|
|
*/
|
|
|
|
|
2015-05-27 17:57:54 -04:00
|
|
|
export class MeasureValues {
|
2016-08-03 18:00:07 -04:00
|
|
|
constructor(
|
|
|
|
public runIndex: number, public timeStamp: Date, public values: {[key: string]: any}) {}
|
2015-05-27 17:57:54 -04:00
|
|
|
|
|
|
|
toJson() {
|
|
|
|
return {
|
2016-09-19 20:15:57 -04:00
|
|
|
'timeStamp': this.timeStamp.toJSON(),
|
2015-05-27 17:57:54 -04:00
|
|
|
'runIndex': this.runIndex,
|
2016-09-19 20:15:57 -04:00
|
|
|
'values': this.values,
|
2015-05-27 17:57:54 -04:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|