| | |
| | | |
| | | } |
| | | |
| | | 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(); |