| | |
| | | case CodeV1.cd_91: cdWithoutParam(new P206V1Cd91(), comList, prtWrt); break; |
| | | case CodeV1.cd_92: cdWithoutParam(new P206V1Cd92(), comList, prtWrt); break; |
| | | case CodeV1.cd_93: cdWithoutParam(new P206V1Cd93(), comList, prtWrt); break; |
| | | case CodeV1.cd_97: cdWithParam(new P206V1Cd97(), comList, prtWrt); break; |
| | | case CodeV1.cd_98: cdWithParam(new P206V1Cd98(), comList, prtWrt); break; |
| | | case CodeV1.cd_99: cdWithParam(new P206V1Cd99(), comList, prtWrt); break; |
| | | case CodeV1.cd_A0: cdWithParam(new P206V1CdA0(), comList, prtWrt); break; |
| | | case CodeV1.cd_A1: cdWithParam(new P206V1CdA1(), comList, prtWrt); break; |
| | | case CodeV1.cd_A2: cdWithParam(new P206V1CdA2(), comList, prtWrt); break; |
| | | default: Command.outNoIdentify(prtWrt); break; |
| | | } |
| | | } |
| | | |
| | | private static void cd02(List<String> comList, PrintWriter prtWrt)throws Exception{ |
| | | P206V1Cd cd = new P206V1Cd02() ; |
| | | if(comList.size() > 1){ |
| | | String p = comList.get(1); |
| | | if(p.equals("-h")){ |
| | | prtWrt.println(cd.helpInfo()); |
| | | }else{ |
| | | Command.outNoIdentify(prtWrt) ; |
| | | } |
| | | }else{ |
| | | Command.out(cd.hex(ServerProperties.rtuAddr), prtWrt); |
| | | } |
| | | } |
| | | |