|  |  |  | 
|---|
|  |  |  | dV1.subData = cdData ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | short index = ProtocolConstantV206V1_0_0.dataIndex ; | 
|---|
|  |  |  | cdData.opType = bs[index] ; | 
|---|
|  |  |  | cdData.opType = (byte)ByteUtil.BCD2Int_LE(bs[index]) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index++ ; | 
|---|
|  |  |  | cdData.cardType = bs[index] ; | 
|---|
|  |  |  | 
|---|
|  |  |  | cdData.cardAddr = ByteUtil.bytes2Hex_LE(bs, false,  index, 4) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index += 4 ; | 
|---|
|  |  |  | //用水户号数据格式:5字节BCD码低位在前高位在后。 | 
|---|
|  |  |  | cdData.cardNo = ByteUtil.BCD2String_LE(bs, index, index + 4) ; | 
|---|
|  |  |  | //用水户号数据格式:8字节低位在前高位在后。 | 
|---|
|  |  |  | cdData.cardNo = GlParse.parseIcCardNo(bs, index) ; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | index += 5 ; | 
|---|
|  |  |  | index += 8 ; | 
|---|
|  |  |  | //用水户余额:用户余额4字节BCD码,取值范围0.00~999999.99,单位为元。 | 
|---|
|  |  |  | int tpInt = ByteUtil.BCD2Int_LE(bs, index, index + 3) ; | 
|---|
|  |  |  | cdData.remainMoney = tpInt/100.0 ; | 
|---|