Renaming files
This commit is contained in:
15
src/Job.ts
Normal file
15
src/Job.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export class Job {
|
||||
pdu: object;
|
||||
perSecond?: number;
|
||||
count?: number;
|
||||
|
||||
constructor(pdu: object, perSecond?: number, count?: number) {
|
||||
this.pdu = pdu;
|
||||
this.perSecond = perSecond;
|
||||
this.count = count;
|
||||
}
|
||||
|
||||
serialize(): string {
|
||||
return JSON.stringify(this);
|
||||
}
|
||||
}
|
@@ -1,9 +0,0 @@
|
||||
export class Job {
|
||||
pdu: object;
|
||||
perSecond?: number;
|
||||
count?: number;
|
||||
|
||||
serialize(): string {
|
||||
return JSON.stringify(this);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user