import { createPlcMonitor } from "../../../utils/plcController.js";

export const zechettiConnect = () => {
    const config: any = {
        controllers: [
            {
                id: "Z1",
                ip: "192.168.193.97",
                slot: 0,
                rpi: 250,
                tags: ["N7[0]"],
            },
            {
                id: "Z2",
                ip: "192.168.193.111",
                slot: 0,
                rpi: 100,
                tags: ["N8[0]"],
            },
        ],
    };

    const monitor = createPlcMonitor(config);

    // Start
    monitor.start();
};
