| | |
| | | rt = this.recoverTcpSv() ; |
| | | }else if(com.equals(CodeLocal.mwState)){ |
| | | rt = this.mwState() ; |
| | | }else if(com.equals(CodeLocal.onLine)){ |
| | | rt = this.mwAllOnLine() ; |
| | | }else if(com.equals("10")){ |
| | | rt = this.cd10() ; |
| | | }else if(com.equals("21")){ |
| | |
| | | return this.sendCom2Mw(this.commandLocal(CodeLocal.mwState, null, null)) ; |
| | | } |
| | | |
| | | private BaseResponse mwAllOnLine(){ |
| | | return this.sendCom2Mw(this.commandLocal(CodeLocal.onLine, null, null)) ; |
| | | } |
| | | |
| | | private BaseResponse cd10(){ |
| | | Com10Vo comVo = new Com10Vo() ; |
| | | comVo.rtuAddr = "532328059995" ;//前6位是行政区划码,后6位是序列号最大是065535 |