*
lsh
7 天以前 0bdae90ac60882b66200925c4fbde405fdb243b3
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();