24 lines
590 B
TypeScript
24 lines
590 B
TypeScript
/**
|
|
* @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
|
|
*/
|
|
|
|
import {Map} from './facade/collection';
|
|
import {Date, DateWrapper} from './facade/lang';
|
|
|
|
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
|
|
};
|
|
}
|
|
}
|