feat(ocp): added zechettis stuff in
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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();
|
||||
};
|
||||
Reference in New Issue
Block a user