feat(ocp): added zechettis stuff in
This commit is contained in:
@@ -17,7 +17,6 @@ import { assignedPrinters } from "./utils/checkAssignments.js";
|
||||
import { printerCycle } from "./controller/printers/printerCycle.js";
|
||||
import stopPrinterCycle from "./routes/printers/stopCycle.js";
|
||||
import startPrinterCycle from "./routes/printers/startCycle.js";
|
||||
import { printerCycleAutoLabelers } from "./controller/printers/printerCycleAutoLabelers.js";
|
||||
import AutostartPrinterCycle from "./routes/printers/autoLabelerStart.js";
|
||||
import AutostopPrinterCycle from "./routes/printers/autoLabelerStop.js";
|
||||
import { deleteLabels } from "../../globalUtils/dbCleanUp/labelCleanUp.js";
|
||||
@@ -26,7 +25,8 @@ import labelRatio from "./routes/labeling/getLabelRatio.js";
|
||||
import resetRatio from "./routes/labeling/resetLabelRatio.js";
|
||||
import materialTransferLot from "./routes/materials/lotTransfer.js";
|
||||
import pendingTransfers from "./routes/materials/currentPending.js";
|
||||
import { zechitti1Connect } from "./controller/specialProcesses/zechettis/zechetti1.js";
|
||||
import { createPlcMonitor } from "./utils/plcController.js";
|
||||
import { zechettiConnect } from "./controller/specialProcesses/zechettis/zechettiConnect.js";
|
||||
|
||||
const app = new OpenAPIHono();
|
||||
|
||||
@@ -85,7 +85,7 @@ setTimeout(() => {
|
||||
// if zechetti plc is wanted we will connect
|
||||
setTimeout(() => {
|
||||
if (zechetti[0]?.value === "1") {
|
||||
zechitti1Connect();
|
||||
zechettiConnect();
|
||||
}
|
||||
}, 3 * 1000);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user