pota
This commit is contained in:
@@ -973,6 +973,24 @@ export namespace main {
|
||||
}
|
||||
}
|
||||
|
||||
export class POTASyncResult {
|
||||
fetched: number;
|
||||
updated: number;
|
||||
already_tagged: number;
|
||||
unmatched: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new POTASyncResult(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.fetched = source["fetched"];
|
||||
this.updated = source["updated"];
|
||||
this.already_tagged = source["already_tagged"];
|
||||
this.unmatched = source["unmatched"];
|
||||
}
|
||||
}
|
||||
export class QSLDefaults {
|
||||
qsl_sent: string;
|
||||
qsl_rcvd: string;
|
||||
|
||||
Reference in New Issue
Block a user