From 700346d80972e464d0a9ba62bba4dc0ed949cdee Mon Sep 17 00:00:00 2001 From: Blake Matthes Date: Sun, 23 Nov 2025 10:55:32 -0600 Subject: [PATCH] refactor(ocp): work around for zechetti 2 until we can monitor more closing currently when 2 pallets from the same line come over at the same time the second one dose not print when running off lst. --- .../ocp/controller/specialProcesses/zechettis/plcController.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts b/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts index 165ec7a..e0c84cf 100644 --- a/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts +++ b/lstV2/server/services/ocp/controller/specialProcesses/zechettis/plcController.ts @@ -83,6 +83,9 @@ export const createPlcMonitor = (config: any) => { setTimeout(async () => { if (tag.value === 0) return; const macId = await getMac(tag.value); + + // temp work around until we can get the zechetti 2 to play nice with lst + if (cfg.id === "Zecchetti_2") return; // const { data, error } = (await tryCatch( // query( // getCurrentLabel