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";
|
import { createPlcMonitor } from "./plcController.js";
|
||||||
|
|
||||||
export const zechettiConnect = () => {
|
export const zechettiConnect = () => {
|
||||||
const config: any = {
|
const config: any = {
|
||||||
controllers: [
|
controllers: [
|
||||||
{
|
{
|
||||||
id: "Zecchetti_1",
|
id: "Zecchetti_1",
|
||||||
ip: "192.168.193.97",
|
ip: "192.168.193.97",
|
||||||
slot: 0,
|
slot: 0,
|
||||||
rpi: 250,
|
rpi: 250,
|
||||||
printerId: 22, // grabbed from 2.0
|
printerId: 22, // grabbed from 2.0
|
||||||
tags: ["N7[0]"],
|
tags: ["N7[0]"],
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
id: "Zecchetti_2",
|
// id: "Zecchetti_2",
|
||||||
ip: "192.168.193.111",
|
// ip: "192.168.193.111",
|
||||||
slot: 0,
|
// slot: 0,
|
||||||
rpi: 100,
|
// rpi: 100,
|
||||||
printerId: 23,
|
// printerId: 23,
|
||||||
tags: ["N8[0]"],
|
// tags: ["N8[0]"],
|
||||||
},
|
// },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
const monitor = createPlcMonitor(config);
|
const monitor = createPlcMonitor(config);
|
||||||
|
|
||||||
// Start
|
// Start
|
||||||
monitor.start();
|
monitor.start();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user