feat(labelratio): new feature to monitor label ratio from auto and manual

this was designed more for dayton but could be used for all plants
This commit is contained in:
2025-07-14 10:18:23 -05:00
parent d6232cb358
commit 41308788fd
8 changed files with 156 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import { tryCatch } from "../../../../../../globalUtils/tryCatch.js";
import { createLog } from "../../../../../logger/logger.js";
import { readTags } from "../../../../../rfid/controller/readTags.js";
import { labelingProcess } from "../../../labeling/labelProcess.js";
import { autoLabelCreated } from "../../../labeling/labelRatio.js";
import { stapperFaulted, strapperFaults } from "./strapperFault.js";
export let cameraPalletCheck = 20;
@@ -85,6 +86,7 @@ export const labelerTagRead = async (tagData: any) => {
cameraPalletCheck - currentPalletCheck
}.`
);
autoLabelCreated();
} else {
currentPalletCheck = 0;
createLog(