#
1
2025-05-14 dcdfc93b50febf61301832d91dfcddcfa1ca5403
src/main/java/com/zy/core/model/CrnSlave.java
@@ -51,6 +51,23 @@
    }
    public CrnSlave() {
    }
    public CrnSlave(CrnSlave crnSlave) {
        this.setId(crnSlave.getId());
        this.setIp(crnSlave.getIp());
        this.setPort(crnSlave.getPort());
        this.setStaNo(crnSlave.getStaNo());
        this.setDevpPlcId(crnSlave.getDevpPlcId());
        this.rack = crnSlave.getRack();
        this.slot = crnSlave.getSlot();
        this.offset = crnSlave.getOffset();
        this.demo = crnSlave.getDemo();
        this.crnInStn = crnSlave.getCrnInStn();
        this.crnOutStn = crnSlave.getCrnOutStn();
    }
    public void updateCrnInStn(CrnSlave crnSlave){
        crnInStn = crnSlave.getCrnInStn();
        crnOutStn = crnSlave.getCrnOutStn();