refactor(ocp): removed zechetti 2 from this silly thing for now
This commit is contained in:
@@ -1,29 +1,29 @@
|
||||
import { createPlcMonitor } from "./plcController.js";
|
||||
|
||||
export const zechettiConnect = () => {
|
||||
const config: any = {
|
||||
controllers: [
|
||||
{
|
||||
id: "Zecchetti_1",
|
||||
ip: "192.168.193.97",
|
||||
slot: 0,
|
||||
rpi: 250,
|
||||
printerId: 22, // grabbed from 2.0
|
||||
tags: ["N7[0]"],
|
||||
},
|
||||
{
|
||||
id: "Zecchetti_2",
|
||||
ip: "192.168.193.111",
|
||||
slot: 0,
|
||||
rpi: 100,
|
||||
printerId: 23,
|
||||
tags: ["N8[0]"],
|
||||
},
|
||||
],
|
||||
};
|
||||
const config: any = {
|
||||
controllers: [
|
||||
{
|
||||
id: "Zecchetti_1",
|
||||
ip: "192.168.193.97",
|
||||
slot: 0,
|
||||
rpi: 250,
|
||||
printerId: 22, // grabbed from 2.0
|
||||
tags: ["N7[0]"],
|
||||
},
|
||||
// {
|
||||
// id: "Zecchetti_2",
|
||||
// ip: "192.168.193.111",
|
||||
// slot: 0,
|
||||
// rpi: 100,
|
||||
// printerId: 23,
|
||||
// tags: ["N8[0]"],
|
||||
// },
|
||||
],
|
||||
};
|
||||
|
||||
const monitor = createPlcMonitor(config);
|
||||
const monitor = createPlcMonitor(config);
|
||||
|
||||
// Start
|
||||
monitor.start();
|
||||
// Start
|
||||
monitor.start();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user