wuyouming666
2024-04-01 c19dc3fb9afc4dfee063225cc38b0a2d5294c5a7
UnLoadGlassModule/src/main/java/com/mes/service/Plchome.java
@@ -8,10 +8,10 @@
@Component
public class Plchome extends Thread {
    private int i = 1;
    private final Supplier<PlcService> plcServiceSupplier;
    private final Supplier<DownGlassLogic> plcServiceSupplier;
    public Plchome() {
        this.plcServiceSupplier = () -> WebSocketServer.applicationContext.getBean(PlcService.class);
        this.plcServiceSupplier = () -> WebSocketServer.applicationContext.getBean(DownGlassLogic.class);
    }
@@ -22,7 +22,7 @@
            try {
                i++;
                Thread.sleep(100);
                PlcService plcService = plcServiceSupplier.get();
                DownGlassLogic plcService = plcServiceSupplier.get();
               // plcService.performPlcActions();
                //plcService.unloadpush();