feat: added record qso dvk

This commit is contained in:
2026-06-04 00:46:35 +02:00
parent 1a425a1b0d
commit a2a29c66d2
24 changed files with 3098 additions and 346 deletions
+103
View File
@@ -43,6 +43,27 @@ export namespace adif {
}
export namespace audio {
export class Device {
id: string;
name: string;
default: boolean;
static createFrom(source: any = {}) {
return new Device(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.id = source["id"];
this.name = source["name"];
this.default = source["default"];
}
}
}
export namespace cat {
export class RigState {
@@ -353,6 +374,36 @@ export namespace lookup {
export namespace main {
export class AudioSettings {
from_radio: string;
to_radio: string;
recording_device: string;
listening_device: string;
qso_record: boolean;
qso_dir: string;
preroll_seconds: number;
ptt_method: string;
ptt_port: string;
format: string;
static createFrom(source: any = {}) {
return new AudioSettings(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.from_radio = source["from_radio"];
this.to_radio = source["to_radio"];
this.recording_device = source["recording_device"];
this.listening_device = source["listening_device"];
this.qso_record = source["qso_record"];
this.qso_dir = source["qso_dir"];
this.preroll_seconds = source["preroll_seconds"];
this.ptt_method = source["ptt_method"];
this.ptt_port = source["ptt_port"];
this.format = source["format"];
}
}
export class BackupSettings {
enabled: boolean;
folder: string;
@@ -397,6 +448,24 @@ export namespace main {
this.digital_default = source["digital_default"];
}
}
export class ClublogCtyInfo {
enabled: boolean;
loaded: boolean;
date: string;
count: number;
static createFrom(source: any = {}) {
return new ClublogCtyInfo(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.enabled = source["enabled"];
this.loaded = source["loaded"];
this.date = source["date"];
this.count = source["count"];
}
}
export class CtyDatInfo {
path: string;
entities: number;
@@ -415,6 +484,40 @@ export namespace main {
this.file_mod_time = source["file_mod_time"];
}
}
export class DVKMessage {
slot: number;
label: string;
has_audio: boolean;
duration_sec: number;
static createFrom(source: any = {}) {
return new DVKMessage(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.slot = source["slot"];
this.label = source["label"];
this.has_audio = source["has_audio"];
this.duration_sec = source["duration_sec"];
}
}
export class DVKStatus {
recording: boolean;
playing: boolean;
rec_slot: number;
static createFrom(source: any = {}) {
return new DVKStatus(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.recording = source["recording"];
this.playing = source["playing"];
this.rec_slot = source["rec_slot"];
}
}
export class DatabaseSettings {
path: string;
default_path: string;