chore: release v0.20.7
This commit is contained in:
@@ -1,3 +1,58 @@
|
||||
export namespace acom {
|
||||
|
||||
export class Status {
|
||||
connected: boolean;
|
||||
port_open: boolean;
|
||||
transport: string;
|
||||
last_error?: string;
|
||||
model?: string;
|
||||
state?: string;
|
||||
operate: boolean;
|
||||
tx: boolean;
|
||||
fwd_w: number;
|
||||
refl_w: number;
|
||||
swr: number;
|
||||
drive_w: number;
|
||||
dc_w: number;
|
||||
temp_c: number;
|
||||
band?: string;
|
||||
fan: number;
|
||||
err_code: number;
|
||||
err_text?: string;
|
||||
nominal_w: number;
|
||||
max_w: number;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new Status(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.connected = source["connected"];
|
||||
this.port_open = source["port_open"];
|
||||
this.transport = source["transport"];
|
||||
this.last_error = source["last_error"];
|
||||
this.model = source["model"];
|
||||
this.state = source["state"];
|
||||
this.operate = source["operate"];
|
||||
this.tx = source["tx"];
|
||||
this.fwd_w = source["fwd_w"];
|
||||
this.refl_w = source["refl_w"];
|
||||
this.swr = source["swr"];
|
||||
this.drive_w = source["drive_w"];
|
||||
this.dc_w = source["dc_w"];
|
||||
this.temp_c = source["temp_c"];
|
||||
this.band = source["band"];
|
||||
this.fan = source["fan"];
|
||||
this.err_code = source["err_code"];
|
||||
this.err_text = source["err_text"];
|
||||
this.nominal_w = source["nominal_w"];
|
||||
this.max_w = source["max_w"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export namespace adif {
|
||||
|
||||
export class ExportResult {
|
||||
|
||||
Reference in New Issue
Block a user