fix: QSL Manager properly calculating new slot (Digi modes are grouped together)
This commit is contained in:
@@ -3659,6 +3659,24 @@ export namespace qso {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
export class SlotStats {
|
||||
slots_worked: number;
|
||||
slots_confirmed: number;
|
||||
dxcc_worked: number;
|
||||
dxcc_confirmed: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new SlotStats(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.slots_worked = source["slots_worked"];
|
||||
this.slots_confirmed = source["slots_confirmed"];
|
||||
this.dxcc_worked = source["dxcc_worked"];
|
||||
this.dxcc_confirmed = source["dxcc_confirmed"];
|
||||
}
|
||||
}
|
||||
export class Stats {
|
||||
total: number;
|
||||
unique_calls: number;
|
||||
|
||||
Reference in New Issue
Block a user