|  |  | 
 |  |  |         String confirmComCode = para.upCode ; | 
 |  |  |         ParseParamsForDownV1_0_1 downCpParams  = new ParseParamsForDownV1_0_1() ; | 
 |  |  |         downCpParams.setValue( | 
 |  |  |                 null, | 
 |  |  |                 ProtocolConstantV206V1_0_0.protocolName, | 
 |  |  |                 para.rtuAddr, | 
 |  |  |                 Command.defaultId, | 
 |  |  | 
 |  |  |      * @throws Exception 异常 | 
 |  |  |      */ | 
 |  |  |     protected void doParse(byte[] bs, int bsLen, String dataCode, Data data) throws Exception { | 
 |  |  |         short index = ProtocolConstantV206V1_0_0.dataIndex ; | 
 |  |  |         byte opType = bs[ProtocolConstantV206V1_0_0.dataIndex]; | 
 |  |  |         if(opType == 1 || opType == 3 || opType == 8){ | 
 |  |  |             this.doParseOpen(opType, bs, bsLen, dataCode, data); | 
 |  |  | 
 |  |  |         cdData.totalAmount += tpInt * 100000000.0 ; | 
 |  |  |  | 
 |  |  |         //用水户号数据格式:5字节BCD码低位在前高位在后。 | 
 |  |  |         cdData.clientNum = ByteUtil.BCD2String_LE(bs, index, index + 4) ; | 
 |  |  |         cdData.icCardNo = ByteUtil.BCD2String_LE(bs, index, index + 4) ; | 
 |  |  |         index += 5 ; | 
 |  |  |  | 
 |  |  |         //IC卡号格式:4字节HEX码低位在前高位在后。 | 
 |  |  |         cdData.clientNum = ByteUtil.bytesToHex(bs, index, index + 3) ; | 
 |  |  |         cdData.icCardNo = ByteUtil.bytesToHex(bs, index, index + 3) ; | 
 |  |  |         index += 4 ; | 
 |  |  |  | 
 |  |  |         //用水户余额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元。 | 
 |  |  | 
 |  |  |         cdData.totalAmount += tpInt * 100000000.0 ; | 
 |  |  |  | 
 |  |  |         //用水户号数据格式:5字节BCD码低位在前高位在后。 | 
 |  |  |         cdData.clientNum = ByteUtil.BCD2String_LE(bs, index, index + 4) ; | 
 |  |  |         cdData.IcCardNo = ByteUtil.BCD2String_LE(bs, index, index + 4) ; | 
 |  |  |         index += 5 ; | 
 |  |  |  | 
 |  |  |         //IC卡号格式:4字节HEX码低位在前高位在后。 | 
 |  |  |         cdData.clientNum = ByteUtil.bytesToHex(bs, index, index + 3) ; | 
 |  |  |         cdData.IcCardNo = ByteUtil.bytesToHex(bs, index, index + 3) ; | 
 |  |  |         index += 4 ; | 
 |  |  |  | 
 |  |  |         //用水户余额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元。 |