Took 4 hours 31 minutes
This commit is contained in:
2022-11-22 00:01:03 +01:00
parent 569f42c686
commit d6c219beb7
22 changed files with 272 additions and 17 deletions

View File

@ -43,6 +43,11 @@ router.ws('/', async (ws, req, next) => {
log(msg);
switch (msg.event) {
case WebSocketEvent.FILL : {
iTender.setStatus(iTenderStatus.FILLING);
break;
}
case WebSocketEvent.TARE: {
if (msg.data["state"] == true) {
iTender.toggleTare(true);