This commit is contained in:
2026-06-07 02:51:00 +02:00
parent 16c04fc12b
commit 8040a37315
11 changed files with 1150 additions and 224 deletions
+38
View File
@@ -1282,6 +1282,44 @@ export namespace main {
this.my_pota_ref = source["my_pota_ref"];
}
}
export class UltrabeamSettings {
enabled: boolean;
host: string;
port: number;
static createFrom(source: any = {}) {
return new UltrabeamSettings(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.enabled = source["enabled"];
this.host = source["host"];
this.port = source["port"];
}
}
export class UltrabeamStatusInfo {
enabled: boolean;
connected: boolean;
direction: number;
frequency: number;
band: number;
moving: boolean;
static createFrom(source: any = {}) {
return new UltrabeamStatusInfo(source);
}
constructor(source: any = {}) {
if ('string' === typeof source) source = JSON.parse(source);
this.enabled = source["enabled"];
this.connected = source["connected"];
this.direction = source["direction"];
this.frequency = source["frequency"];
this.band = source["band"];
this.moving = source["moving"];
}
}
export class WKMacro {
label: string;
text: string;