From 247010d48f10ebb02a1b98c5df101134e8dab250 Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Fri, 7 Nov 2025 10:08:56 -0600 Subject: [PATCH] fix(plc zeccetti): changes to improve the timing on the zecetti more to be done --- .gitignore | 2 ++ .vscode/launch.json | 14 ++++++++++++++ .../LstV2/EOM/Get Inv.bru | 4 ++-- .../app/forklifts/lease/Get lease.bru | 6 +++++- .../specialProcesses/zechettis/plcController.ts | 2 +- 5 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index aa8d57a..b2f77dd 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,8 @@ controllerBuilds # ignoring the old app that will be built into this one to make deploying faster and more easy as we do the migration lstV2/frontend/.tanstack +mobileLst + # Logs logs *.log diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..e8474ba --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Attach to packager", + "cwd": "${workspaceFolder}", + "type": "reactnative", + "request": "attach" + } + ] +} diff --git a/LogisticsSupportTool_API_DOCS/LstV2/EOM/Get Inv.bru b/LogisticsSupportTool_API_DOCS/LstV2/EOM/Get Inv.bru index 0d3e443..48d5017 100644 --- a/LogisticsSupportTool_API_DOCS/LstV2/EOM/Get Inv.bru +++ b/LogisticsSupportTool_API_DOCS/LstV2/EOM/Get Inv.bru @@ -5,13 +5,13 @@ meta { } get { - url: {{url}}/lst/old/api/eom/histinv?month=2025/11/01 + url: {{url}}/lst/old/api/eom/histinv?month=2025-11-01 body: none auth: inherit } params:query { - month: 2025/11/01 + month: 2025-11-01 } settings { diff --git a/LogisticsSupportTool_API_DOCS/app/forklifts/lease/Get lease.bru b/LogisticsSupportTool_API_DOCS/app/forklifts/lease/Get lease.bru index 17deb0d..7e06873 100644 --- a/LogisticsSupportTool_API_DOCS/app/forklifts/lease/Get lease.bru +++ b/LogisticsSupportTool_API_DOCS/app/forklifts/lease/Get lease.bru @@ -5,11 +5,15 @@ meta { } get { - url: {{url}}/lst/api/forklifts/leases + url: {{url}}/lst/api/forklifts/leases?companyId=b34c6684-ec35-4364-acef-0c1570faf123 body: none auth: inherit } +params:query { + companyId: b34c6684-ec35-4364-acef-0c1570faf123 +} + body:json { { "name":"Delage DLL" diff --git a/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts b/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts index 7708185..165ec7a 100644 --- a/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts +++ b/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts @@ -122,7 +122,7 @@ export const createPlcMonitor = (config: any) => { `Date being sent to labeler: ${JSON.stringify(zechette)}`, ); labelingProcess({ zechette: zechette }); - }, 1000); + }, 150); } }); });