liurunyu
5 天以前 66282f3fbc0877c663a8bcecd9a48b483e7efe6b
pipIrr-platform/pipIrr-mw/pipIrr-com-creator/src/main/java/com/dy/pipirrComCreator/p206V1/P206V1Deal.java
@@ -37,21 +37,13 @@
            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);
        }
    }