liurunyu
2024-05-23 4209a352833999d7fbd1f44aa4da20ea729bea79
pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/p206V202404/parse/Cd_26_Down.java
@@ -55,23 +55,17 @@
            if(cvo == null){
                throw new Exception("json转ComCd22Vo为null") ;
            }
            if(cvo.ipChannel != 1 && cvo.ipChannel !=2){
                throw new Exception("IP通道号只能是1或2") ;
            }
            if(cvo.maxAmountYear < 0 || cvo.maxAmountYear > 99999999){
                throw new Exception("设备终端年用水量必须是0~99999999范围内的整数") ;
            }
            byte[] bs = new byte[15] ;
            byte[] bs = new byte[14] ;
            int index = 0 ;
            bs[index] = (byte)(Integer.parseInt(cvo.controllerType, 16));
            index ++ ;
            bs[index] = cvo.projectNo.byteValue() ;
            index ++ ;
            bs[index] = cvo.ipChannel.byteValue() ;
            index ++ ;
            String strTemp = "" + cvo.maxAmountYear ;