Took 7 hours 48 minutes
This commit is contained in:
2022-11-17 23:29:33 +01:00
parent c81713cd23
commit 03dd0e0fb6
20 changed files with 642 additions and 211 deletions

View File

@ -1,6 +1,7 @@
import {WebSocketPayload} from "./WebSocketPayload";
import {WebSocketEvent} from "./WebSocketEvent";
import {iTender} from "./iTender";
import {Settings} from "./Settings";
export class WebSocketHandler {
private static _ws: WebSocket;
@ -33,4 +34,10 @@ export class WebSocketHandler {
});
}
static sendRunningConfig() {
return new Promise(resolve => {
let payload = new WebSocketPayload(WebSocketEvent.CONFIG, false, Settings.json);
WebSocketHandler.send(payload).then(resolve);
})
}
}