first
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
import {main} from '../models';
|
||||
|
||||
export function CheckConnection():Promise<main.DeviceResponse>;
|
||||
|
||||
export function Quit():Promise<void>;
|
||||
|
||||
export function SetFrequency(arg1:string):Promise<string>;
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
// @ts-check
|
||||
// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL
|
||||
// This file is automatically generated. DO NOT EDIT
|
||||
|
||||
export function CheckConnection() {
|
||||
return window['go']['main']['App']['CheckConnection']();
|
||||
}
|
||||
|
||||
export function Quit() {
|
||||
return window['go']['main']['App']['Quit']();
|
||||
}
|
||||
|
||||
export function SetFrequency(arg1) {
|
||||
return window['go']['main']['App']['SetFrequency'](arg1);
|
||||
}
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
export namespace main {
|
||||
|
||||
export class DeviceResponse {
|
||||
status: string;
|
||||
frequency: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new DeviceResponse(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.status = source["status"];
|
||||
this.frequency = source["frequency"];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user