This commit is contained in:
2026-05-26 00:56:08 +02:00
parent 7ace2cc602
commit 7e518ddba3
10 changed files with 51169 additions and 51 deletions
+22
View File
@@ -4,6 +4,8 @@ export namespace adif {
total: number;
imported: number;
skipped: number;
duplicates: number;
duplicate_samples: string[];
errors: string[];
static createFrom(source: any = {}) {
@@ -15,6 +17,8 @@ export namespace adif {
this.total = source["total"];
this.imported = source["imported"];
this.skipped = source["skipped"];
this.duplicates = source["duplicates"];
this.duplicate_samples = source["duplicate_samples"];
this.errors = source["errors"];
}
}
@@ -266,6 +270,24 @@ export namespace main {
}
}
export class RotatorSettings {
enabled: boolean;
host: string;
port: number;
has_elevation: boolean;
static createFrom(source: any = {}) {
return new RotatorSettings(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.enabled = source["enabled"];
this.host = source["host"];
this.port = source["port"];
this.has_elevation = source["has_elevation"];
}
}
export class StartupStatus {
ok: boolean;
err: string;